body {
    font-family: Inter, Pretendard, sans-serif !important;
}

html {
    font-size: 16px;
}

.hide {
    display: none;
}

.no-data {
    padding: 30px !important;
    text-align: center;
}

.cursor-pointer {
    cursor: pointer;
}

.training-programs .input-group {
    margin-top: 10px;
}

/*.radar_chart_container {min-height: 230px;max-height: 370px}*/
.radar_chart_container {
    min-height: 700px;
    max-height: 700px;
    padding: 50px;
}

.history-chart {
    max-height: 450px;
}

/*.wrap-table{min-height:480px}*/

.history-chart {
    position: relative;
}

.color-chart {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 12px;
}

.color-chart p {
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin-left: 10px;
}

.color-chart p span {
    display: inline-block;
    vertical-align: middle;
    width: 12px;
    height: 12px;
    background-color: #dedede;
    content: "";
}

.color-chart .enough {
    border: 2px solid #dedede;
    box-sizing: border-box;
    background-color: #fff;
}

.test-loading .swal2-modal {
    background-color: transparent !important;
}

.test-loading .swal2-modal .swal2-loader {
    border-color: #7affeb rgba(0, 0, 0, 0) #7affeb rgba(0, 0, 0, 0);
}

.datepicker .date {
    font-size: 16px !important;
}

.calendars-container {
    position: absolute;
    left: 0 !important;
    right: auto !important;
}

.brayden-popup {
    width: 600px;
    height: 195px;
    padding: 24px 30px 24px 30px;
    border-radius: 20px !important;
    color: #333 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
}

.brayden-popup .swal2-title {
    /* margin-bottom:1em;
    font-size:1.2em;
    color:#000*/
    color: #333;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    text-align: left !important;
}

.brayden-popup .swal2-title {
    padding: 0;
    margin-bottom: 22px;
}

.brayden-popup .swal2-html-container {
    margin: 0 0 1.5em;
}

.brayden-popup .swal2-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

.brayden-popup .swal2-actions button {
    /*min-width: 60px;*/
    height: 100%;
    display: inline-block;
    padding: 4px 14px !important;
    justify-content: center;
    align-items: center;
    gap: 6px;

    color: #fff !important;
    font-size: 24px !important;
    font-style: normal;
    font-weight: 600 !important;

    border-radius: 10px !important;

    white-space: nowrap;
}

.brayden-popup .swal2-confirm {
    margin-left: 10px;
    background: #0061f2;
}

.brayden-popup .swal2-confirm:hover {
    margin-left: 10px;
    background: #0061f2 !important;
}

.brayden-popup .swal2-cancel {
    background: #666;
}

.brayden-popup .swal2-cancel:hover {
    background: #666 !important;
}

#contents.responsive {
    min-width: auto !important;
}

#contents.responsive .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.sdl-confirm {
    border-radius: 20px;
    padding: 30px;
}

.sdl-confirm .swal2-title {
    padding: 0;
    font-family: "Inter";
    font-size: 24px;
    font-weight: 600;
    line-height: 31.92px;
    color: #000;
    text-align: left;
}

.sdl-confirm.feedback .swal2-title {
    text-align: center;
    margin-top: 10px;
}

.sdl-confirm .swal2-actions {
    margin-top: 20px;
    width: 100%;
    justify-content: flex-end;
    gap: 10px;
}

.sdl-confirm .btn {
    height: 42px;
    display: inline-flex;
    padding: 4px 14px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 600;
    line-height: 26.6px;
    color: #fff;
}

.sdl-confirm .btn:hover {
    color: #fff;
}

.sdl-confirm .btn.confirm {
    background: #0061f2;
    width: 100px;
    height: 50px;
}

.btn:focus-visible {
    color: #fff !important;
}

@media (min-width: 480px) {
    .sdl-confirm .btn.confirm {
        background: #0061f2;
        width: 150px;
        height: 50px;
    }
}

.sdl-confirm .btn.cancel {
    background: #666;
    height: 50px;
}

.sdl-confirm .swal2-icon {
    border: none;
    display: flex;
    margin: 0 auto;
    height: auto;
}

.preview {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border: 1px solid #ddd;
    margin-top: 10px;
    display: block;
}

.preview_div {
    position: relative;
    display: inline-block;
}

.preview_cancel {
    position: absolute;
    top: 0;
    right: -10px;
}

.pointer {
    cursor: pointer;
}

.card {
    border-radius: 0 !important;
}

.list-group {
    border-radius: 0 !important;
}

.list-group-item {
    border-radius: 0 !important;
}

.btn-close {
    border-radius: 0 !important;
}

.modal-header {
    border-bottom: none !important;
}

.modal-footer {
    border-top: none !important;
}

.info {
    margin-top: 3px;
    margin-bottom: 0;
    font-size: 14px;
    list-style-type: none;
    padding: 3px;
    color: #495057;
}

.info + .info {
    margin-top: -3px;
}

.info li {
    display: inline-flex;
    background-color: #f1f1f1;
    padding-left: 5px;
    padding-right: 5px;
}

label.disabled {
    color: #ccc;
}

input::placeholder {
    color: #999 !important;
}

.date-field.open {
    border-bottom-color: #eee !important;
}

.chip-box {
    display: flex;
    gap: 8px;
}

.badge {
    display: inline-flex !important;
    padding: 2px 8px !important;
    height: 25px;
    justify-content: center;
    align-items: center;
    background-color: #f85402;
    color: #fff;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    white-space: nowrap;
}

.container {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

/* button {
    border: none;
} */

.btn-group {
    gap: 10px;
}

.btn {
    border-radius: 10px !important;
}

.button {
    border-radius: 10px;
    background: #0061f2;
    padding: 0 14px;
    color: white;
    height: 50px;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.button svg {
    height: 16px;
    width: auto;
}

.button.h-40 {
    height: 40px;
}

/* 테이블 공통 */
.table > :not(caption) > * > th {
    height: 56px;
}

.wrap-table .table {
    min-width: 1500px;
    font-size: 18px;
    color: #333;
    table-layout: fixed;
}

.table-field th {
    vertical-align: middle;
}

.table > :not(caption) > * > * {
    padding: 10px 10px !important;
    height: 55px;
    vertical-align: middle;
    /* text-overflow: ellipsis;*/
    overflow: hidden;
}

.table > tbody > * > * {
    text-overflow: ellipsis;
}

.table tr.is-actived td {
    color: #bdbdbd;
}

.table > :not(caption) > *.on > * {
    --bs-table-bg-state: rgba(0, 0, 0, 0.075);
}

.table > :not(caption) > * > th {
    border: none;
}

.table > :not(caption) > * > th:first-child {
    overflow: hidden;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.table > :not(caption) > * > th:last-child {
    overflow: hidden;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.table .form-check-input[type="checkbox"] {
    margin-right: 5px;
    margin-top: 0;
    transform: translateY(2px);
}

/* /front 페이지 필터 tippy 에 영향이 있어 임시 주석 처리 - june */
/* 논의 필요 */
/* .table-hover > tbody > tr div[data-tippy-root] {
    background: none !important;
}

div[data-tippy-root] > * {
    transform: translate(50%, 35%) !important;
    white-space: nowrap;
}

.table-hover > tbody > tr:hover div[data-tippy-root] {
    background: none !important;
    box-shadow: none !important;
} */

.wrap-table .table td,
.wrap-table .table th {
    white-space: nowrap;
}

.wrap-table .table th {
    background-color: #f5f5f5 !important;
    color: #333333 !important;
}

.actions {
    margin-bottom: 20px;
    position: relative;
}

.actions input {
    height: 50px;
}

.actions .d-flex {
    gap: 10px;
}

/*TODO: import bootstratp and customize variables*/
.form-check-input:focus {
    box-shadow: none !important;
}

.form-switch .form-check-input {
    margin-top: 0 !important;
    background-color: #999;
    border-color: #999;
    width: 52px !important;
    height: 28px !important;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,1.0)'/></svg>") !important;
}

.form-switch .form-check-input:focus {
    border-color: #999;
    outline: 0;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,1.0)'/></svg>") !important;
}

.form-switch .form-check-input:checked {
    background-color: #fd1708;
    border-color: #fd1708;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,1.0)'/></svg>") !important;
}

.form-check-input.partially-selected,
.form-check-input.partially-selected:checked[type="checkbox"] {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAnCAYAAACMo1E1AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGiSURBVHgB7ZhhSsMwFMf/KQ4UdEzwAL2B7rMfnCdwnsCWeYB5AtkN5gmWncAdYfvgZ+cJ7AEEyxQExxJfmtXNFuoodX1Cf9ASkkB/fS8J7QMYIzJHr99aULiAVi2a6lJPA8UQ0jWFEFOonTvIvQAby3kfLsR8QK0WtoGAhKr1kpJpuc77FZTqo7gobUoIDR+yPoo7fsp1Zm1K4z1KxfEw2B+a1krOpvIR249YEopgrWlS7Hx3OfNblC+GyMGu92XkbNSewQktzm3kxGcX3BCqvUyrOAY/zuI1dwJ2CDeW47ARkjQcMKaSy0sllxfWcjubTPJOa3CPBIokeNGQD/PMOb/KGbFBZxd/RZbg/05r/GZlpNU+0Z9pMKQ6SvJSyeWlkstLLBeCH2H8gxOAH9OlnJqAHfrJymlnBG5o1bdy8mBM9zG4YEpi8nCtVqIXPlhsDB1CLXqmtZIjU6qP3aBstPAjFyTPOVmXJHiJUiKoU8XD9CFsBvWiSZOH2B5j2gDNKDhrZH9Beq9UGnO6ttCjqZ4iCipbaJOZgK5JdFLYDZniCy4sftUvs8GrAAAAAElFTkSuQmCC");
    background-size: 20px auto;
}

.modal-header {
    border: none !important;
}

.modal-footer {
    border: none !important;
}

swiper-container {
    height: 100%;
}

swiper-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

swiper-container::part(pagination) {
    width: auto;
    display: inline-flex;
    padding: 2px 8px 1px 8px;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 99999px;
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    bottom: auto;
    font-size: 14px;
    font-weight: 500;
}

swiper-container swiper-slide {
    overflow: hidden;
}

.slide-wrapper {
    position: relative;
}

.slide-wrapper .custom-next,
.slide-wrapper .custom-prev {
    background: none;
    padding: 0;
    position: absolute;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
}

.slide-wrapper .custom-next.swiper-button-disabled,
.slide-wrapper .custom-prev.swiper-button-disabled {
    opacity: 0.3;
}

.slide-wrapper .custom-next {
    right: 5px;
}

.slide-wrapper .custom-prev {
    left: 5px;
}

/*TODO: 페이지네이션 스타일 커스텀*/
.pagination-nav {
    box-shadow: none !important;
    gap: 10px !important;
}

.pagination-nav .active {
    color: #000000 !important;
    border-radius: 10px !important;
    background-color: #f5f5f5 !important;
}

.pagination-nav .number {
    color: #000000 !important;
    font-size: 20px;
    font-weight: 600;
}

.pagination-nav .option {
    display: flex !important;
    width: 50px !important;
    height: 50px !important;
    justify-items: center !important;
    align-items: center !important;
}

.pagination-nav .option:hover {
    background-color: transparent !important;
}

.pagination-nav .option.active:hover {
    background-color: #f5f5f5 !important;
}

.pagination-nav .option.next.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-nav .option.prev.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.custom-select-wrapper select + * {
    /* visibility: hidden;*/
}

.custom-select-wrapper select.edit + * {
    visibility: visible;
}

.scroll-wrapper {
    position: relative;
}

.shadow-left::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0)
    );
    z-index: 1;
    pointer-events: none;
}

.shadow-right::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0)
    );
    z-index: 1;
    pointer-events: none;
}

.no-data-text-style {
    color: #666;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
}
