body {
    background-color: #f7f7f9;
}

body > div#app {
    min-height: 100%;
    background-color: #f7f7f9;

    padding-left: calc(var(--left_menu_w) + 5px);
    padding-left: calc(var(--left_menu_w) + 5px);
    padding-top: calc(var(--header_h) + 5px);
    padding-right: 50px;
    padding-bottom: 50px;
}

body > div#app:has(.login_container) {
    padding: 0;
}

body > div#app header {
    background-color: #f7f7f9;
}

body > div#app > .left_menu {
    background-color: #f7f7f9;
    z-index: 9999;
}

body > div#app > .left_menu::-webkit-scrollbar {
    display: none;
}

.left_menu nav ul.depth_01 > li:where(.active, :hover)::before {
    transition: 0.3s;
    opacity: 1;
    background-color: unset;
}

.left_menu nav ul.depth_01 > li {
}

button {
    border-radius: 5px;
    border: 1px solid #d9d9d9;
    padding: 5px 10px;
    background-color: white;
}

button.type1 {
    height: auto;
    font-weight: 600;
    font-size: 16px;
    border: 0;
    border-bottom: 1px solid #252525;
    border-radius: 0;
    padding: 0;
    padding-bottom: 3px;
}

button.type2 {
    height: auto;
    font-weight: 600;
    border: 0;
    background-color: var(--blue_color);
    color: #fff;
}

button.type3 {
    height: auto;
    font-weight: 400;
    border: 0;
    background-color: #6d6d6d;
    color: #fff;
}

button.type2 span {
    color: #fff;
}

input,
select {
    border-radius: 5px;
    border: 1px solid #d9d9d9;
    padding: 0 5px;
}

input:focus,
select:focus {
    border: 1px solid var(--blue_color) !important;
    outline: none;
}

.container {
    min-width: 1600px;
}

.container + .container {
    margin-top: 20px;
    padding-top: 0;
}

.container > div {
    border-radius: 20px;
    background-color: white;
    padding: 20px;
    height: auto;
    box-shadow: 0px 0px 10px 0px #0000001a;
}

.container div.area_title {
    padding-bottom: 10px;
    margin-bottom: 20px;
    position: relative;
    border-bottom: 1px #e9f4fd solid;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container div.area_title > p {
    font-family: Noto Sans KR;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
}

.container div.area_title > div.area_button {
    display: flex;
}

.container div.area_title > div.area_buttons {
    width: 100%;
    justify-content: end;
}

.container div.area_body div.area_button {
    display: flex;
    align-items: center;
    gap: 5px;
}

.container .area_title div.area_button > button {
    margin-left: 10px;

    display: flex;
    align-items: center;
}

.container div.area_button > button > span {
    font-family: Noto Sans KR;
    font-weight: 400;
    font-size: 16px;
}

.container div.area_button > button:has(img) > span {
    color: #525252;
}

.container div.area_button > button > img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.container div.area_section:not(:last-of-type) {
    margin-bottom: 20px;
}

.container div.area_section div.area_tab {
    display: flex;
    margin-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.container div.area_section div.area_tab > div {
    padding: 5px 30px 6px 30px;
    cursor: pointer;
    font-weight: 500;
}

.container div.area_section div.area_tab > div span {
    color: #6d6d6d;
}

.container div.area_section div.area_tab > div.selected {
    border-bottom: 4px solid #31a6d8;
    font-weight: 600;
}

.container div.area_section div.area_tab > div.selected > span {
    color: #31a6d8;
}

.container div.area_section div.area_search {
    padding: 20px;
    background-color: #f7f7f9;
    border-radius: 5px;
    position: relative;
}

.container div.area_section div.area_search > div {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.container div.area_section div.area_search > div:not(.area_button) {
    gap: 15px;
    max-width: 710px;
}

.container div.area_section div.area_search > div:last-of-type {
    margin-bottom: 0px;
}

.container div.area_section div.area_search > div.area_button {
    position: absolute;
    right: 20px;
    bottom: 20px;
}

button.blueBtn,
.container div.area_section div.area_search > div.area_button > button {
    border-radius: 5px;
    border: 0;
    padding: 5px 15px;
    background-color: #31a6d8;
    color: white;
    font-weight: 500;
}

button.blueBtn > span {
    color: white;
    font-family: Noto Sans KR;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;

    line-height: 100%;
    letter-spacing: 0%;
}

.container div.area_section div.area_search > div > label {
    min-width: 68px;
    font-weight: 500;
    font-size: 16px;
}

.container div.area_section div.area_search > div > div > input,
.container div.area_section div.area_search > div > div > div > input,
.container div.area_section div.area_search > div > div > div > select {
    font-family: Noto Sans KR;
    font-weight: 400;
    font-size: 16px;
    text-align: left;
    min-width: 145px;
    box-sizing: border-box;
    height: 30px;
}

.container div.area_section div.area_search > div > div {
    display: flex;
    align-items: stretch;
    flex: 1;
    gap: 5px;
}

.area_section div.area_search .select-wrap + input {
    width: 475px;
}

.area_section div.area_search .datepicker + button {
    height: 30px;
    padding: 0 10px;
}

.area_section div.area_table div.area_table_head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.area_section div.area_table div.area_table_head .total_length {
    font-weight: 600;
}

.area_body div.area_section div.area_form div.area_form_title {
    height: 23px;
    margin-bottom: 10px;
}

.area_body div.area_section div.area_form div.area_form_title > p {
    font-family: Noto Sans KR;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
}

.area_body div.area_section div.area_form_foot {
    margin-top: 20px;
}

.area_body div.area_section div.area_form_foot div.area_button > button {
    height: 35px;
    padding: 0 10px;
    font-size: 14px;
    border-radius: 5px;
}

.container button.active {
    color: white;
    background-color: #31a6d8;
    border: 0;
}

.container button.danger {
    color: white;
    border: 0;
    background-color: #d87c31;
}

.container button.delete {
    color: white;
    border: 0;
    background-color: #6d6d6d;
}

.container button.active > span,
.container button.danger > span,
.container button.delete > span {
    color: white;
}

.area_form div.area_form_body div.area_row {
    display: flex;
    align-items: center;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    border-left: 0;
    border-right: 0;
    font-size: 15px;
}

.area_form div.area_form_body div.area_row + div.area_row {
    border-top: 0px;
}

.area_form div.area_form_body div.area_row :where(input) {
    height: 30px;
    border: 0;
    background-color: #f7f7f9;
    padding: 0 10px;
    font-size: 15px;
}

.area_form div.area_form_body div.area_row .full {
    width: 100%;
    flex: 1;
}

.area_form div.area_form_body div.area_row .full > div {
    width: 100%;
}

.area_form div.area_form_body div.area_row .full input {
    width: 100%;
}

.area_form div.area_form_body div.area_row :where(.datepicker) input {
    min-width: 0;
}

.area_form div.area_form_body div.area_row:where(textarea) {
}

.area_form div.area_form_body div.area_row :where(select) {
    font-size: 15px;
}

.area_form div.area_form_body div.area_row :where(textarea) {
    width: 100%;
    background-color: #f7f7f9;
    font-size: 14px;
    border: 0;
    min-height: 200px;
}

.area_section div.area_row div.area_col_row {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.area_section div.area_row div.area_col_row div.area_row:first-child {
    border-top: 0;
}

.area_section div.area_row div.area_col_row div.area_row:last-child {
    border-bottom: 0;
}

.area_section div.area_row div.area_col_row > div.area_col {
    display: flex;
    align-items: center;
}

.area_section div.area_row div.area_col_row > div.area_col .area_col {
    align-items: stretch;
}

.area_form div.area_form_body div.area_row div.area_col .area_col div.area_col_head {
    height: auto;
}

.area_section div.area_row div.area_col_row > div.area_col:not(:last-of-type) {
    border-bottom: 1px solid #d9d9d9;
}

.area_section div.area_row div.area_col_head {
    min-width: 150px;

    border-right: 1px solid #d9d9d9;
    padding: 6px 0;
    padding-left: 10px;
}

.area_section div.area_row div.area_col_head label:not(.starMark)::after {
    content: " ";

    vertical-align: middle;
}

label.starMark::after,
span.starMark::after {
    content: "*";
    color: red;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 4px;
}

.container div.area_body div.area_section div.area_row div.area_col_body {
    padding: 4px 0;
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-left: 10px;
}

.areaGrid {
    width: 100%;
    /* table-layout: fixed; */
    border-collapse: collapse;
}

table.areaGrid {
    font-size: 15px;
}

.areaGrid img {
    max-width: 50px;
    height: auto;
}

.areaGrid tbody {
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
}

.areaGrid th,
.areaGrid td {
    border-bottom: 1px solid #ccc;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 10px 10px 10px;
    max-width: 200px;
}

.areaGrid th {
    background-color: #f5f5f5;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    color: #6d6d6d;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.datepicker {
    width: 145px;
    position: relative;
    display: inline-block;
}

.datepicker input {
    width: 100%;
    padding: 0 10px;

    padding-right: 30px;
    /* 오른쪽 여백 확보 */
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

/* 기본 아이콘 제거 */
.datepicker input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    /* 숨기되 클릭 가능하게 유지 */
    position: absolute;
    right: 0;
    width: 100%;
    cursor: pointer;
}

.datepicker::after {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: url(../img/icon_calendar.png);
    position: absolute;
    right: 10px;
    top: calc(50% + 1px);
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: contain;
    transition: 0.3s;
    cursor: pointer;
    pointer-events: none;
    /* 클릭 방지 */
}

.select-wrap {
    position: relative;
    display: inline-block;
}

.select-wrap select {
    padding: 0 40px 0 10px;
    /* 오른쪽 여백 확보 */
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    appearance: none;
    height: 30px;
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

/* 커스텀 화살표 추가 */
.select-wrap::after {
    content: "";
    /* 또는 background-image 사용 */
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: url(../img/more_select.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    /* 클릭 방지 */
    color: #666;
    font-size: 0.8em;
}

.radio_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.radio_wrap :where(label) {
    display: flex;
    align-items: center;
    gap: 5px;
}

.radio_wrap label input:checked + em {
    border-color: var(--blue_color);
}

.radio_wrap label em::before {
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background-color: var(--blue_color);
}

.text-center .checkbox_wrap {
    justify-content: center;
}

.checkbox_wrap {
    display: flex;
    align-items: center;
}

.checkbox_wrap label {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-right: 10px;
    cursor: pointer;
}

.checkbox_wrap label input:checked + em {
    background-color: var(--blue_color);
    border: 0;
}

.checkbox_wrap label input:checked ~ span {
    color: var(--blue_color);
    font-weight: 600;
}

.checkbox_wrap label input:disabled:checked ~ span {
    color: #c4c4c4;
}

.checkbox_wrap label.black input:checked ~ span {
    color: #191919;
    font-weight: 600;
}

.textarea_wrap {
    width: 100%;
}

/* .checkbox_wrap label em::before {
    background-image: url(../img/check_icon2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-color: unset;
    width: 100%;
    height: 100%;
    top: auto;
    left: auto;
    transform: none;
    border-radius: initial;
} */

.pop_up.pop_detail .close_btn {
    border: 0px;
    padding: 0;
}

.no-line-bottom {
    border-bottom: 0px !important;
}

/* gy */
.area_form div.area_form_body div.area_row div.area_col_head {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
}

.area_form div.area_form_body div.area_row div.area_col_head p {
    font-weight: 400;
    font-size: 13px;
    word-break: keep-all;
}

.area_form div.area_form_body div.area_row div.area_col div.area_col_head {
    height: 100%;
}

.area_form div.area_form_body div.area_row {
    align-items: stretch;
}

.underline {
    text-decoration: underline;
    cursor: pointer;
}

.area_contents_title {
    margin-top: 10px;
    margin-bottom: 10px;
}

.area_contents_title > p {
    font-family: Noto Sans KR;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;

    line-height: 100%;
    letter-spacing: 0%;
}

.area_contents_body table.areaGrid th,
.area_contents_body table.areaGrid td {
    border: 1px solid #d9d9d9;
}

table.areaGrid td button {
    padding: 0px 5px;
}

.pop_up.pop_detail {
    max-width: 600px;
}

.area_file label {
    display: flex;
    gap: 4px;
    align-items: center;
}

.area_file .file_upload_btn {
    display: inline-block;
    width: 80px;
    line-height: 30px;
    cursor: pointer;
    border-radius: 5px;
    background-color: var(--blue_color);
    color: #fff;
    text-align: center;
}

.area_file input[type="file"] {
    display: none;
}

.area_file span.blue_btn {
    width: 140px;
    margin-left: 7px;
    height: auto;
}

.area_file p {
    font-size: 15px;
    font-weight: 400;
    margin-top: 3px;
    padding-left: 10px;
}

.area_file .file_box_wrap {
    height: auto;
    background: #f7f7f9;

    border-radius: 5px;
    width: 300px;
    line-height: 30px;
    color: #6d6d6d;
    font-weight: 500;
    padding-left: 10px;
}

.file_list .file {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file_list .file .file_name {
    padding-bottom: 2px;
    display: flex;
    gap: 4px;
    align-items: center;
    border-bottom: 1px solid #434343;
    color: #434343;
    transition: 0.2s;
    font-size: 15px;
}

.file_list .file .file_del {
    display: inline-block;
    width: 50px;
    line-height: 30px;
    cursor: pointer;
    border-radius: 5px;
    background: #6d6d6d;
    color: #fff;
    text-align: center;
    padding: 0;
}

.td_counsel {
    color: #31a6d8;
    font-weight: 600;
}

.area_search_checkbox {
    border-bottom: 1px solid #d9d9d9;
    padding-bottom: 10px;
}

.container div.area_body div.area_form_btns {
    margin-top: 20px;
    gap: 10px;
}

.container div.area_body div.area_form_btns button {
    padding: 5px 20px;
}

.table_thumbnail {
    display: block;
    width: 50px;
    height: 40px;
    overflow: hidden;

    margin: 0 auto;
}

.table_thumbnail img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

.modal_image img {
    max-width: 100%;
    max-height: calc(100vh - 400px);
    object-fit: cover;
    object-position: center;
}

.modal_image {
    text-align: center;
}

.containers {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.containers .container + .container {
    margin-top: 0;
    min-width: 0;
    flex: 1;
}

.print_table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #d9d9d9;
    table-layout: fixed;
}

.print_table th {
    vertical-align: middle;
    width: 160px;
}

.print_table th,
.print_table td {
    border: 1px solid #d9d9d9;
    padding: 10px;
    font-size: 15px;
    text-align: center;
}

.print_table td.left {
    text-align: left;
}

.print_table th.gray_th {
    background-color: #f5f5f5;
    color: #6d6d6d;
}

.textarea_wrap p {
    display: none;
}

.textarea_wrap textarea {
    display: block;
}
.form_list textarea {
    display: block;
}
.form_list p {
    display: none;
}

@media print {
    .container div.area_body div.area_section div.area_row div.area_col_body {
        gap: 10px;
    }
    body > div#app {
        padding: 0 !important;
    }

    .print_table {
        /* width: 21cm !important; */
        /* width: 100%; */
        font-size: 12px;
    }

    .print_table th,
    .print_table td {
        font-size: 12px;
        letter-spacing: -0.5px;
        padding: 5px;
    }

    .print_table th {
        width: 95px;
        word-break: keep-all;
    }

    .header,
    .left_menu,
    .area_button {
        display: none !important;
    }

    .container > div {
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 10px;
    }

    .area_form_foot,
    .noPrint {
        display: none !important;
    }

    .onlyPrint:not(table) {
        display: block !important;
    }

    .area_section:has(.onlyPrint) {
        justify-content: end;
    }
    table.onlyPrint {
        display: table !important;
        width: 40% !important;
    }
    @page {
        size: A4;
        margin: 0;
    }

    #pdfArea {
        width: 21cm;
        min-height: 29.7cm;
        margin: 0 auto;
        box-sizing: border-box !important;
        transform: scale(0.95);
    }
    .pdf_area_class {
        padding: 20px !important;
    }

    .container {
        page-break-inside: avoid;
    }

    .area_section div.area_row div.area_col_head {
        min-width: 120px;
    }

    .area_form div.area_form_body div.area_row div.area_col_head {
        font-size: 12px;
    }

    .radio_wrap label :where(input, span, div, p) {
        font-size: 12px;
    }

    .area_form div.area_form_body div.area_row :where(select) {
        font-size: 12px;
    }

    .radio_wrap label :where(input, span, div, p) {
        font-size: 11px;
    }

    .checkbox_wrap em {
        width: 18px;
        height: 18px;
    }

    .radio_wrap label em {
        width: 18px;
        height: 18px;
    }

    .container div.area_body div.area_section div.area_row div.area_col_body {
        font-size: 12px;
    }

    .select-wrap select {
        border: 0;
        width: auto;
        min-width: 0;
    }

    .select-wrap::after {
        display: none;
    }

    .area_form div.area_form_body div.area_row :where(input) {
        font-size: 12px;
        background-color: #fff;
        width: auto;
        min-width: 0;
        height: 20px;
    }

    .area_form div.area_form_body div.area_row :where(textarea) {
        background-color: #fff;
        font-size: 12px;
    }
    .form_list > label {
        font-size: 12px;
    }
    .checkbox_wrap em::before {
        width: 12px;
        height: 12px;
    }

    input,
    select {
        border: 0;
    }

    select {
        -webkit-appearance: none;
        -moz-appearance: textfield;
    }

    .print_table tr {
    }

    .container {
        width: 100% !important;
        min-width: 0;
    }

    body {
        background-color: #fff !important;
    }

    body > div#app {
        background-color: #fff;
    }

    body {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    .ph_input_box {
        /* width: 100% !important; */
    }
    .ph_input {
        max-width: 55px !important;
    }
    .ph_input input {
        width: 100% !important;
    }
    .area_col_body:has(.ph_input_box) {
        display: flex !important;
        flex-wrap: nowrap !important;
    }
    .page_avoid {
        padding-top: 20px !important;
        page-break-before: always;
    }
    .textarea_wrap p {
        display: block;
        white-space: pre-line;
    }

    .textarea_wrap textarea {
        display: none;
    }
    .old_input {
        width: 50px !important;
    }
    .year_input {
        width: 80px !important;
    }
    .ss_input {
        width: 100px !important;
    }

    .flex label {
        white-space: nowrap;
    }
    .form_list .checkbox_wrap.grid11 {
        grid-template-columns: repeat(5, 1fr);
    }
    .form_list textarea {
        display: none;
    }
    .form_list p {
        display: block;
    }
    .file_list .file .file_del {
        display: none;
    }
    .file_list .file .file_name span + img {
        display: none;
    }
    .area_file .file_upload_btn {
        display: none;
    }
    .area_file .file_upload_btn + .p_info {
        display: none;
    }
    .area_file .file_box_wrap {
        display: none;
    }
    .datepicker::after {
        display: none;
    }
}
