/*--------------------------------------------------------------
# 글자에 포커스가 가는걸 막는다.
--------------------------------------------------------------*/
/*모든 일반 텍스트 영역에서는 커서 숨기기*/
* {
    caret-color: transparent;
    user-select: text;
}

.ck-editor__editable,
.ck-editor__editable * {
    caret-color: black !important;
}

input:focus, textarea:focus, select:focus {
    caret-color: black;
}

.header .nav-menu * {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Standard */
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    scroll-behavior: smooth;
    /*--nav-font: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Nanum Gothic', 'Apple SD Gothic Neo', 'Segoe UI',  'Helvetica Neue', 'Arial', 'Open Sans', 'sans-serif';*/
    --nav-font: 'Noto Sans KR', 'Malgun Gothic', 'Nanum Gothic', 'Apple SD Gothic Neo', 'Segoe UI', 'Lato', 'sans-serif', 'Arial', 'Open Sans';
    --nav-color: #212529; /* The default color of the main nav-menu links */
    --nav-hover-color: #4154f1; /* Applied to main nav-menu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #4154f1; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
    --bs-nav-link-font-size: 15px;
    /*--bs-form-select-bg-icon: none; !* 발리데이션 정상일때 우측에 아이콘 표시 *!*/
    /*--bs-form-valid-color: inherit;*/
    /*--bs-form-valid-border-color: inherit;*/
}

/*--------------------------------------------------------------
# 폰트
--------------------------------------------------------------*/
@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/*thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900*/
@font-face {
    font-family: 'Noto Sans KR Light';
    src: url('../fonts/noto/NotoSansKR-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans KR';
    src: url('../fonts/noto/NotoSansKR-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans KR Bold';
    src: url('../fonts/noto/NotoSansKR-Bold.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Nanum Gothic';
    src: url('../fonts/nanumgothic/NanumGothic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Nanum Gothic Bold';
    src: url('../fonts/nanumgothic/NanumGothic-Bold.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/*--------------------------------------------------------------
# 기본 폰트 및 배경색, 글자색 설정
--------------------------------------------------------------*/
body {
    font-family: var(--nav-font);
    background: #f6f9ff;
    color: #444444;
    font-size: 14px;
    /*-webkit-user-select: text; !* Safari *!*/
    /*-khtml-user-select: text; !* Konqueror *!*/
    /*-moz-user-select: text; !* Firefox *!*/
    /*-ms-user-select: text; !* Internet Explorer/Edge *!*/
    /*user-select: text; !* Standard *!*/
}

/*input, textarea, select, button {*/
/*    -webkit-user-select: auto; !* Safari *!*/
/*    -khtml-user-select: auto; !* Konqueror *!*/
/*    -moz-user-select: auto; !* Firefox *!*/
/*    -ms-user-select: auto; !* Internet Explorer/Edge *!*/
/*    user-select: auto; !* Standard *!*/
/*}*/

a {
    color: #4154f1;
    text-decoration: none;
}

a:hover {
    color: #717ff5;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--nav-font);
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
    margin-top: 60px;
    padding: 20px 30px;
    /*transition: all 0.3s;*/
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
    margin-bottom: 10px;
}

.pagetitle h1 {
    font-size: 20px;
    margin-bottom: 0;
    font-weight: 600;
    color: #012970;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: #4154f1;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #6776f4;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* 화면 작아졌을때 메뉴 처리 */
@media (max-width: 1000px) {
    .header .nav-menu .dropdown-top-menu span {
        display: none;
    }

    .header .nav-menu .dropdown-top-menu i {
        font-size: 24px !important;
        margin-left: 10px;
    }

    .dropdown-menu {
        padding-right: 10px !important;
    }

    .dropdown-menu.level2 {
        column-count: 2 !important;
        /*column-gap: 1rem;*/
        margin: 0;
        padding: 0;
    }

    .dropdown-menu.level3 {
        column-count: 2 !important;
        /*column-gap: 1rem;*/
        margin: 0;
        padding: 0;
    }

    .dropdown-menu.level4 {
        column-count: 2 !important;
        /*column-gap: 1rem;*/
        margin: 0;
        padding: 0;
    }
}

/* 모바일용 :: 화면 작아졌을때 메뉴 처리 */
@media (max-width: 680px) {
    .main-layout html, .main-layout body {
        overflow-x: scroll !important; /* 수평 스크롤 활성화 */
        width: 100% !important; /* 전체 너비 100% */
    }

    /* 바디 내부가 넘치지 않도록 처리 */
    .main-layout body, .main-layout main, .main-layout header {
        min-width: 680px !important; /* 최소 너비 설정 */
    }

    /* 상단 메뉴가 스크롤에 영향을 받도록 처리 */
    .main-layout header {
        position: relative !important; /* fixed -> relative로 변경 */
        z-index: 999; /* 다른 요소와 겹치지 않도록 */
    }
}

/* Dropdown menus */
.dropdown-menu {
    border-radius: 4px;
    padding: 8px 0; /* 위 메뉴와 간격 */
    animation-name: dropdown-animate;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 15px;
    padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
    color: #989696;
    text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
}

.dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
}

.dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}

/*--------------------------------------------------------------
* 툴팁
*--------------------------------------------------------------*/
[data-popper-placement="bottom-start"]::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #FFFFFF;
    position: absolute;
    top: -7px;
    left: 40px;
    transform: rotate(45deg);
    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    /*border-style: solid;*/
    /*border-color: transparent transparent #007bff transparent;*/
}

[data-popper-placement="bottom-end"]::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #FFFFFF;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    /*border-style: solid;*/
    /*border-color: transparent transparent #007bff transparent;*/
}

/*--------------------------------------------------------------
* 백그라운드
*--------------------------------------------------------------*/
/* Light Backgrounds */
/*.bg-primary-light {*/
/*    background-color: #cfe2ff;*/
/*    border-color: #cfe2ff;*/
/*}*/

/*.bg-secondary-light {*/
/*    background-color: #e2e3e5;*/
/*    border-color: #e2e3e5;*/
/*}*/

/*.bg-success-light {*/
/*    background-color: #d1e7dd;*/
/*    border-color: #d1e7dd;*/
/*}*/

/*.bg-danger-light {*/
/*    background-color: #f8d7da;*/
/*    border-color: #f8d7da;*/
/*}*/

/*.bg-warning-light {*/
/*    background-color: #fff3cd;*/
/*    border-color: #fff3cd;*/
/*}*/

/*.bg-info-light {*/
/*    background-color: #cff4fc;*/
/*    border-color: #cff4fc;*/
/*}*/

/*.bg-dark-light {*/
/*    background-color: #d3d3d4;*/
/*    border-color: #d3d3d4;*/
/*}*/

/*--------------------------------------------------------------
* 카드
*--------------------------------------------------------------*/
/* Card */
.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: #012970;
    font-family: var(--nav-font);
}

.card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

.card-body {
    padding: 0 20px 20px 20px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}

/*--------------------------------------------------------------
* 기타
*--------------------------------------------------------------*/
/* Alerts */
.alert-heading {
    font-weight: 500;
    font-family: var(--nav-font);
    font-size: 20px;
}

/* Close Button */
.btn-close {
    background-size: 25%;
}

.btn-close:focus {
    outline: 0;
    box-shadow: none;
}

/* Accordion */
.accordion-item {
    border: 1px solid #ebeef4;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #012970;
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: #4154f1;
}

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    font-family: var(--nav-font);
    color: #899bbd;
    font-weight: 600;
}

.breadcrumb a {
    color: #899bbd;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
    color: #899bbd;
}

.breadcrumb .active {
    color: #51678f;
    font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
    margin-bottom: -2px;
    border: none;
    color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
    color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
    background-color: #fff;
    color: #4154f1;
    font-weight: 600;
    border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        width: 280px;
    }
}

.logo img {
    max-height: 26px;
    margin-right: 6px;
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: #012970;
    font-family: 'Noto Sans KR Bold', var(--nav-font);
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

.header .toggle-sidebar-btn {
    font-size: 32px;
    /*padding-left: 10px;*/
    cursor: pointer;
    color: #012970;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Standard */
}

/*.header .search-bar {*/
/*    min-width: 360px;*/
/*    padding: 0 20px;*/
/*}*/

/*@media (max-width: 1199px) {*/
/*    .header .search-bar {*/
/*        position: fixed;*/
/*        top: 50px;*/
/*        left: 0;*/
/*        right: 0;*/
/*        padding: 20px;*/
/*        box-shadow: 0 0 15px 0 rgba(1, 41, 112, 0.1);*/
/*        background: white;*/
/*        z-index: 9999;*/
/*        transition: 0.3s;*/
/*        visibility: hidden;*/
/*        opacity: 0;*/
/*    }*/

/*    .header .search-bar-show {*/
/*        top: 60px;*/
/*        visibility: visible;*/
/*        opacity: 1;*/
/*    }*/
/*}*/

/*.header .search-form {*/
/*    width: 100%;*/
/*}*/

/*.header .search-form input {*/
/*    border: 0;*/
/*    font-size: 14px;*/
/*    color: #012970;*/
/*    !*border: 1px solid rgba(1, 41, 112, 0.2);*!*/
/*    padding: 7px 38px 7px 8px;*/
/*    border-radius: 3px;*/
/*    transition: 0.3s;*/
/*    width: 100%;*/
/*}*/

/*.header .search-form input:focus,*/
/*.header .search-form input:hover {*/
/*    outline: none;*/
/*    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);*/
/*    border: 1px solid rgba(1, 41, 112, 0.3);*/
/*}*/

/*.header .search-form button {*/
/*    border: 0;*/
/*    padding: 0;*/
/*    margin-left: -30px;*/
/*    background: none;*/
/*}*/

/*.header .search-form button i {*/
/*    color: #012970;*/
/*}*/

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}

.header-nav > ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: #012970;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: #012970;
}

.header-nav .nav-profile img {
    max-height: 36px;
}

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
}

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .messages .message-item a {
    display: flex;
}

.header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
}

.header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
}

.header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
}

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
}

.header-nav .profile .dropdown-header span {
    font-size: 14px;
}

.header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    /*transition: 0.3s;*/
}

.header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
}

.header-profile .dropdown-menu li {
    padding-left: 0;
}

/*--------------------------------------------------------------
# 왼쪽 메뉴
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    /*transition: all 0.3s;*/
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0 0 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

@media (max-width: 999px) {
    .sidebar {
        left: -300px;
    }

    .toggle-sidebar .sidebar {
        left: -300px;
    }

    .toggle-sidebar-btn {
        display: none;
    }
}

@media (min-width: 1000px) {
    #main,
    #footer {
        margin-left: 300px;
    }

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }

    .sidebar {
        left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -300px;
    }
}

/*@media (max-width: 1199px) {*/
/*    .toggle-sidebar .sidebar {*/
/*        left: 0;*/
/*    }*/
/*}*/

/*@media (min-width: 1200px) {*/

/*    .toggle-sidebar #main,*/
/*    .toggle-sidebar #footer {*/
/*        margin-left: 0;*/
/*    }*/

/*    .toggle-sidebar .sidebar {*/
/*        left: -300px;*/
/*    }*/
/*}*/

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
    font-family: 'Noto Sans KR', var(--nav-font);
}

.sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: #899bbd;
    font-weight: 600;
    margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #4154f1;
    /*transition: 0.3s;*/
    background: #f6f9ff;
    padding: 10px 15px;
    border-radius: 4px;
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
    color: #4154f1;
}

.sidebar-nav .nav-link.collapsed {
    color: #012970;
    background: #fff;
}

.sidebar-nav .nav-link.collapsed i {
    color: #899bbd;
}

.sidebar-nav .nav-link:hover {
    color: #4154f1;
    background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
    color: #4154f1;
}

.sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    /*transition: transform 0.2s ease-in-out;*/
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #012970;
    /*transition: 0.3s;*/
    padding: 10px 0 10px 40px;
    /*transition: 0.3s;*/
}

.sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: #4154f1;
}

.sidebar-nav .nav-content a.active i {
    background-color: #4154f1;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
    position: absolute;
    right: 0;
    top: 15px;
}

.dashboard .filter .icon {
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    /*transition: 0.3s;*/
    font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
    color: #4154f1;
}

.dashboard .filter .dropdown-header {
    padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #aab7cf;
    margin-bottom: 0;
    padding: 0;
}

.dashboard .filter .dropdown-item {
    padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
    padding-bottom: 10px;
}

.dashboard .info-card h6 {
    font-size: 28px;
    color: #012970;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.dashboard .card-icon {
    font-size: 32px;
    line-height: 0;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    flex-grow: 0;
}

.dashboard .sales-card .card-icon {
    color: #4154f1;
    background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
    color: #2eca6a;
    background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
    color: #ff771d;
    background: #ffecdf;
}

/* Activity */
.dashboard .activity {
    font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
    color: #888;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
    content: "";
    position: absolute;
    right: -11px;
    width: 4px;
    top: 0;
    bottom: 0;
    background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
    margin-top: 3px;
    z-index: 1;
    font-size: 11px;
    line-height: 0;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
    padding-left: 10px;
    padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
    top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
    padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item + .post-item {
    margin-top: 15px;
}

.dashboard .news img {
    width: 80px;
    float: left;
    border-radius: 5px;
}

.dashboard .news h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dashboard .news h4 a {
    color: #012970;
    /*transition: 0.3s;*/
}

.dashboard .news h4 a:hover {
    color: #4154f1;
}

.dashboard .news p {
    font-size: 14px;
    color: #777777;
    margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
    font-size: 14px;
}

.dashboard .recent-sales .table thead {
    background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
    border: 0;
}

.dashboard .recent-sales .dataTable-top {
    padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
    padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
    font-size: 14px;
}

.dashboard .top-selling .table thead {
    background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
    border: 0;
}

.dashboard .top-selling .table tbody td {
    vertical-align: middle;
}

.dashboard .top-selling img {
    border-radius: 5px;
    max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}

.iconslist .icon {
    background-color: #fff;
    border-radius: 0.25rem;
    text-align: center;
    color: #012970;
    padding: 15px 0;
}

.iconslist i {
    margin: 0.25rem;
    font-size: 2.5rem;
}

.iconslist .label {
    font-family: var(--bs-font-monospace), sans-serif;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
/*.profile .profile-card img {*/
/*    max-width: 120px;*/
/*}*/

/*.profile .profile-card h2 {*/
/*    font-size: 24px;*/
/*    font-weight: 700;*/
/*    color: #2c384e;*/
/*    margin: 10px 0 0 0;*/
/*}*/

/*.profile .profile-card h3 {*/
/*    font-size: 18px;*/
/*}*/

/*.profile .profile-card .social-links a {*/
/*    font-size: 20px;*/
/*    display: inline-block;*/
/*    color: rgba(1, 41, 112, 0.5);*/
/*    line-height: 0;*/
/*    margin-right: 10px;*/
/*    !*transition: 0.3s;*!*/
/*}*/

/*.profile .profile-card .social-links a:hover {*/
/*    color: #012970;*/
/*}*/

/*.profile .profile-overview .row {*/
/*    margin-bottom: 20px;*/
/*    font-size: 14px;*/
/*}*/

/*.profile .profile-overview .card-title {*/
/*    color: #012970;*/
/*}*/

/*.profile .profile-overview .label {*/
/*    font-weight: 600;*/
/*    color: rgba(1, 41, 112, 0.6);*/
/*}*/

/*.profile .profile-edit label {*/
/*    font-weight: 600;*/
/*    color: rgba(1, 41, 112, 0.6);*/
/*}*/

/*.profile .profile-edit img {*/
/*    max-width: 120px;*/
/*}*/

/*.profile .tab-content {*/
/*    min-height: 400px; !* 가장 큰 높이에 맞춰 설정 *!*/
/*    min-width: 500px;*/
/*}*/

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
    font-size: 18px;
    font-weight: 600;
    color: #4154f1;
}

.faq .basic p {
    color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
    padding: 28px 30px;
}

.contact .info-box i {
    font-size: 38px;
    line-height: 0;
    color: #4154f1;
}

.contact .info-box h3 {
    font-size: 20px;
    color: #012970;
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #4154f1;
}

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
    background: #4154f1;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    /*transition: 0.4s;*/
    border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
    background: #5969f3;
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
    padding: 30px;
}

.error-404 h1 {
    font-size: 180px;
    font-weight: 700;
    color: #4154f1;
    margin-bottom: 0;
    line-height: 150px;
}

.error-404 h2 {
    font-size: 24px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 30px;
}

.error-404 .btn {
    background: #51678f;
    color: #fff;
    padding: 8px 30px;
}

.error-404 .btn:hover {
    background: #3e4f6f;
}

@media (min-width: 992px) {
    .error-404 img {
        max-width: 50%;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid #cddfff;
}

.footer .copyright {
    text-align: center;
    color: #012970;
}

.footer .credits {
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
    color: #012970;
}

/*--------------------------------------------------------------
 # Navigation Menu
 --------------------------------------------------------------*/

.dropdown-menu.level2 {
    column-count: 2;
    /*column-gap: 1rem;*/
    margin: 0;
    padding: 0;
}

.dropdown-menu.level3 {
    column-count: 3;
    /*column-gap: 1rem;*/
    margin: 0;
    padding: 0;
}

.dropdown-menu.level4 {
    column-count: 4;
    /*column-gap: 1rem;*/
    margin: 0;
    padding: 0;
}

.dropdown-menu li {
    break-inside: avoid; /* 줄 나눔 방지 */
    padding: 0.2rem 0 0 1rem; /* 간격 추가 */
}

.dropdown-menu li div {
    padding: 0.2rem 0; /* 간격 추가 */
}

.dropdown-menu:not(.profile) li a,
.dropdown-menu:not(.profile) li a i,
.dropdown-menu:not(.profile) li a span,
.dropdown-menu li div a,
.dropdown-menu li div a i,
.dropdown-menu li div a span {
    margin: 0 !important;
    padding: 0 !important;
}

/* nav-menu - Desktop */
/*@media (min-width: 1200px) {
}*/
.nav-menu {
    padding: 0;
}

a:hover, a:focus {
    outline: none !important;
    /*border: none !important; !* 테두리 없애기 *!*/
}

.nav-menu span,
.nav-menu i,
.sidebar-nav .nav-link span,
.sidebar-nav .nav-link i,
.sidebar-nav .nav-item ul span,
.sidebar-nav .nav-item ul i,
.header-profile .dropdown span,
.header-profile .dropdown i {
    pointer-events: none;
}

.nav-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

/* 상단 메뉴 */
.nav-menu a {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: 'Malgun Gothic', var(--nav-font), 'serif';
    font-weight: 550;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: none !important;
    opacity: 1 !important;
    display: inline-block;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: 'Malgun Gothic', var(--nav-font), 'serif';
    font-weight: 550;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: none !important;
    opacity: 1 !important;
    transform: scale(1.1);
}

.nav-menu li:last-child a {
    padding-right: 0;
}

.nav-menu li:hover > a > span,
.nav-menu .active,
.nav-menu .active:focus {
    color: var(--nav-hover-color);
}

.nav-menu .dropdown ul {
    position: absolute;
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    top: 20px !important;
    transition: none !important;
    opacity: 1 !important;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.nav-menu .dropdown ul a {
    padding: 5px 10px;
    font-family: 'Malgun Gothic', var(--nav-font);
    font-size: 13px;
    text-transform: none;
    color: var(--nav-dropdown-color);
}

/* 상단 메뉴 팝업 레이어 글자 */
nav .dropdown-menu .dropdown-menu-2nd {
    /*padding: 20px 0 15px 0;*/
    font-size: 14px;
    font-weight: 700;
    /*color: #012970;*/
    color: rgba(94, 110, 130, 1);
    /*font-family: var(--nav-font);*/
}

nav .dropdown-menu .dropdown-menu-3rd {
    /*padding: 20px 0 15px 0;*/
    font-size: 14px;
    font-weight: 530;
    /*color: #012970;*/
    color: rgba(116, 129, 148, 1);
    /*font-family: var(--nav-font);*/
}

.nav-menu .dropdown ul a i {
    font-size: 18px;
}

.nav-menu .dropdown ul a:hover,
.nav-menu .dropdown ul li a.active,
.nav-menu .dropdown ul .active:hover,
.nav-menu .dropdown ul li div a.active,
.nav-menu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
}

.nav-menu .dropdown-menu,
.header-nav .dropdown-menu {
    transform: translate(0px, 38px) !important;
    border: 1px solid #cccccc;
    border-radius: 8px;
}

/* 왼쪽 메뉴 1차 메뉴명 */
#sidebar div.sub-menu-title {
    padding-left: 15px;
    font-size: 18px;
    font-family: 'Noto Sans KR Bold', var(--nav-font);
}


 /*모달 백드롭을 연하게 설정*/
.modal-backdrop {
    /*background-color: rgba(0, 0, 0, 0.7); !* 연한 회색 배경 (투명도 0.2) *!*/
    /*opacity: 0.1 !important;*/
    z-index: 1040 !important;
    background-color: rgba(0, 0, 0, 0); /* 초기 배경색 투명 */
    opacity: 0; /* 초기 투명도 0 */
    transition: opacity 0.05s ease-in-out, background-color 0.05s ease-in-out;
}
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.3); /* 나타났을 때의 배경색 (반투명 검정) */
    opacity: 0.1; /* 나타났을 때의 투명도 */
}
/* 버튼 크기 조정 */
.btn, button, .tabulator, .form-select, .form-control, .form-check, .form-control-plaintext, .input-group-text, .form-label {
    font-size: 14px;
}


/* 페이징 숫자 상단 마진 없애기 */
.tabulator .tabulator-footer .tabulator-page {
    margin-top: 0 !important;
}

.form-label {
    margin-bottom: 2px;
    color: #282f53;
}

/*!* 정상(is-valid)일 때 원래 스타일 강제 적용 *!*/
/*.form-control.is-valid {*/
/*    border-color: #dee2e6 !important;  !* Bootstrap 기본 회색 테두리 *!*/
/*    background-color: #fff !important; !* 기본 배경색 *!*/
/*    background-image: none !important; !* 체크 아이콘 제거 *!*/
/*}*/

/*!* input-group 내부 요소도 동일한 스타일 유지 *!*/
/*.input-group .form-control.is-valid,*/
/*.input-group .input-group-text.is-valid {*/
/*    border-color: #dee2e6 !important;*/
/*    background-color: #fff !important;*/
/*}*/

/*!*!*!* 기본 스타일 유지 - 정상 입력 시 초록색 테두리 제거 *!*!*!*/
/*.was-validated .form-control:valid,*/
/*.was-validated .form-select:valid {*/
/*    !*border-color: inherit !important; !* 기존 테두리 색상 유지 *!*!*/
/*    background-image: none !important; !* 부트스트랩 기본 아이콘 제거 *!*/
/*}*/
/*!*!*!* 기본 스타일 유지 - 정상 입력 시 초록색 테두리 제거 *!*!*!*/
.was-validated .form-control:valid,
.was-validated .form-select:valid,
.was-validated .form-check:valid,
.was-validated .input-group-text:valid {
    border-color: #dee2e6 !important;
    background-color: #ffffff;
    /*background-image: unset !important; !* 부트스트랩 기본 아이콘 제거 *!*/
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid,
.was-validated .form-check:invalid,
.was-validated .input-group-text:invalid {
    border-color: #dee2e6 !important;
    background-color: #ffe6e6;
}

/* 발리데이션 정상 시 우측에 나타나는 녹색 체크 제거 */
.form-control.is-valid, .was-validated .form-control:valid {
    /*border-color: var(--bs-form-valid-border-color);*/
    padding-right: 0.75rem !important;
    /*padding-right: calc(1.5em + .75rem) !important;*/
    background-image: none;
    /*background-repeat: no-repeat;*/
    /*background-position: right calc(.375em + .1875rem) center;*/
    /*background-size: calc(.75em + .375rem) calc(.75em + .375rem);*/
}

/* 발리데이션 정상 시 우측에 나타나는 녹색 체크 제거 */
.form-select.is-valid:not([multiple]):not([size]),
.form-select.is-valid:not([multiple])[size="1"],
.was-validated .form-select:valid:not([multiple]):not([size]),
.was-validated .form-select:valid:not([multiple])[size="1"] {
    --bs-form-select-bg-icon: none;
    /*padding-right: calc(1.5em + .75rem) !important;*/
    padding-right: 2.25rem !important;
    /*background-position: right .75rem center, center right 2.25rem;*/
    /*background-size: 0 0, calc(.75em + .375rem) calc(.75em + .375rem);*/
}

/*!*!* 유효성 검사 시에도 깨지지 않도록 강제 유지 *!*!*/
.input-group .form-control.is-invalid,
.input-group .form-control.is-valid {
    display: flex !important;
}

/*/* invalid-feedback이 공간을 차지하지 않도록 */
.input-group .invalid-feedback {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    margin-top: 0;
}

/* 아이콘과 설명 간의 간격 설정 */
.help-icon {
    margin-right: 8px; /* 아이콘과 텍스트 간의 간격 */
    color: #007bff; /* 아이콘 색상 (필요에 따라 조정) */
    font-size: 16px; /* 아이콘 크기 조정 */
    vertical-align: middle; /* 아이콘과 텍스트 수평 정렬 */
}

/* 설명 텍스트 */
.help-message {
    font-size: 14px; /* 설명 텍스트 크기 */
    color: #6c757d; /* 설명 색상 (가볍게 회색톤) */
}

/*.toast {*/
/*    z-index: 1060 !important; !* Bootstrap의 기본 모달 z-index가 1050이므로, 그보다 큰 값으로 설정 *!*/
/*}*/

/*.modal-backdrop {*/
/*    z-index: 1050 !important; !* 모달 백드롭 z-index 기본값 *!*/
/*}*/

/*.toast-body {*/
/*    padding: 0;*/
/*}*/
/*--------------------------------------------------------------
* 토스트 메시지
*--------------------------------------------------------------*/
/* 토스트 위치 및 z-index 설정 */
.toast-container {
    z-index: 3000;
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
}

.message-text {
    display: inline-block;
    margin-left: 8px; /* 아이콘과 텍스트 사이 간격 */
    white-space: pre-line; /* 줄 바꿈을 적용하기 위해 필요 */
}

.d-flex.align-items-start {
    align-items: flex-start; /* 아이콘이 첫 번째 줄 앞에 위치하게 */
}

.toast-body br {
    display: block;
    margin-top: 4px; /* 줄바꿈 후 여백 추가 */
}

/*--------------------------------------------------------------
* tableStyle :: 입력항목 스타일 :: input-group 붙어 있는 스타일
*--------------------------------------------------------------*//* label의 너비를 동일하게 설정 */
.tableStyle label.input-group-text {
    min-width: 120px; /* 적절한 최소 너비 설정 */
    max-width: 120px; /* 최대 너비 설정 */
    height: 35px;
    font-size: 14px;
    font-family: 'Nato', sans-serif;
    display: block;
    background-color: #f6f9ff;
}

/* row에서 input-group이 flex로 잘 정렬되도록 */
/*.tableStyle .input-group {*/
/*    display: flex;*/
/*    align-items: center;*/
/*}*/

/* 입력 필드와 읽기 전용 필드 시각적 구분 */
.tableStyle .form-control[readonly],
.tableStyle .form-control[disabled] {
    background-color: #f8f9fa; /* 연한 회색 배경 */
    /*border: 1px solid #ccc;     !* 연한 회색 테두리 *!*/
    color: #6c757d; /* 회색 글자 */
}

.tableStyle .form-control:not([readonly]),
.tableStyle .form-control:not([disabled]) {
    /*background-color: #e0f7fa;*/
    /*border: 1px solid #007bff;  !* 파란색 테두리 *!*/
    /*color: #495057;              !* 어두운 글자 *!*/
}

.tableStyle .row {
    margin-bottom: -1px;
}

/*--------------------------------------------------------------
* tableStyle :: 입력항목 선 스타일 :: input-group 붙어 있는 스타일
*--------------------------------------------------------------*/
/* 1. 간격제거 : 첫번째 컬럼 우측 여백,마진 제거 */
.tableStyle .row [class^="col-"]:first-child {
    margin-right: 0;
    padding-right: 0;
}

/* 1. 간격제거 : 중간 컬럼 간격 제거 */
.tableStyle [class^="col-"]:not(:first-child):not(:last-child) {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* 1. 간격제거 : 마지막 컬럼 왼쪽 여백,마진 제거 */
.tableStyle .row [class^="col-"]:last-child {
    margin-left: 0;
    padding-left: 0;
}

/*-----------------------------*/
/* 2. 겹친 라인 처리 col 사이 여백 제거 */
.tableStyle .row [class^="col-"]:first-child .input-group-text {
}

/* 2. 겹친 라인 처리 col 사이 여백 제거 */
.tableStyle [class^="col-"]:not(:first-child):not(:last-child) .input-group-text {
    border-left: none;
}

/* 2. 겹친 라인 처리 col 사이 여백 제거 */
.tableStyle .row [class^="col-"]:last-child .input-group-text {
    border-left: none;
}

/*!*-----------------------------*!*/
/* 시작 row, 마지막 row 제외하고 모두 둥근 모서리 제거 */
.tableStyle .row label,
.tableStyle .row input,
.tableStyle .row select {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.tableStyle .row:first-child [class^="col-"]:first-child label {
    border-top-left-radius: var(--bs-border-radius);
}

.tableStyle .row:first-child [class^="col-"]:last-child input,
.tableStyle .row:first-child [class^="col-"]:last-child select {
    border-top-right-radius: var(--bs-border-radius);
}

.tableStyle .row:nth-last-child(1) [class^="col-"]:first-child label,
.tableStyle .row:nth-last-child(2) [class^="col-"]:first-child label {
    border-bottom-left-radius: var(--bs-border-radius);
}

.tableStyle .row:nth-last-child(1) [class^="col-"]:last-child input,
.tableStyle .row:nth-last-child(2) [class^="col-"]:last-child input,
.tableStyle .row:nth-last-child(1) [class^="col-"]:last-child select,
.tableStyle .row:nth-last-child(2) [class^="col-"]:last-child select {
    border-bottom-right-radius: var(--bs-border-radius);
}

/*--------------------------------------------------------------
* 유효성 검사
*--------------------------------------------------------------*/
/* 유효성 검사 오류 툴립 클릭 시 사라지게 */
.invalid-tooltip {
    cursor: pointer; /* 클릭 가능한 상태로 변경 */
}

/*--------------------------------------------------------------
* 내정보 사이즈
*--------------------------------------------------------------*/
@media (min-width: 576px) {
    .myinfo.container {
        max-width: 870px;
    }
}

@media (min-width: 768px) {
    .myinfo.container {
        max-width: 870px;
    }
}

/* 라벨 2라인일때 줄간격 줄임. */
.label-multi-line {
    line-height: 1.0; /* 줄 간격을 기존보다 줄임 */
    padding-top: 3px !important;
}

.terms-use p {
    text-indent: -1.4em; /* 번호를 왼쪽으로 당김 */
    padding-left: 1.4em; /* 본문을 안쪽으로 들여쓰기 */
    margin-bottom: 0.5rem;
    font-family: 'Nato', sans-serif;
}

/*---------------*/

.form-control[readonly],
.form-control[disabled],
span.input-group-text[readonly] {
    background-color: #f8f9fa !important; /* 연한 회색 배경 */
    /*border: 1px solid #ccc;     !* 연한 회색 테두리 *!*/
    color: #6c757d !important; /* 회색 글자 */
}

.mw-fit {
    max-width: fit-content;
}

.card-header.sub-menu-title,
.card-title.sub-menu-title {
    font-size: 15px;
    font-family: 'Noto Sans KR', sans-serif;
}

.table th {
    font-size: 14px;
    font-family: 'Nato', sans-serif;
}

.modal-title {
    font-size: 15px;
    font-family: 'Noto Sans KR Bold', sans-serif;
}

/* tabulator + - 크기 */
.tabulator-row .tabulator-cell .tabulator-data-tree-control {
    background: #fff;
    width: 14px;
    height: 14px;
}

/* tabulator 행 높이 줄이기 */
.tabulator-row {
    /*height: 24px !important; !* 원하는 높이로 조정 *!*/
    min-height: 30px !important;
}

/* 셀 높이 줄이기 폰트 줄이기 */
.tabulator-cell {
    padding-top: 4px !important; /* 상단 패딩 조정 */
    padding-bottom: 4px !important; /* 하단 패딩 조정 */
    font-size: 13px !important; /* 원하는 폰트 크기로 조정 */
}

/* 헤더 폰트 */
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
    font-family: 'Noto Sans KR Bold', sans-serif;
    font-weight: 400;
}

.tabulator .tabulator-header .tabulator-col-content {
    background-color: var(--bs-gray-100);
    /*#e9e9e9*/
}

.tabulator-cell input[type="checkbox"] {
    vertical-align: middle;
    margin-top: auto;
    margin-bottom: auto;
    width: 14px;
    height: 14px;
}

.input-group {
    position: relative; /* clear-btn의 기준점 설정 */
}

.required-dot {
    z-index: 100;
    width: 4px;
    height: 4px;
    background-color: red;
    border-radius: 50%;
    position: absolute;
    top: 3px; /* 상단으로 이동 */
    left: 3px; /* 왼쪽으로 이동 */
    /*display: none;*/
}

/*.clearable-input {*/
/*    padding-right: 20px; !* clear-btn 공간 확보 *!*/
/*}*/
/* 입력 필드 스타일 */
.clearable-input {
    padding-right: 30px; /* "x" 버튼을 위한 공간 확보 */
    /*border: 1px solid #ccc; !* 테두리 추가 *!*/
    /*border-radius: 4px; !* 둥근 모서리 *!*/
    /*font-size: 14px;*/
    /*outline: none; !* 포커스 시 기본 아웃라인 제거 *!*/
    /*width: 300px; !* 원하는 너비로 조정 *!*/
    /*height: 40px; !* 높이 조정 *!*/
    box-sizing: border-box; /* 패딩 포함 너비 계산 */
}

/* "x" 버튼 스타일 */
.clear-button {
    position: absolute;
    top: 5px;
    left: 5px;
    margin-left: -30px; /* 입력 필드와 겹치도록 조정 */
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    vertical-align: middle; /* 입력 필드와 수직 정렬 */
    z-index: 100;
}

/* "x" 버튼 호버 효과 */
.clear-button:hover {
    color: #333;
}

/* 툴팁 기본 스타일 */
.cell-tooltip {
    position: absolute;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
}

/* 계층형 그리드 앞 표시 */
.tabulator-cell .bi-dash-square {
    font-size: 14px;
    vertical-align: middle;
}

/* 계층형 그리드 노드 표시 */
.tree-branch-custom {
    margin-top: 0;
    padding-top: 0;
    width: 10px;
    height: 10px;
    border-left: 1px dotted #6e6b6b;
    border-bottom: 1px dotted #6e6b6b;
    display: inline-block;
    transform: rotate(0deg);
    line-height: 10px;
    vertical-align: top;
}

/* 그리드 헤어 줄바꿈 적용 */
.tabulator .title-multi-line {
    white-space: normal; /* 텍스트가 줄바꿈되도록 설정 */
    overflow: hidden; /* 넘치는 텍스트는 숨기기 */
    text-overflow: ellipsis; /* 텍스트가 넘칠 경우 생략 부호(...) 표시 */
    padding-top: 2px; /* 내부 여백 조정 */
    padding-Bottom: 0; /* 내부 여백 조정 */
    line-height: 1.0; /* 줄 간격을 기존보다 줄임 */
}

.tabulator-col-content.wrap-text {
    white-space: normal; /* 텍스트 줄바꿈 허용 */
    word-wrap: break-word; /* 긴 단어를 자동으로 줄바꿈 */
    display: -webkit-box; /* 여러 줄을 표시하기 위해 사용 */
    -webkit-line-clamp: 2; /* 최대 2줄로 제한 */
    -webkit-box-orient: vertical; /* 세로로 박스를 배치 */
    overflow: hidden; /* 넘치는 텍스트는 숨김 */
    text-overflow: ellipsis; /* 넘치는 텍스트에 생략 부호(...) 표시 */
    line-height: 1.2; /* 줄 간격 조정 */
    padding-top: 5px !important; /* 내부 여백 조정 */
    padding-Bottom: 0 !important; /* 내부 여백 조정 */
}

/* 한줄 건너 배경색 지정 */
/*.tabulator-row-even {*/
/*    background-color: #f2f2f2; !* 원하는 배경색 지정 *!*/
/*}*/

.tabulator-tree-level-0 .tabulator-cell:has(.tabulator-data-tree-control) {
    font-weight: bold;
}

.context-menu {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
}
.context-menu button {
    display: block;
    width: 120px;
    padding: 8px;
    border: none;
    background: white;
    text-align: left;
    cursor: pointer;
}
.context-menu button:hover {
    background: #f0f0f0;
}