.login-page {
    background: #F5F5F5;
}

.login-page-header-img {
    width: 140px;
    height: 115px;
}

.login-page-header-text {
    margin-top: 8px;
    margin-bottom: 39px;
    font-family: Pretendard, serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
    text-align: center;
    color: #222222;
}

.login-box {
    width: 600px !important;
    height: auto;
    margin-bottom: 115px;
}

.login-page-box {
    box-shadow: 0 0 0;
}

.login-page-body {
    padding: 32px !important;
}

.login-page-label {
    font-family: Pretendard, serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    letter-spacing: 0 !important;
}

.login-top-text {
    font-family: Pretendard, serif !important;
    font-weight: 400;
    font-size: 18px;
}

.login-top-text-active {
    font-family: Pretendard, serif !important;
    font-weight: 600;
    font-size: 18px;
}

.login-page-input {
    font-family: Pretendard, serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    letter-spacing: 0 !important;
}

/* 카드 안에 들어가는 로고 */
.login-page-logo {
    width: auto;
    height: 34px;
}

/* 카드 안 기본 버튼보다 높은 로그인 버튼 (.btn-afternoon 의 height 36px 을 덮는다) */
.btn.login-page-btn {
    height: 48px !important;
}

/* 로그인 버튼 아래 안내 문구 박스 */
.login-page-notice {
    padding: 12px 16px;
    border-radius: 4px;
    background: #F5F5F5;
    font-family: Pretendard, serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #9E9E9E;
}

/* 카드 우측 하단 텍스트 링크 (계정 찾기) */
.login-page-link {
    padding: 0 !important;
    color: #00CE90 !important;
    font-family: Pretendard, serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    text-decoration: none !important;
}

.login-page-link:hover {
    color: #03A170 !important;
}

.form-control {
    height: 42px !important;
    color: #222222 !important;
    font-family: Pretendard, serif !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #00CE90;
    outline: 0;
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
}

.form-control:disabled, .form-control[readonly] {
    background-color: #F5F5F5 !important;
    border: 1px solid #BDBDBD !important;
    color: #757575 !important;
}

textarea.form-control {
    height: auto !important;
}

.btn {
    padding-right: 16px !important;
    padding-left: 16px !important;
    font-family: Pretendard, serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
}

.btn-afternoon {
    height: 36px !important;
    min-width: 100px !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
    color: #fff;
    background-color: #00CE90;
    border-color: #00CE90;
    box-shadow: none;
    font-family: Pretendard, serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
    text-align: center !important;
}

.btn-afternoon:hover {
    color: #fff;
    background-color: #03A170;
    border-color: #03A170;
}

.btn-afternoon:focus, .btn-afternoon.focus {
    color: #fff;
    background-color: #03A170;
    border-color: #03A170;
    box-shadow: 0 0 0 0 rgba(0, 206, 100, 0.5);
}

.btn-afternoon.disabled, .btn-afternoon:disabled {
    color: #fff;
    background-color: #00CE90;
    border-color: #00CE90;
}

.btn-afternoon:not(:disabled):not(.disabled):active, .btn-afternoon:not(:disabled):not(.disabled).active,
.show > .btn-afternoon.dropdown-toggle {
    color: #fff;
    background-color: #03A170;
    border-color: #03A170;
}

.btn-afternoon:not(:disabled):not(.disabled):active:focus, .btn-afternoon:not(:disabled):not(.disabled).active:focus,
.show > .btn-afternoon.dropdown-toggle:focus {
    box-shadow: 0 0 0 0 #00CE90;
}

.btn-afternoon-fit {
    color: #fff;
    background-color: #00CE90;
    border-color: #00CE90;
}

.btn-afternoon-fit:hover {
    color: #fff;
    background-color: #03A170;
    border-color: #03A170;
}

.btn-afternoon-fit:focus, .btn-afternoon-fit.focus {
    color: #fff;
    background-color: #03A170;
    border-color: #03A170;
    box-shadow: 0 0 0 0 rgba(0, 206, 100, 0.5);
}

.btn-afternoon-fit.disabled, .btn-afternoon-fit:disabled {
    color: #fff;
    background-color: #00CE90;
    border-color: #00CE90;
}

.btn-afternoon-fit:not(:disabled):not(.disabled):active, .btn-afternoon-fit:not(:disabled):not(.disabled).active,
.show > .btn-afternoon-fit.dropdown-toggle {
    color: #fff;
    background-color: #03A170;
    border-color: #03A170;
}

.btn-afternoon-fit:not(:disabled):not(.disabled):active:focus, .btn-afternoon-fit:not(:disabled):not(.disabled).active:focus,
.show > .btn-afternoon-fit.dropdown-toggle:focus {
    box-shadow: 0 0 0 0 #00CE90;
}

.btn-afternoon-plus-minus {
    color: #fff;
    background-color: #00CE90;
    border-color: #00CE90;
}

.btn-afternoon-plus-minus:hover {
    color: #fff;
    background-color: #03A170;
    border-color: #03A170;
}

.btn-afternoon-plus-minus:focus, .btn-afternoon-plus-minus.focus {
    color: #fff;
    background-color: #03A170;
    border-color: #03A170;
    box-shadow: 0 0 0 0 rgba(0, 206, 100, 0.5);
}

.btn-afternoon-plus-minus.disabled, .btn-afternoon-plus-minus:disabled {
    color: #fff;
    background-color: #E0E0E0;
    border-color: #E0E0E0;
}

.btn-afternoon-plus-minus:not(:disabled):not(.disabled):active, .btn-afternoon-plus-minus:not(:disabled):not(.disabled).active,
.show > .btn-afternoon-plus-minus.dropdown-toggle {
    color: #fff;
    background-color: #03A170;
    border-color: #03A170;
}

.btn-afternoon-plus-minus:not(:disabled):not(.disabled):active:focus, .btn-afternoon-plus-minus:not(:disabled):not(.disabled).active:focus,
.show > .btn-afternoon-plus-minus.dropdown-toggle:focus {
    box-shadow: 0 0 0 0 #00CE90;
}

.nav-logo-img {
    width: 130px;
    margin: 16px;
}

.navbar-afternoon {
    height: 57px !important;
    border-bottom: 0 !important;
    background-color: #00CE90;
    color: #101010;
    margin-left: 0 !important;
}

.navbar-p-afternoon {
    height: 57px !important;
    border-bottom: 0 !important;
    background-color: #FFFFFF;
    color: #101010;
    margin-left: 0 !important;
    border-bottom: 1px solid #EEEEEE !important;
}

.main-sidebar {
    margin-top: 57px !important;
}

.content-wrapper {
    margin-top: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 57px !important;
}

.content-p-wrapper {
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 57px !important;
}

.nav-link-user-info {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.nav-user-info {
    height: 100%;
    background: #FFFFFF;
    border-radius: 30px;
    padding-right: 16px;
    padding-left: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #222222;
    font-family: Pretendard, serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}

.nav-p-user-info {
    height: 100%;
    background: #00CE90;
    border-radius: 30px;
    padding-right: 16px;
    padding-left: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    font-family: Pretendard, serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}

.nav-user-info-noti-icon {
    font-size: 14px;
    padding-right: 8px;
    color: #222222;
    font-weight: 600;
}

.nav-user-info-name {
    padding-left: 8px;
    padding-right: 8px;
    font-weight: 500;
}

.nav-user-info-angle {
    padding-left: 8px;
    color: #222222;
}

.nav-p-user-info-angle {
    padding-left: 8px;
    color: #FFFFFF;
}

.nav-user-info-badge {
    right: 0;
    top: -4px;
    background-color: rgba(220, 53, 69, 0.8);
}

/* TRIAL 상단바 알림 버튼 */
.nav-t-noti-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #EEEEEE;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #222222;
    font-size: 18px;
}

/* TRIAL 상단바 계정 정보 (흰 배경 + 초록 테두리) */
.nav-t-user-info {
    height: 40px;
    background: #FFFFFF;
    border: 1px solid #00CE90;
    border-radius: 8px;
    padding-right: 12px;
    padding-left: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #222222;
    font-family: Pretendard, serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}

/* 계정 정보 앞에 붙는 권한(PI / CRC) 배지 */
.nav-t-user-badge {
    padding: 2px 8px;
    border-radius: 4px;
    background: #E5FAF3;
    color: #00CE90;
    font-family: Pretendard, serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
}

.nav-t-user-info-angle {
    padding-left: 8px;
    color: #222222;
}

.nav-sidebar > .nav-item > .nav-link {
    display: flex;
    align-items: center;
    height: 48px;
    text-decoration: none;
}

.nav-sidebar > .nav-item > .nav-link > .nav-icon {
    width: 20px !important;
    height: 20px !important;
    margin-left: 1rem !important;
    margin-right: 0.5rem !important;
    margin-bottom: 2px !important;
}

.nav-sidebar .nav-link > .right, .nav-sidebar .nav-link > p > .right {
    top: 1rem !important;
}

.nav-sidebar > .nav-item > .nav-link > p,
.nav-treeview > .nav-item > .nav-link > p {
    font-family: Pretendard, serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #222222 !important;
}


.nav-sidebar > .nav-item > .nav-link:hover,
.nav-treeview > .nav-item > .nav-link:hover,
.nav-sidebar > .nav-item.menu-open:hover > .nav-link {
    background-color: #EEEEEE !important;
    color: #222222 !important;
}

.nav-sidebar > .nav-item > .nav-link:hover > p,
.nav-treeview > .nav-item > .nav-link:hover > p {
    font-family: Pretendard, serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    color: #222222 !important;
}

.nav-sidebar > .nav-item > .nav-link.active {
    background-color: #00CE90 !important;
    color: #FFF !important;
}

.nav-sidebar > .nav-item > .nav-link.active > p {
    color: #FFF !important;
}

.nav-sidebar > .nav-item.menu-open > .nav-link {
    background-color: transparent !important;
}

.vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events: none;
}

.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width: inherit;
    max-width: inherit; /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height: inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
    font-family: Pretendard, serif;
}

.logout-msg {
    font-weight: 600;
    font-size: 24px;
    line-height: 140%;
}

.alert-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 140%;
}

.alert-message {
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
}

.modal-body > .form-group > label {
    font-family: Pretendard, serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}

.modal-body > .form-group > input {
    font-family: Pretendard, serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.hospital_search_table > tbody > tr > .dt-empty:hover {
    background-color: #FFF;
}

.dt-scroll-body:has(.hospital_search_table) {
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    overflow-x: hidden !important;
}

.content-wrapper {
    background: #FFF !important;
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-wrapper > input {
    padding-right: 60px;
}

.search-button {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: end;
}

.search-button ion-icon {
    font-size: 20px;
}

.view-label {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 17px;
    left: 0;
    background-color: #00CE90;
    transform: translateY(-50%);
    text-align: center;
    font-family: Pretendard, serif;
    font-weight: 800;
    font-size: 24px;
    color: #FFFFFF;
}

.view-button {
    position: absolute;
    top: 26px;
    right: 2px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: end;
}

.view-button ion-icon {
    font-size: 32px;
    color: #FFFFFF;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: end;
}

.close-button ion-icon {
    font-size: 22px;
}

.search-date-wrapper {
    position: relative;
    width: 100%;
}

.search-date-wrapper > input {
    padding-left: 52px;
}

.search-date-wrapper > ion-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: end;
    font-size: 20px;
}

.af-breadcrumb {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 0;
    list-style: none;
    font-family: Pretendard, serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #222222;
}

.af-breadcrumb > ion-icon {
    height: 18px;
    width: 18px;
    margin-left: 1px;
    margin-right: 1px;
}

.af-breadcrumb > li > a {
    color: #00AF7A;
    text-decoration: underline;
}

.container-fluid-in {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 24px;
}

.form-group > p {
    font-family: Pretendard, serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #424242;
}

.custom-control-input-afternoon:checked ~ .custom-control-label::before {
    border-color: #00CE90;
    background-color: #00CE90;
}

.custom-control-input-afternoon.custom-control-input-outline:checked[type="checkbox"] ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%2300CE90' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E") !important;
}

.custom-control-input-afternoon.custom-control-input-outline:checked[type="radio"] ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%2300CE90'/%3E%3C/svg%3E") !important;
}

.custom-control-input-afternoon:focus ~ .custom-control-label::before {
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 0 0 0.2rem rgb(0, 206, 144);
}

.custom-control-input-afternoon:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #00CE90;
}

.custom-control-input-afternoon:not(:disabled):active ~ .custom-control-label::before {
    background-color: #00CE90;
    border-color: #00CE90;
}

.custom-radio > .custom-control-label {
    font-family: Pretendard, serif;
    font-weight: 400 !important;
    font-size: 14px;
    line-height: 24px;
}

.icheck-afternoon > input:first-child:not(:checked):not(:disabled):hover + label::before,
.icheck-afternoon > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
    border-color: #00CE90;
}

.icheck-afternoon > input:first-child:checked + label::before,
.icheck-afternoon > input:first-child:checked + input[type="hidden"] + label::before {
    background-color: #00CE90;
    border-color: #00CE90;
}

.icheck-afternoon > label {
    font-family: Pretendard, serif;
    font-weight: 400 !important;
    font-size: 14px;
    line-height: 26px;
}

.icheck-afternoon > label > span {
    font-family: Pretendard, serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #9E9E9E;
}

.custom-file,
.custom-file-label::after {
    font-family: Pretendard, serif;
    font-weight: 400;
    font-size: 14px;
}

.custom-file-input,
.custom-file-label,
.custom-file-label::after {
    height: 42px;
    line-height: 42px;
}

.custom-file-label,
.custom-file-label::after {
    padding: 0 0.75rem;
}

.custom-file-input:focus ~ .custom-file-label {
    border-color: #00CE90;
    box-shadow: none;
}

.custom-file-label {
    color: #BDBDBD;
}

.custom-file-label::after {
    background-color: #00CE90;
    color: white;
    padding-left: 21px !important;
    padding-right: 21px !important;
}

.error-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
}

.select2 {
    width: 100% !important;
}

.select2-container--bootstrap4 .select2-selection--single {
    height: auto;
    padding: 10px 16px 10px 16px;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    font-family: Pretendard, serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
    right: 1rem !important;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection, .select2-container--bootstrap4.select2-container--open .select2-selection {
    border-color: #00CE90;
}

.select2-container--bootstrap4 .select2-dropdown {
    border-color: #00CE90;
}

.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected] {
    background-color: #00CE90;
    color: #fff
}

.select2-container--bootstrap4 .select2-selection--multiple {
    height: auto;
    min-height: 42px;
    padding: 9px 16px 3px 16px !important;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered {
    font-family: Pretendard, serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    padding: 0 !important;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-search--inline .select2-search__field {
    padding: 0 !important;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    float: left;
    padding: 0;
    padding-left: 0.7rem;
    padding-right: 0.3rem;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    margin-left: 0 !important;
    margin-right: 0.375rem;
    color: #495057;
    cursor: pointer;
    border: 1px solid #bdc6d0;
    border-radius: 0.2rem;
    display: flex;
    flex-direction: row-reverse;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-search__field {
    color: #495057;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice + .select2-search {
    width: 0;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove {
    float: left;
    padding-right: 3px;
    padding-left: 3px;
    margin-right: 1px;
    margin-left: 3px;
    font-weight: 700;
    color: #bdc6d0;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #343a40;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__clear {
    position: absolute !important;
    top: 0;
    right: .7em;
    float: none;
    margin-right: 0;
}

.select2-container--bootstrap4.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
    padding: 0 5px;
    cursor: not-allowed;
}

.select2-container--bootstrap4.select2-container--disabled .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
    display: none;
}

.select2-container--bootstrap4 .select2-results__option[aria-selected=true] {
    background-color: rgba(185, 255, 232, 0.6);
}

.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected=true] {
    color: #00CE90;
}

.dt-scroll-head {
    background-color: #EEEEEE;
}

table.dataTable.table > tbody > tr:hover {
    background-color: #F3FFFB;
}

table.dataTable tbody td {
  vertical-align: middle;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #00CE90;
    border-color: #00CE90;
}

.page-link {
    color: #00CE90;
}

.hospital-operate-text {
    font-family: Pretendard, serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    margin: 0 !important;
    white-space: nowrap;
}

.datetimepicker-wrapper {
    position: relative;
    width: 112px;
}

.datetimepicker-wrapper > input {
    padding-right: 60px;
}

.datetimepicker-wrapper > ion-icon {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: end;
}

.recess-add-btn {
    font-family: Pretendard, serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 42px;
    padding: 0 !important;
}

.afternoon-faq-card-title {
    color: #222222 !important;
    font-family: Pretendard, serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
}

.afternoon-faq-card-title > span {
    font-family: Pretendard, serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
}

.card-header > ion-icon {
    color: #222222 !important;
}

.toasts-top-right {
    right: 24px !important;
    top: 70px !important;
}

.toast-header {
    border-bottom: 0 !important;
    padding: 24px !important;
}

.toast-header > strong {
    font-family: Pretendard, serif !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 24px !important;
    color: #222222 !important;
}

.toast-wide {
    width: 749px !important; /* 원하는 폭 */
    max-width: none; /* Bootstrap 기본 max-width 제거 */
    min-height: 131px !important;
}

.hospital-user {
    font-family: Pretendard, serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 20px !important;
}

.hospital-user-title {
    font-family: Pretendard, serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    width: 100px !important;
    min-width: 140px !important;
}

.doc-user-title {
    font-family: Pretendard, serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    width: 160px !important;
    min-width: 160px !important;
}

.afternoon-list-sort-group {
    list-style: none;
    padding: 0;
}

.afternoon-list-sort-group > li {
    background: #FFF;
    margin-top: 8px;
    margin-bottom: 8px;
    font-family: Pretendard, serif !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    padding: 0 16px 0 0;
}

.afternoon-list-sort-group > li > div {
    width: 16px;
    height: 52px;
    color: #BDBDBD;
    background-color: #F5F5F5;
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
}

.sortable-ghost {
    opacity: .6;
}

.list-status {
    font-family: Pretendard, serif !important;
    font-weight: 600;
    font-size: 12px;
}

.ui-timepicker-container, .select2-container {
    z-index: 1000 !important;
}

.modal .ui-timepicker-container {
    z-index: 9000 !important;
}

.research-start {
    display: inline-block;
    border-radius: 8px;
    padding: 9px 16px;
    background-color: #881DFF;
    font-family: Pretendard, serif !important;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #FFFFFF;
}

.timeline-body {
    padding: 24px !important;
}

.card-afternoon.card-outline-tabs > .card-header a.active, .card-afternoon.card-outline-tabs > .card-header a.active:hover {
    border-top: 3px solid #00CE90 !important;
}

.nav-link-afternoon {
    color: #00CE90 !important;
    font-family: Pretendard, serif !important;
    font-weight: 500;
    font-size: 16px;
}

.nav-link-afternoon.active {
    color: #222222 !important;
    font-family: Pretendard, serif !important;
    font-weight: 700;
    font-size: 18px;
}

/* ============================================================
   DCT 연구 생성 모달 (admin/fragments/modal_dct_research_create)
   ============================================================ */

/* afternoon.css 의 .modal-content 는 width/max-width 를 modal-dialog 에서 상속받기 때문에
   modal-lg(800px) 보다 넓히려면 max-width 까지 함께 지정해야 한다 */
#dct_research_create_modal .modal-content {
    width: 1160px;
    max-width: calc(100vw - 48px);
}

#dct_research_create_modal .modal-body {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    background: #FFF;
}

/* 안내자료 */
#dct_research_create_modal .dct-file-add-btn {
    height: 32px;
    padding: 0 12px;
    border: 1px dashed #E0E0E0;
    border-radius: 6px;
    background: #FAFAFA;
    color: #9E9E9E;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
}

#dct_research_create_modal .dct-file-add-btn ion-icon {
    font-size: 16px;
    margin-right: 4px;
}

#dct_research_create_modal .dct-file-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    font-size: 14px;
    color: #222222;
}

/* 파일명을 누르면 새 탭에서 미리보기가 열린다 */
#dct_research_create_modal .dct-file-chip > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: underline;
}

#dct_research_create_modal .dct-file-chip > span:hover {
    color: #00CE90;
}

#dct_research_create_modal .dct-file-chip > ion-icon {
    margin-left: 6px;
    font-size: 16px;
    color: #757575;
    cursor: pointer;
}

/* 연계 안과 검색 결과 */
#dct_research_create_modal .dct-clinic-result {
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    overflow: hidden;
}

#dct_research_create_modal .dct-clinic-result-body {
    height: 300px;
    overflow-y: auto;
}

#dct_research_create_modal .dct-clinic-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 13px;
    color: #9E9E9E;
}

#dct_research_create_modal .dct-clinic-item {
    border-bottom: 1px solid #EEEEEE;
}

#dct_research_create_modal .dct-clinic-item:last-child {
    border-bottom: 0;
}

/* 펼쳐진 안과는 좌측에 민트 라인 + 헤더 배경으로 강조한다 */
#dct_research_create_modal .dct-clinic-item.open {
    box-shadow: inset 4px 0 0 #C8F4E4;
}

#dct_research_create_modal .dct-clinic-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
}

#dct_research_create_modal .dct-clinic-item.open > .dct-clinic-item-head {
    background: #E7FAF2;
}

#dct_research_create_modal .dct-clinic-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #222222;
}

#dct_research_create_modal .dct-clinic-item-addr {
    font-size: 13px;
    color: #757575;
}

#dct_research_create_modal .dct-clinic-item-arrow {
    font-size: 18px;
    color: #616161;
}

#dct_research_create_modal .dct-clinic-item.open .dct-clinic-item-arrow {
    transform: rotate(180deg);
}

#dct_research_create_modal .dct-clinic-doc-list {
    display: none;
}

#dct_research_create_modal .dct-clinic-item.open > .dct-clinic-doc-list {
    display: block;
}

#dct_research_create_modal .dct-clinic-doc {
    padding: 4px 16px 4px 40px;
    border-top: 1px solid #EEEEEE;
}

#dct_research_create_modal .dct-clinic-doc .icheck-afternoon {
    margin: 4px 0 !important;
}

/* adminlte.css 에는 icheck 색상 규칙만 있고 체크박스 모양 규칙이 없어 본 모달에서만 별도로 그린다 */
#dct_research_create_modal .icheck-afternoon > input:first-child {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

#dct_research_create_modal .icheck-afternoon > label {
    position: relative;
    margin: 0;
    padding-left: 32px;
    cursor: pointer;
}

#dct_research_create_modal .icheck-afternoon > label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background: #FFF;
    border: 1px solid #BDBDBD;
    border-radius: 4px;
}

#dct_research_create_modal .icheck-afternoon > input:first-child:checked + label::before {
    background: #00CE90;
    border-color: #00CE90;
}

#dct_research_create_modal .icheck-afternoon > input:first-child:checked + label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 7px;
    width: 5px;
    height: 10px;
    margin-top: -6px;
    border: solid #FFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 연계 안과 리스트 */
#dct_research_create_modal .dct-clinic-list-wrap {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
}

#dct_research_create_modal .dct-clinic-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #F5F5F5;
    border-top: 0;
    border-bottom: 1px solid #E0E0E0;
    font-size: 13px;
    font-weight: 600;
    color: #424242;
}

#dct_research_create_modal .dct-clinic-table td {
    vertical-align: middle;
    font-size: 13px;
    color: #222222;
}

#dct_research_create_modal .dct-clinic-empty-row td {
    text-align: center;
    padding: 24px 16px;
    color: #9E9E9E;
}

#dct_research_create_modal .dct-chip {
    display: inline-flex;
    align-items: center;
    margin: 2px 0;
    padding: 3px 6px;
    background: #F5F5F5;
    border-radius: 4px;
    font-size: 13px;
    color: #222222;
}

#dct_research_create_modal .dct-chip > ion-icon {
    margin-left: 6px;
    padding: 1px;
    border: 1px solid #BDBDBD;
    border-radius: 3px;
    background: #FFF;
    font-size: 11px;
    color: #616161;
    cursor: pointer;
}

#dct_research_create_modal .dct-chip-sep {
    margin: 0 4px;
    color: #9E9E9E;
}

/* CRF */
#dct_research_create_modal .crf-module-list {
    height: 420px;
    padding: 8px;
    overflow-y: auto;
    background: #FAFAFA;
    border: 1px solid #EEEEEE;
    border-radius: 6px;
}

#dct_research_create_modal .crf-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 10px 12px;
    background: #FFF;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-size: 13px;
    color: #222222;
    cursor: move;
}

#dct_research_create_modal .crf-item > ion-icon {
    margin-right: 8px;
    font-size: 14px;
    color: #BDBDBD;
}

#dct_research_create_modal .crf-item.ui-sortable-helper {
    width: 300px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

/* CRF 항목구성으로 넘어온 모듈은 제목을 직접 고칠 수 있다
   (좌측 모듈 검색 리스트에서는 모듈명만 그대로 보여준다) */
#dct_research_create_modal .crf-item-title,
#dct_research_create_modal .crf-item-origin {
    display: none;
}

#dct_research_create_modal #crf_group_list .crf-item-name {
    display: none;
}

#dct_research_create_modal #crf_group_list .crf-item-title {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    height: 30px;
    padding: 0 8px;
    background: #FFF;
    font-size: 13px;
    color: #222222;
    cursor: text;
}

/* 제목을 고쳤을 때만 원본 모듈명을 옆에 함께 표시한다 */
#dct_research_create_modal #crf_group_list .crf-item-renamed > .crf-item-origin,
#dct_research_create_modal #crf_group_list .crf-item-renamed > .crf-item-head > .crf-item-origin {
    display: block;
    flex: 0 0 auto;
    max-width: 40%;
    margin-left: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #9E9E9E;
}

#dct_research_create_modal .crf-group {
    margin-bottom: 12px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #EEEEEE;
    border-radius: 6px;
}

#dct_research_create_modal .crf-group-head {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

#dct_research_create_modal .crf-group-head > ion-icon.crf-group-handle {
    margin-right: 8px;
    font-size: 14px;
    color: #BDBDBD;
    cursor: move;
}

#dct_research_create_modal .crf-group-name {
    height: 34px;
    font-size: 13px;
}

#dct_research_create_modal .crf-group-del {
    padding: 0 0 0 12px;
    color: #424242;
}

#dct_research_create_modal .crf-group-del ion-icon {
    font-size: 18px;
}

#dct_research_create_modal .crf-group-body {
    min-height: 110px;
    padding: 4px;
}

/* 상위(그룹 직속) 드롭 랜딩 영역 : 맨 아래 그룹/혼합 모듈 밑으로 비그룹 모듈을
   하위가 아닌 상위로 넣을 수 있도록 명시적인 드롭 공간과 안내 문구를 제공한다 */
#dct_research_create_modal .crf-group-landing {
    /* 평소에는 완전히 접어서 하단 공간을 차지하지 않는다 */
    height: 0;
    margin: 0;
    padding: 0 12px;
    border: 0 dashed transparent;
    border-radius: 6px;
    background: transparent;
    overflow: hidden;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    color: transparent;
}

/* 모듈을 움직이기 시작하면(드래그 중) 랜딩 영역을 펼쳐서 진하게 노출한다 */
#dct_research_create_modal #crf_group_list.crf-dragging .crf-group-landing {
    height: auto;
    margin-top: 6px;
    padding: 16px 12px;
    border-width: 1px;
    border-color: #B0BEC5;
    background: #F4F8FB;
    color: #78909C;
}

/* 컨테이너(그룹/혼합)를 끄는 동안에는 하위 영역을 '받을 수 없음'으로 흐리게 표시한다 */
#dct_research_create_modal #crf_group_list.crf-drag-group .crf-item-children {
    opacity: .4;
}

#dct_research_create_modal .crf-group-empty {
    padding: 12px;
    background: #F5F5F5;
    border-radius: 6px;
    font-size: 13px;
    color: #757575;
}

#dct_research_create_modal .crf-group-add-btn {
    height: 40px;
    border: 1px dashed #E0E0E0;
    border-radius: 6px;
    background: #FAFAFA;
    color: #9E9E9E;
    font-size: 13px;
}

/* CRF 항목구성 — 그룹(Y) / 혼합(A) 모듈은 하위 모듈을 담는 컨테이너로 표시한다 */
#dct_research_create_modal .crf-item-group {
    display: block;
    padding: 0;
    overflow: hidden;
}

#dct_research_create_modal .crf-item-group > .crf-item-head {
    display: flex;
    align-items: center;
    padding: 10px 12px;
}

#dct_research_create_modal .crf-item-head > ion-icon {
    margin-right: 8px;
    font-size: 14px;
    color: #BDBDBD;
}

#dct_research_create_modal .crf-item-children {
    padding: 6px 8px 8px 28px;
    border-top: 1px dashed #E0E0E0;
    background: #FAFAFA;
    min-height: 44px;
}

/* 좌측 모듈 리스트에서는 하위 영역을 숨겨 중첩을 막는다 (우측 CRF 항목구성에서만 하위 배치 가능) */
#dct_research_create_modal #crf_module_list .crf-item-children {
    display: none;
}

#dct_research_create_modal .crf-item-children > .crf-item {
    margin-bottom: 6px;
}

#dct_research_create_modal .crf-item-children > .crf-item:last-child {
    margin-bottom: 0;
}

#dct_research_create_modal .crf-item-child-empty {
    padding: 8px 10px;
    background: #F5F5F5;
    border: 1px dashed #E0E0E0;
    border-radius: 6px;
    font-size: 12px;
    color: #9E9E9E;
}

/* Footer */
#dct_research_create_modal .dct-research-footer {
    border-top: 1px solid #EEEEEE;
    padding: 16px 24px;
}

#dct_research_create_modal .dct-btn-cancel {
    width: 120px;
    height: 44px;
    margin: 0 8px 0 0;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    background: #FFF;
    font-size: 14px;
    font-weight: 600;
    color: #424242;
}

#dct_research_create_modal .dct-btn-save {
    flex: 1;
    height: 44px !important;
    margin: 0;
    border-radius: 6px;
}

#dct_research_create_modal .invalid-feedback {
    display: none;
}

/* 연계 안과 관리 / CRF 항목구성처럼 입력칸이 아닌 영역은
   문구 대신 영역 전체를 빨간 테두리로 표시한다 */
#dct_research_create_modal .container-fluid-in.is-invalid {
    border-color: #FF3E3E;
}

/* 위 규칙(id 포함)이 부트스트랩의 형제 선택자보다 우선순위가 높아 입력 항목 에러가
   묻히므로, 같은 범위에서 is-invalid 인 입력의 에러는 다시 보이도록 되살린다.
   (리스트 에러처럼 form-control 형제가 없는 경우는 아래 d-block 을 직접 붙인다) */
#dct_research_create_modal .form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

#dct_research_create_modal .invalid-feedback.d-block {
    display: block !important;
}

/* ============================================================
   DCT 파트너 계정 등록 모달 (admin/fragments/modal_dct_account_create)
   ============================================================ */

#dct_account_create_modal .modal-content {
    width: 600px;
    max-width: calc(100vw - 48px);
}

#dct_account_create_modal .modal-body {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    background: #FFF;
}

/* 계정 권한 - 라디오 (박스형) */
#dct_account_create_modal .dct-account-radio {
    flex: 0 0 auto;
    min-width: 120px;
    margin-right: 8px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
}

/* 미선택으로 저장을 누르면 두 박스에 빨간 테두리를 준다 */
#dct_account_create_modal .dct-account-radio.is-invalid {
    border-color: #FF3E3E;
}

#dct_account_create_modal .dct-account-radio > input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

#dct_account_create_modal .dct-account-radio > label {
    display: flex;
    align-items: center;
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 16px 0 44px;
    position: relative;
    font-size: 14px;
    color: #222222;
    cursor: pointer;
}

#dct_account_create_modal .dct-account-radio > label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 16px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background: #FFF;
    border: 1px solid #BDBDBD;
    border-radius: 50%;
}

#dct_account_create_modal .dct-account-radio > input:checked + label::before {
    background: #00CE90;
    border-color: #00CE90;
}

#dct_account_create_modal .dct-account-radio > input:checked + label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 23px;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    background: #FFF;
    border-radius: 50%;
}

#dct_account_create_modal .dct-account-radio:hover {
    border-color: #00CE90;
}

/* 참여 연구 */
/* 참여 연구가 3개를 넘으면 3행까지만 보이고 그 아래는 스크롤된다.
   행 높이를 45px(내용 44px + 경계선 1px)로 고정해 두고,
   헤더 45px + 3행 135px = 180px 로 맞춘다. 헤더는 sticky 라 스크롤해도 남는다. */
#dct_account_create_modal .dct-account-research-wrap {
    max-height: 180px;
    overflow-y: auto;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
}

#dct_account_create_modal .dct-account-research-table {
    table-layout: fixed;
}

#dct_account_create_modal .dct-account-research-table th,
#dct_account_create_modal .dct-account-research-table tr[data-research-id] td {
    height: 44px;
    padding-top: 0;
    padding-bottom: 0;
    vertical-align: middle;
}

/* 연구명이 길어도 줄을 바꾸지 않아야 행 높이가 일정하게 유지된다 (전체 이름은 title 로) */
#dct_account_create_modal .dct-account-research-table tr[data-research-id] td:last-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#dct_account_create_modal .dct-account-research-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #F5F5F5;
    border-top: 0;
    border-bottom: 1px solid #E0E0E0;
    font-size: 13px;
    font-weight: 600;
    color: #424242;
}

#dct_account_create_modal .dct-account-research-table td {
    vertical-align: middle;
    font-size: 13px;
    color: #222222;
}

#dct_account_create_modal .dct-account-research-empty-row td {
    text-align: center;
    padding: 24px 16px;
    font-weight: 600;
    color: #222222;
}

/* adminlte.css 에는 icheck 색상 규칙만 있고 체크박스 모양 규칙이 없어 본 모달에서만 별도로 그린다 */
#dct_account_create_modal .icheck-afternoon {
    display: inline-block;
    margin: 0 !important;
}

#dct_account_create_modal .icheck-afternoon > input:first-child {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

#dct_account_create_modal .icheck-afternoon > label {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

#dct_account_create_modal .icheck-afternoon > label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: #FFF;
    border: 1px solid #BDBDBD;
    border-radius: 4px;
}

#dct_account_create_modal .icheck-afternoon > input:first-child:checked + label::before {
    background: #00CE90;
    border-color: #00CE90;
}

#dct_account_create_modal .icheck-afternoon > input:first-child:checked + label::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 7px;
    width: 5px;
    height: 10px;
    border: solid #FFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#dct_account_create_modal .invalid-feedback {
    display: none;
}

#dct_account_create_modal .invalid-feedback.d-block {
    display: block !important;
}
