@font-face {
    font-family: 'Apple SD Gothic Neo';
    font-weight: 100;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-Thin.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-Thin.ttf') format('truetype');
}
@font-face {
    font-family: 'Apple SD Gothic Neo';
    font-weight: 200;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-ExtraLight.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-ExtraLight.ttf') format('truetype');
}
@font-face {
    font-family: 'Apple SD Gothic Neo';
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-Light.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'Apple SD Gothic Neo';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-Regular.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Apple SD Gothic Neo';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-Medium.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'Apple SD Gothic Neo';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-SemiBold.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-SemiBold.ttf') format('truetype');
}
@font-face {
    font-family: 'Apple SD Gothic Neo';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-Bold.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'Apple SD Gothic Neo';
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-ExtraBold.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-ExtraBold.ttf') format('truetype');
}
@font-face {
    font-family: 'Apple SD Gothic Neo';
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-Black.woff2') format('woff2'),
    url('https://cdn.jsdelivr.net/gh/fonts-archive/AppleSDGothicNeo/AppleSDGothicNeo-Black.ttf') format('truetype');
}

@font-face {
    font-family: 'Pretendard-ExtraLight';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraLight.woff') format('woff');
    font-weight: 100;
    font-style: normal;
}

body {
    font-family: 'Apple SD Gothic Neo', Roboto, 'Roboto', sans-serif;
    white-space: nowrap;
    margin: 0;
}

#base_nav {
    position: fixed;
    width: 100%;
    z-index: 999;
}

#nav_sub {
    position: relative;
    max-height: 0;
    overflow-y: hidden;
    transition: all 0.2s;
    opacity: 0.9;
    border-bottom: 1px solid #F68026;
    background-color: white;
}

.nav_sub_div {
    display: flex;
    padding-top: 80px;
    padding-left: 50px;
    padding-bottom: 30px;
    gap: 2rem;
    min-height: 400px;
}

ul {
    list-style: none;
    padding: 0;
}

.nav_sub_div_sub_title {
    background: #e1d6c3;
    padding: 5px 5px 5px 10px;
    font-size: 1.5em;
    text-align: center;
    min-width: 200px;
}

#main {
    padding-top: 70px;
}

/* new */

#content_load {
    padding: 20px 10px 10px;
}
#modal_loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
}
#modal_loading > #spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.my-indicator{
    display:none;
}
.htmx-request .my-indicator{
    display:inline;
}
.htmx-request.my-indicator{
    display:inline;
}
.sub_title {
    border-left: 5px solid black;
    font-weight: bold;
    height: 36px;
    display: flex;
    align-items: center;
    padding-left: 10px;
}
.li_title {
    margin-top: 20px;
    border-left: 5px solid slategray;
    display: flex;
    align-items: center;
    padding-left: 10px;
}
.search_box {
    border-radius: 10px;
    margin: 4px auto auto;
    padding-bottom: 8px;
}
.content_li {
    border-radius: 10px;
    border: 2px solid ghostwhite;
    padding: 5px;
    margin-top: 6px;
    overflow-x: hidden;
}

.my_table_data {
    font-size: 13px;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
    border-spacing: 0;
    border-collapse: separate;
    user-select: text;
}
.my_table_data th, .my_table_data td {
    border: 1px solid #d1dae7;
    padding: 4px;
    text-overflow: ellipsis;
    max-width: 160px;
    overflow: hidden;
}
.my_table_data tbody {
    vertical-align: inherit;
}
.my_table_data th {
    background-color: #f2f4f7;
    color: rgb(128, 128, 128);
}
.my_table_data.tr_hover tbody tr:hover {
    background-color: #f9f9f9;
    cursor: pointer;
}

.my_table_data tbody tr:nth-child(odd) {
    background-color: #FFFFFF;
}

.my_table_data tbody tr:nth-child(even) {
    background-color: #F2F4F7;
}

.my_table_data_no_child {
    font-size: 13px;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
    border-spacing: 0;
    border-collapse: separate;
    user-select: text;
}
.my_table_data_no_child th, .my_table_data_no_child td {
    border: 1px solid #d1dae7;
    padding: 4px;
    text-overflow: ellipsis;
    max-width: 160px;
    overflow: hidden;
}
.my_table_data_no_child tbody {
    vertical-align: inherit;
}
.my_table_data_no_child th {
    background-color: #f2f4f7;
    color: rgb(128, 128, 128);
}
.my_table_data_no_child.tr_hover tbody tr:hover {
    background-color: #f9f9f9;
    cursor: pointer;
}
.my_table_input {
    font-size: 13px;
    box-sizing: border-box;
    width: 100%;
    margin-top: 1rem;
    vertical-align: middle;
    border-spacing: 0;
    border-collapse: separate;
}
.my_table_input th, .my_table_input td {
    border: 1px solid #d1dae7;
    height: 35px;
}
.my_table_input th {
    background-color: #f2f4f7;
    color: rgb(128, 128, 128);
    text-align: center;
}

.col_min {
    min-width: 130px !important;
}
.cell_hover {
    cursor: pointer;
}
.cell_hover:hover {
    background-color: #f9f9f9;
}
.cell_hover_none {
    cursor: default !important;
}
.page_active {
    color: #6c757d;
    background-color: #eeeeee;
}

.col_min_hundred {
    min-width: 100px !important;
}

#tab_load {
    margin-top: 12px;
}

.readonly_text {
    border: 1px solid gainsboro !important;
    height: 30px !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.375rem !important;
    font-weight: 400 !important;
    background-color: #f2f4f7;
}

.select2-selection--single {
    height: 100% !important;
    border: 1px solid #ced4da !important;
}

.select2-selection__arrow {
    display: none !important;
}

.data_active {
    background-color: darkgray;
}


body {
    white-space: nowrap;
    user-select:none;
    margin: 0;
}
#aside::-webkit-scrollbar {display: none;}
#aside {
    width: 240px;
    height: 100%;
    position: fixed;
    padding: 80px 10px 10px 10px;
    top: 0;
    left: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 4;
    background-color: white;
    box-sizing: border-box;
    border-right: 1px solid #DFE0E1;
}
.aside_btn {
    border: 0;
    background: none;
    width: 100%;
    text-align: left;
    padding-top: 13px;
    padding-bottom: 13px;
    color: gray;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 20px;
}
.aside_btn:hover {
    color: black;
    font-weight: bold;
}
.custom_arrow {
    transition: all 0.2s;
    font-size: 18px;
}
.aside_collapse {
    overflow: hidden;
    max-height: 0;
    transition: all 0.2s;
}

.aside_submenu_collapse {
    overflow: hidden;
    max-height: 0;
    transition: all 0.2s;
}
.aside_div {
    background-color: #48735F;
    border-radius: 5px;
    padding: 5px;
    max-height: fit-content;
    display: flex;
    flex-flow: column;
}
.aside_a {
    font-size: 14px;
    text-decoration: none;
    padding: 9px 9px 9px 30px;
    box-sizing: border-box;
    margin: 2px;
}
.aside_a:hover {
    border-radius: 5px;
    background-color: #4F8C6F;
    font-weight: bold;
    color: white;
}

.aside_b {
    font-size: 14px;
    text-decoration: none;
    padding: 9px 20px 9px 50px;
    box-sizing: border-box;
    margin: 2px;
}
.aside_b:hover {
    border-radius: 5px;
    background-color: #4F8C6F;;
    font-weight: bold;
    color: white;
}

.aside_submenu_btn {
    border: 0;
    background: none;
    width: 100%;
    text-align: left;
    padding-top: 13px;
    padding-bottom: 13px;
    color: gray;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 30px;
}
.aside_submenu_btn:hover {
    color: black;
    font-weight: bold;
}
#base_logo_div {
    height: inherit;
}
#logo_img {
    height: inherit;
    cursor: pointer;
    object-fit: cover;
}
#nav {
    position: fixed;
    top: 0;
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    box-shadow: 0 -5px 10px 0;
    z-index: 30;
}
#nav_right {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    margin-right: 20px;
}
.nav_title {
    color: white;
    margin-left: 10px;
    font-size: 18px;
}
.nav_middle_title {
    color: white;
    margin-left: 10px;
    font-size: 16px;
}
#logout_btn {
    width: 70px;
    height: inherit;
    display: flex;
    color: gray;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
#logout_btn:hover {
    color: white;
    background-color: black;
}
#main {
    padding-left: 240px;
    padding-top: 70px;
}
#content_div {
    position: relative;
}

#popup_load {
    max-width: 1000px;
    max-height: 600px;
}

.custom_icon {
    font-size: 14px;
}
.color_black {
    color: black;
}
.color_white {
    color: white;
}
.color_gray {
    color: lightgray;
}
.cursor_pointer {
    cursor: pointer;
}
.active_false_bg {
    background-color: #f8d7da !important;
}
.min_width_fit {
    min-width: fit-content;
}
.cell_hover:hover {
    background-color: #e5e5e5;
    cursor: pointer;
}
.col_min {
    min-width: 130px;
}

.sub_title {
    border-left: 5px solid black;
    font-weight: bold;
    height: 40px;
    display: flex;
    align-items: center;
    padding-left: 10px;
}
.date_border {
    border: 1px solid #767676;
}

.nav-tabs .nav-link {
    background-color: #E9ECEF;
    color: #808080;
}

.nav-tabs .nav-link.active {
    background-color: #4F8C6F;
    color: white;
}

.btn_print {
    background-color: #0078D4;
    color: white;
    min-width: 130px;
    border: 0;
    border-radius: 5px;
    padding: 7px;
    font-size: 13px;
}
.btn_print:hover {
    background-color: #004f8c;
}

.btn_post {
    background-color: #00B050;
    color: white;
    min-width: 130px;
    border: 0;
    border-radius: 5px;
    padding: 7px;
    font-size: 13px;
}
.btn_post:hover {
    background-color: #006d33;
}

.add_settings_btn {
    background-color: #F2F4F7;
    border: 0;
    border-radius: 5px;
}

.add_settings_btn:hover {
    background-color: grey;
}

.btn_black {
    background-color: #000000;
    color: white;
    min-width: 130px;
    border: 0;
    border-radius: 5px;
    padding: 7px;
    font-size: 13px;
}
.btn_black:hover {
    background-color: #2f2f2f;
}

.btn_get{
    background-color: darkgray;
    color: white;
    min-width: 130px;
    border: 0;
    border-radius: 5px;
    padding: 7px;
    font-size: 13px;
}
.btn_get:hover {
    background-color: grey;
}

.btn_blue{
    background-color: #002060;
    color: white;
    min-width: 130px;
    border: 0;
    border-radius: 5px;
    padding: 7px;
    font-size: 13px;
}
.btn_blue:hover {
    background-color: #001238;
}

.btn_red{
    background-color: #b90000;
    color: white;
    min-width: 130px;
    border: 0;
    border-radius: 5px;
    padding: 7px;
    font-size: 13px;
}
.btn_red:hover {
    background-color: #800000;
}

.table_fixed {
    table-layout: fixed;
}

.no_change_value {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
}

.form-control {
    appearance: auto;
}

.my_table_data th.table_main {
    text-align: start;
    background-color: #4F8C6F;
    color: #FFFFFF;
    padding-left: 10px;
    font-size: 14px;
    box-sizing: border-box;
}

.my_table_data_no_child th.table_main {
    text-align: start;
    background-color: #4F8C6F;
    color: #FFFFFF;
    padding-left: 10px;
    font-size: 14px;
    box-sizing: border-box;
}

.my_table_input th.table_main {
    text-align: start;
    background-color: #4F8C6F;
    color: #FFFFFF;
    padding-left: 10px;
    font-size: 14px;
    box-sizing: border-box;
}

.bg-am {
    background-color: #fff3cc;
}

.bg-pm {
    background-color: #ffdac4;
}

.bg-rest {
    background-color: #ffd6f1;
}

.bg-annual {
    background-color: #C6EFCE;
}

.bg-early {
    background-color: #a5ffb6;
}
.bg-rest-car {
    background-color: #e6e6e6;
}
.accident_input {
    height: 15px;
    font-size: 13px;
}

.scroll_div_border {
    position: fixed; /* 화면 전체 기준 */
    left: 250px;
    right: 10px;
    bottom: 10px;
    overflow-y: auto; /* 내부 스크롤 */
    border: 1px solid #eeeeee;
    overscroll-behavior: contain;   /* ← 또는 none */
}

.scroll_div {
    position: fixed; /* 화면 전체 기준 */
    left: 250px;
    right: 10px;
    bottom: 10px;
    overflow-y: auto; /* 내부 스크롤 */
    border: none;
    overscroll-behavior: contain;   /* ← 또는 none */
}

.row-hover:hover {
    background-color: #f0f8ff;
    cursor: pointer;
}
