@charset "utf-8";

@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');

* {
    font-family: 'NanumSquare', sans-serif !important;
    box-sizing: border-box;
}

:root {
    /* 라이트 모드 변수 */
    --background-color: #ffffff;
    --text-color: #333333;
    --border-color: #dddddd;
    --primary-color: #3498db;

    --bg-primary: #ffffff;
    --bg-secondary: #f4f4f4;
    --bg-tertiary: #eee;
    --bg-popup: rgba(0, 0, 0, 0.9);
    --bg-header: #ffffff;
    --bg-card: #fff;
    --bg-modal: #fff;
    --bg-button: #295baa;
    --bg-button-secondary: #fa6400;
    --bg-button-tertiary: #0091ff;
    --bg-button-disabled: #ccc;
    --bg-search: #f8f8f8;

    --text-primary: #333333;
    --text-secondary: #666;
    --text-tertiary: #999;
    --text-light: #ffffff;
    --text-dark: #000;
    --text-placeholder: #999;
    --text-link: #295baa;

    --border-primary: #dddddd;
    --border-secondary: #cccccc;
    --border-tertiary: #eee;
    --border-dark: #000;

    --accent-primary: #295baa;
    --accent-secondary: #fa6400;
    --accent-tertiary: #0091ff;

    --status-online: #32c5ff;
    --status-warning: #f7b500;
    --status-offline: #999;
    --status-success: #6dd400;
    --status-error: #ff2222;

    --shadow-color: rgba(0, 0, 0, 0.2);
    --overlay-color: rgba(0, 0, 0, 0.7);

    --neutral-background: #d3d3d3;
    --bg-panel: #ffffff;
    --bg-panel-header: #f8fafc;
    --bg-toggle: #ffffff;
    --bg-list-item: #ffffff;
    --bg-list-item-hover: #f8fafc;
    --border-color: #e5e7eb;
    --shadow-color: rgba(0, 0, 0, 0.15);
    --shadow-color-sm: rgba(0, 0, 0, 0.05);
    --title-color: #1e293b;
    --button-primary: #2563eb;
    --button-primary-disabled: #acc1e5;
    --button-primary-bg-disabled: #e8f0fd;
    --button-shadow: rgba(37, 99, 235, 0.2);
    --pagination-text: #1e40af;
    --pagination-border: rgba(0, 0, 0, 0.08);
    --border-card: #eee;

    --sms-input-bg: #ffffff;
}

.dark {
    /* 다크 모드 변수 */
    --background-color: #1a1a1a;
    --text-color: #f5f5f5;
    --border-color: #444444;
    --primary-color: #61dafb;

    --bg-primary: #1a1a1a;
    --bg-secondary: #2c2c2c;
    --bg-tertiary: #333;
    --bg-popup: rgba(10, 10, 10, 0.95);
    --bg-header: #1a1a1a;
    --bg-card: rgba(45, 45, 55, 0.9);
    --bg-modal: #252525;
    --bg-button: #3a71c8;
    --bg-button-secondary: #ff7d26;
    --bg-button-tertiary: #45a6ff;
    --bg-button-disabled: #555;
    --bg-search: #333;

    --text-primary: #f5f5f5;
    --text-secondary: #aaa;
    --text-tertiary: #777;
    --text-light: #ffffff;
    --text-dark: #f5f5f5;
    --text-placeholder: #777;
    --text-link: #61dafb;

    --border-primary: #444444;
    --border-secondary: #555555;
    --border-tertiary: #333;
    --border-dark: #f5f5f5;

    --accent-primary: #295baa;
    --accent-secondary: #ff7d26;
    --accent-tertiary: #45a6ff;

    --status-online: #32c5ff;
    --status-warning: #f7b500;
    --status-offline: #999;
    --status-success: #6dd400;
    --status-error: #ff2222;

    --shadow-color: rgba(0, 0, 0, 0.4);
    --overlay-color: rgba(0, 0, 0, 0.8);

    --neutral-background: #2c2c2c;
    --bg-panel: #1a1a1a;
    --bg-panel-header: #2c2c2c;
    --bg-toggle: #2c2c2c;
    --bg-list-item: #2c2c2c;
    --bg-list-item-hover: #333333;
    --border-color: #444444;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-color-sm: rgba(0, 0, 0, 0.2);
    --title-color: #f5f5f5;
    --button-primary: #3a71c8;
    --button-primary-disabled: #4a5568;
    --button-primary-bg-disabled: #374151;
    --button-shadow: rgba(37, 99, 235, 0.3);
    --pagination-text: #81a1e1;
    --pagination-border: rgba(255, 255, 255, 0.1);
    --border-card: #555561;

    --sms-input-bg: #252525;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 구성요소별 스타일 예시 */
.card {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

html,
body {
    width: 100%;
    /* height: 100%; */
}
#root {
    width: 100%;
    height: 100%;
}
.wrap {
    position: relative;
    width: 100%;
    height: 100%;
    /* min-width: 1600px; */
    overflow-x: auto;
}
.wrap.home {
    /* background-color: #f4f4f4; */
    padding: 50px;
}

.login_wrap {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 50px 100px;
}
.video_bg.login {
    width: 100%;
    height: 100vh;
}
.video_bg {
    position: absolute;
    width: 100%;
    height: auto;
    left: 0;
    top: 0;
    z-index: -1;
    overflow: hidden;
}
.video_bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 0;
    background-color: rgba(9, 33, 51, 0.7);
}
.video_bg video {
    width: 140%;
    margin-left: -15%;
}

h1.bi span {
    display: block;
    color: var(--text-light);
}
h1.bi .tl {
    background: url('../images/bi_symbol.svg') 0 center no-repeat;
    background-size: 40px 40px;
    font-size: 42px;
    font-weight: 600;
    padding-left: 55px;
}
/* h1.bi .tl:after {
  content: '';
  display: inline-block;
  margin-left: 5px;
  width: 25px;
  height: 4px;
  background-color: #FA6400;
} */
h1.bi .con {
    font-size: 16px;
    opacity: 0.3;
}

.login_util {
    position: absolute;
    right: 100px;
    top: 50px;
}
.login_util li {
    display: inline-block;
    color: var(--text-light);
    font-size: 14px;
    opacity: 0.5;
    margin-left: 20px;
    cursor: pointer;
}

.login_input {
    position: absolute;
    z-index: 10;
    width: 550px;
    height: auto !important;
    min-height: 400px !important;
    top: 50%;
    left: 100px;
    transform: translate(0, -50%);
}
.login_input .login_tl {
    font-size: 80px;
    font-weight: bold;
    letter-spacing: -1px;
    color: var(--text-light);
}

.id_pass_input {
    height: 60px !important;
    line-height: 60px !important;
    background-color: #333;
    border: 0 !important;
    border-radius: 10px !important;
    font-size: 24px !important;
    padding-left: 30px !important;
    color: #fff;
}
.id_input {
    position: relative;
}
.id_input:after {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    color: var(--text-light);
    font-family: 'remixicon' !important;
    content: '\f264';
}
.pass_input {
    position: relative;
}
.pass_input:after {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    color: var(--text-light);
    font-family: 'remixicon' !important;
    content: '\EED0';
}
.pass_input .alert {
    width: 100%;
    position: absolute;
    color: var(--status-warning);
    font-size: 20px;
    line-height: 60px;
    padding-left: 20px;
}

.id_pass_input::placeholder {
    color: var(--text-placeholder);
}

.name_input {
    position: relative;
}
.name_input:after {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    color: var(--text-light);
    font-family: 'remixicon' !important;
    content: '\EC8D';
}
.mail_input {
    position: relative;
}
.mail_input:after {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    color: var(--text-light);
    font-family: 'remixicon' !important;
    content: '\EEF6';
}
.phone_input {
    position: relative;
}
.phone_input:after {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    color: var(--text-light);
    font-family: 'remixicon' !important;
    content: '\F15A';
}
.company_input {
    position: relative;
}
.company_input:after {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    color: var(--text-light);
    font-family: 'remixicon' !important;
    content: '\EBBA';
}

.button.login {
    position: relative;
    height: 60px !important;
    line-height: 60px !important;
    background-color: var(--accent-secondary);
    border: 0 !important;
    border-radius: 10px !important;
    font-size: 24px !important;
    font-weight: bold !important;
    text-align: left;
    color: var(--text-light);
    padding: 0 !important;
    padding-left: 30px !important;
}
.button.login::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    color: var(--text-light);
    font-family: 'remixicon' !important;
    content: '\EED6';
}
.button.pass {
    position: relative;
    height: 60px !important;
    line-height: 60px !important;
    background-color: var(--accent-tertiary);
    border: 0 !important;
    border-radius: 10px !important;
    font-size: 24px !important;
    font-weight: bold !important;
    text-align: left;
    color: var(--text-light);
    padding: 0 !important;
    padding-left: 30px !important;
}
.button.pass::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    color: var(--text-light);
    font-family: 'remixicon' !important;
    content: '\EED0';
}
.button.single {
    min-width: 200px;
    line-height: 60px !important;
    background-color: var(--text-secondary);
    border: 0 !important;
    border-radius: 10px !important;
    font-size: 20px !important;
    font-weight: normal !important;
    text-align: center;
    color: var(--text-light);
    padding: 0 !important;
}

.login_footer {
    position: absolute;
    left: 100px;
    bottom: 50px;
    color: #53585d;
    font-size: 20px;
}

/* modal */
.modal_popup {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: var(--bg-popup);
    top: 0;
    left: 0;
}

.modal_popup .join_wrap {
    width: 1000px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.modal_popup .join_wrap h1 {
    color: var(--text-light);
}

.modal_popup .joincomp_wrap {
    width: 450px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.modal_popup .joincomp_wrap h1 {
    color: var(--text-light);
}

.modal_popup .search_id_wrap {
    width: 450px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.modal_popup .search_id_wrap h1 {
    color: var(--text-light);
}
.modal_popup .view {
    width: 800px;
}

.modal_popup .mymenu_wrap {
    width: 500px;
    position: absolute;
    top: 150px;
    right: 50px;
    text-align: right;
}
.modal_popup .mymenu_wrap h1 {
    color: var(--text-light);
    font-size: 42px;
}
.modal_popup .mymenu_wrap li {
    cursor: pointer;
}

.right_list li {
    font-size: 28px;
    line-height: 100px;
    color: var(--text-light);
}

.modal_popup .popup_block {
    position: absolute;
    z-index: 100;
    background-color: var(--bg-modal);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    padding: 30px;
}
.modal_popup .popup_block h1 {
    font-size: 28px;
}

.modal {
    position: fixed;
    background-color: var(--bg-modal);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    padding: 30px;
}

.modal h1 {
    font-size: 28px;
}
.header {
    position: fixed;
    display: grid;
    grid-template-columns: auto 1fr auto;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--bg-header);
    padding: clamp(15px, 2.5vw, 30px) clamp(20px, 4vw, 50px);
    z-index: 10;
}
.reload-container,
.notimer {
    grid-column: 1;
    justify-self: start;
    width: 150px;
}

.header .gnb {
    grid-column: 2;
    justify-self: center;
    display: flex;
    position: relative;
}

.header .gnb h1.bi span {
    display: block;
    color: var(--accent-primary);
    margin-top: 4px;
}
.header .gnb h1.bi .tl {
    background: url('../images/ci_color.svg') 0 center no-repeat;
    background-size: clamp(32px, 3.5vw, 40px);
    font-size: clamp(24px, 2.5vw, 30px);
    font-weight: bolder;
    padding-left: clamp(45px, 4.5vw, 55px);
}

.header .gnb .menu {
    position: relative;
    line-height: clamp(40px, 4vw, 50px);
    height: clamp(40px, 4vw, 50px);
    border-radius: clamp(20px, 2vw, 25px);
    margin-left: clamp(20px, 2.5vw, 30px);
    padding-left: clamp(12px, 1.2vw, 15px);
    padding-right: clamp(45px, 4.5vw, 55px);
    background-color: var(--accent-primary);
}
.header .gnb .menu li {
    display: inline-block;
    margin: 0 clamp(10px, 1.2vw, 15px);
    cursor: pointer;
    font-size: clamp(16px, 1.6vw, 18px);
    color: var(--text-light);
}

.header .gnb .menu li i {
    font-size: clamp(20px, 2vw, 24px);
    vertical-align: middle;
    margin-right: clamp(4px, 0.4vw, 5px);
}
.header .gnb .btn_menu {
    position: absolute;
    background-color: var(--accent-primary);
    border-radius: 100%;
    top: 0px;
    width: clamp(32px, 3.5vw, 40px);
    height: clamp(32px, 3.5vw, 40px);
    border-radius: 100%;
    right: clamp(-50px, -4.5vw, -55px);
}
.header .gnb .btn_menu:after {
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    color: var(--text-light);
    font-family: 'remixicon' !important;
    content: '\EF3E';
    transform: rotate(90deg);
    width: clamp(32px, 3.5vw, 40px);
    height: clamp(32px, 3.5vw, 40px);
    line-height: clamp(32px, 3.5vw, 40px);
    font-size: clamp(20px, 2vw, 24px);
}
.header .gnb .btn_menu.on {
    top: 5px;
    right: 5px;
    background: #113d82;
}
.header .gnb .btn_menu.on:after {
    font-family: 'remixicon' !important;
    content: '\EB99';
}
.reload-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px;
    padding: 0 5px;
    height: 40px;
    width: 150px;
    background-color: var(--neutral-background);
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.reload-container.active {
    background-color: var(--accent-primary);
    color: var(--text-light);
}

.reload-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--bg-primary);
}

.reload-clock-icon {
    font-size: 24px;
    color: #ccc;
}

.reload-container.active .reload-clock-icon {
    color: var(--accent-primary);
}

.reload-timer-text {
    font-weight: bold;
    text-align: center;
    min-width: 60px;
    color: var(--text-light);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reload-refresh-icon {
    font-size: 24px;
    color: #ccc;
}

.reload-container.active .reload-refresh-icon {
    color: var(--accent-primary);
    animation: spin 3s linear infinite;
}

.reload-settings {
    position: absolute;
    top: 45px;
    right: 0;
    width: 150px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-secondary);
    border-radius: 5px;
    box-shadow: 0 3px 5px var(--shadow-color);
    z-index: 100;
}

.reload-settings-header {
    padding: 10px;
    border-bottom: 1px solid var(--border-tertiary);
    font-weight: bold;
    font-size: 14px;
    color: var(--text-primary);
    text-align: center;
}

.reload-option {
    padding: 8px 10px;
    font-size: 14px;
    font-weight: bold;
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
}

.reload-option:hover {
    background-color: var(--bg-secondary);
}

.reload-option.selected {
    color: var(--accent-primary);
    background-color: #e6f2ff;
}

.reload-custom-input {
    display: flex;
    align-items: center;
    margin-top: 10px;
    justify-content: center;
}

.reload-custom-input input {
    width: 60px;
    padding: 4px 8px;
    border: 1px solid var(--border-secondary);
    border-radius: 4px;
    font-size: 14px;
    margin-right: 5px;
}

.reload-custom-input span {
    font-size: 14px;
    color: var(--text-secondary);
}

.reload-apply-container {
    margin: 10px;
    margin-top: 15px;
    border-top: 1px solid var(--border-tertiary);
    padding-top: 10px;
    text-align: center;
}

.reload-apply-button {
    background-color: var(--accent-primary);
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    padding: 6px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.reload-apply-button:hover {
    background-color: #1e4a8d;
}
/* Small Header 스타일 (1500px 이하) */
@media screen and (max-width: 1500px) {
    .header .gnb {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        width: 100%;
    }

    /* AIMON 로고 스타일 */
    .header .gnb h1.bi {
        margin: 0;
    }

    /* 메뉴 버튼 스타일 */
    .header .gnb .btn_menu {
        position: relative;
        top: auto !important;
        right: auto !important;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header .gnb .btn_menu:after {
        position: absolute;
        width: 40px;
        height: 40px;
        line-height: 40px;
        right: 0;
    }

    .header .gnb .btn_menu.on {
        background-color: var(--accent-primary) !important;
    }

    .header .gnb .btn_menu.on:after {
        content: '\EF3E' !important; /* 원래 아이콘 유지 */
        transform: rotate(90deg);
    }

    .header .gnb .menu {
        display: none;
    }
}
.user-controls {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: end;
    gap: 20px;
    height: 40px;
}

.myspace .name {
    font-size: clamp(5px, 1.4vw, 16px);
    border-bottom: solid 1px var(--border-dark);
    padding: clamp(2px, 0.3vw, 3px) 0;
    font-weight: bold;
}
.myspace .name.dashboard-name {
    color: var(--text-light);
    border-bottom-color: var(--text-light);
}
.btn_admin_sett {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 100%;
    background: var(--accent-primary);
    text-align: center;
    font-size: 24px;
    color: var(--text-light);
    margin-left: 10px;
}

.btn_close {
    position: absolute;
    top: clamp(30px, 4vw, 50px);
    right: clamp(30px, 4vw, 50px);
}
.btn_close:after {
    position: absolute;
    top: 0;
    right: 0;
    font-size: clamp(40px, 5vw, 60px);
    color: var(--text-light);
    font-family: 'remixicon' !important;
    content: '\EB99';
}

.contents {
    margin-top: 70px;
}
.contents h1 {
    font-size: 42px;
    vertical-align: middle;
}
.contents h1 i {
    font-weight: 100;
}
.contents h1.sub {
    color: var(--text-tertiary);
}
.contents h1 .arrow {
    position: relative;
    width: 15px;
    height: 20px;
    color: var(--text-tertiary);
    vertical-align: middle;
    margin: 0 10px;
}
.contents h1 .arrow:after {
    font-size: 45px;
    text-align: center;
    color: var(--text-tertiary);
    font-family: 'remixicon' !important;
    content: '\EA6E';
}

h1 .arrow {
    position: relative;
    width: 15px;
    height: 20px;
    color: var(--text-tertiary);
    vertical-align: middle;
    margin: 0 10px;
}
h2 .arrow:after {
    font-size: 35px;
    text-align: center;
    color: var(--text-tertiary);
    font-family: 'remixicon' !important;
    content: '\EA6E';
    vertical-align: middle;
}

h1.sub .sub_title {
    font-size: 34px;
    color: var(--text-dark);
    vertical-align: middle;
}

h2.sub {
    color: var(--text-tertiary);
}
h2.sub .tl {
    color: var(--text-dark);
}

.search_wrap {
    display: flex;
    flex-wrap: wrap;
}
.search_wrap .select {
    width: auto;
    min-width: 250px;
    height: 40px;
    margin: 0;
}
.search_wrap .select.min_width120 {
    min-width: 120px;
}
.search_wrap .select.min_width150 {
    min-width: 150px;
}
.search_wrap .select.min_width170 {
    min-width: 150px;
}
.search_wrap .select.min_width190 {
    min-width: 190px;
}

.search_wrap .block .tl {
    width: 150px;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    line-height: 60px;
}

.search_wrap h2 {
    font-size: 22px;
}

.select select {
    border: 0;
    background-color: var(--accent-primary) !important;
    color: rgba(256, 256, 256, 0.4) !important;
    font-size: 16px;
    line-height: 20px;
    border-radius: 8px;
    padding: 10px 15px;
}
.select_arrow {
    position: absolute;
    top: 13px;
    right: 19px;
    width: 0px;
    height: 0px;
    border: solid var(--text-light);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.select select:hover ~ .select_arrow,
.select select:focus ~ .select_arrow {
    border-color: var(--text-light);
}
.select select:disabled ~ .select_arrow {
    border-top-color: var(--text-light);
}

select.small {
    padding: 7px 15px;
    font-size: 18px;
    background-color: var(--bg-primary, #ffffff);
    color: var(--text-primary, #000000);
    border: 1px solid var(--border-primary, #cccccc);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.input_block {
    width: calc(50% - 120px);
    height: 60px !important;
    line-height: 60px !important;
    border: solid 1px var(--accent-primary) !important;
    border-radius: 8px;
    font-size: 20px !important;
    padding: 0 10px 0 20px !important;
    color: var(--accent-primary);
}

.search_input {
    width: calc(100% - 100px);
    height: 55px !important;
    line-height: 55px !important;
    border: solid 0px var(--accent-primary) !important;
    font-size: 20px !important;
    padding: 0 !important;
    background-color: var(--bg-modal) !important;
    color: var(--text-primary) !important;
}

.button.btn_search {
    position: relative;
    width: 160px;
    height: 40px;
    line-height: 40px;
    background-color: var(--accent-secondary);
    color: var(--text-light);
    border: 0;
    border-radius: 8px;
    font-size: 16px;
    text-align: left;
    padding: 0 20px;
}
.button.btn_search:after {
    position: absolute;
    top: 0;
    right: 15px;
    font-size: 25px;
    color: var(--text-light);
    font-family: 'remixicon' !important;
    content: '\F0CD';
}

.list_wrap .list_sum {
    font-size: clamp(12px, 2vw, 20px);
}

.list_wrap .list_sum .btn_block > div,
select {
    cursor: pointer;
}

.list_wrap .list_sum .info {
    margin-left: 50px;
    color: var(--text-tertiary);
}
.list_wrap.chart_on {
    width: 430px;
}

.card_detail {
    box-shadow: 0px 0px 10px 0.5px var(--shadow-color);
    border-radius: 12px;
    padding: 40px;
    display: flex;
}
.card_detail .device,
.card_detail .state {
    display: flex;
}

.card_detail .device {
    position: relative;
    width: 60%;
}
.card_detail .device:after {
    position: absolute;
    width: 1px;
    height: 80px;
    right: 0;
    top: 0;
    content: '';
    background-color: var(--bg-tertiary);
}
.card_detail .device div {
    position: relative;
    width: 33.333%;
    padding-left: 85px;
}
.card_detail .device div:before {
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: 100%;
    content: '';
    left: 0;
    top: 5px;
}
.card_detail .device div:after {
    position: absolute;
    font-size: 35px;
    content: '';
    top: 19px;
    left: 15px;
    color: var(--text-light);
    font-family: 'remixicon' !important;
}
.card_detail .device .all:before {
    background-color: var(--accent-primary);
}
.card_detail .device .all:after {
    content: '\F09C';
}
.card_detail .device .line:before {
    background-color: var(--status-success);
}
.card_detail .device .line:after {
    content: '\F0DD';
}
.card_detail .device .wireless:before {
    background-color: var(--status-online);
}
.card_detail .device .wireless:after {
    content: '\EAF8';
}

.card_detail .device div span {
    display: block;
}
.card_detail .device div .tl {
    font-size: 18px;
    color: var(--text-tertiary);
}
.card_detail .device div .count {
    font-size: 45px;
    color: var(--text-dark);
    margin-top: 10px;
}
.card_detail .device .all .count {
    color: var(--accent-primary);
    font-weight: bold;
}

.card_detail .state {
    width: 40%;
    padding: 0 20px;
}
.card_detail .state div {
    position: relative;
    width: 33.333%;
    padding-left: 80px;
}
.card_detail .state div span {
    display: block;
}
.card_detail .state div .tl {
    font-size: 18px;
    color: var(--text-tertiary);
}
.card_detail .state div .count {
    font-size: 45px;
    color: var(--text-dark);
    margin-top: 10px;
}
.card_detail .state div:before {
    position: absolute;
    font-size: 35px;
    content: '';
    top: 19px;
    left: 25px;
    font-family: 'remixicon' !important;
}

.card_detail .state .online:before {
    content: '\F2C0';
    color: var(--status-online);
}
.card_detail .state .weak:before {
    content: '\F12C';
    color: var(--status-warning);
}
.card_detail .state .offline:before {
    content: '\F136';
    color: var(--text-tertiary);
}

.tab_block {
    display: flex;
    width: 100%;
    border-bottom: solid 1px var(--border-secondary);
}
.tab_block li {
    font-size: 24px;
    line-height: 62px;
    padding-right: 100px;
    /* color: #666; */
}
.tab_block li.on {
    border-bottom: solid 2px var(--accent-primary);
    /* color: #295baa;
    font-weight: 900; */
}
.tab_block li a {
    color: var(--text-secondary);
}
.tab_block li.on a {
    color: var(--accent-primary);
    font-weight: 900;
}

.button.btn_write {
    position: relative;
    background-color: var(--accent-primary);
    color: var(--text-light);
    border: 0;
    border-radius: 8px;
    font-size: 16px;
    text-align: left;
    padding: 10px 64px 10px 20px;
}
.button.btn_write:after {
    position: absolute;
    top: 7px;
    right: 15px;
    font-size: 25px;
    color: var(--text-light);
    font-family: 'remixicon' !important;
    content: '\EA13';
}

.button.point {
    background-color: var(--accent-primary) !important;
    border: 0;
    color: var(--text-light);
}

.detail_grid {
    display: flex;
    flex-wrap: wrap;
    border-top: solid 2px var(--border-tertiary);
}
.detail_grid li {
    display: flex;
    width: 50%;
    border-bottom: solid 1px var(--border-tertiary);
    padding: 5px 20px;
}
.detail_grid li .tl {
    flex-shrink: 0;
    width: 150px;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    vertical-align: middle;
    line-height: 45px;
}
.detail_grid li .con {
    font-size: 18px;
    line-height: 45px;
    width: calc(100% - 150px);
    color: var(--text-primary);
    vertical-align: middle;
}
.detail_grid li .con div {
    line-height: 40px;
}

.button.basic {
    position: relative;
    height: 40px;
    line-height: 40px !important;
    background-color: var(--border-secondary);
    border: 0 !important;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold !important;
    color: var(--text-light);
    padding: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

input.write {
    height: 40px !important;
    line-height: 40px !important;
    border: solid 1px var(--border-secondary) !important;
    font-size: 16px !important;
    padding: 0 !important;
    padding-left: 20px !important;
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

input.write-mobile {
    height: 44px !important;
    border: solid 1px var(--border-primary) !important;
    font-size: 14px !important;
    padding: 0 !important;
    padding-left: 20px !important;
    border-radius: 22px;
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

textarea.write {
    line-height: 24px !important;
    border: solid 1px var(--border-secondary) !important;
    font-size: 16px !important;
    padding: 20px !important;
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}
.ui-checkbox {
    position: relative;
    padding: 12px 15px 12px 40px;
    font-size: 16px;
    color: var(--text-tertiary);
    border-radius: 8px;
    background-color: var(--bg-primary);
    border: solid 1px var(--border-secondary);
    cursor: pointer;
}

.ui-checkbox.checked {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}
.ui-checkbox:before {
    position: absolute;
    left: 10px;
    top: 7px;
}

.sel_bl {
    padding: 5px 10px;
    background-color: var(--accent-primary);
    color: var(--text-light);
    border-radius: 30px;
    display: inline-block;
    font-size: 13px;
    margin: 0 10px 5px 0;
    height: 25.56px;
}
.sel_bl.del {
    position: relative;
    padding-right: 30px;
}
.sel_bl.del i {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    background-color: var(--accent-tertiary);
    text-align: center;
    line-height: 25px;
}

.ui_tree {
    width: 100%;
    max-height: 350px;
    overflow-y: auto;
}
.ui_tree .tree_block {
    width: 100%;
    border-bottom: solid1px var(--border-tertiary);
    padding-top: 7px;
    padding-bottom: 7px;
}
.Width-tree {
    width: calc(100% - 100px);
    background-color: var(--bg-primary, #2c2c2c);
    color: var(--text-primary, #f5f5f5);
    border-color: var(--border-primary, #444444);
}
.tree_btn {
    display: inline-block;
    width: 50px;
    text-align: center;
    cursor: pointer;
}
.tree_btn i {
    font-size: 21px;
}
.ui_tree .tree_block.two {
    position: relative;
    width: calc(100% - 50px);
    margin-left: 50px;
}
.ui_tree .tree_block.two:after {
    position: absolute;
    top: 7px;
    left: -40px;
    width: 50px;
    font-size: 24px;
    color: var(--text-secondary);
    font-family: 'remixicon' !important;
    content: '\f309';
}
.ui_tree .tree_block.three {
    position: relative;
    width: calc(100% - 100px);
    margin-left: 100px;
}
.ui_tree .tree_block.three:after {
    position: absolute;
    top: 7px;
    left: -40px;
    width: 50px;
    font-size: 24px;
    color: var(--text-secondary);
    font-family: 'remixicon' !important;
    content: '\f309';
}

.react-datepicker__tab-loop {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

/* 1214 수정 */
.ag-checkbox-input-wrapper input,
.ag-checkbox-input-wrapper input {
    opacity: 1 !important;
    width: 25px !important;
    height: 25px !important;
}
.ag-checkbox-input-wrapper::after {
    display: none !important;
}
.ag-checkbox .ag-input-wrapper,
.ag-radio-button .ag-input-wrapper {
    margin-top: -8px !important;
    margin-right: 5px !important;
    margin-left: -5px !important;
}
.react-datepicker__time-container {
    width: 120px !important;
}
.react-datepicker__time-box {
    width: 120px !important;
}
.react-datepicker__time-list-item {
    width: 100% !important;
}

/* 0109 수정 */
.ag-horizontal-left-spacer {
    display: none;
}
.ag-scroller-corner {
    display: none;
}
.ag-body-horizontal-scroll-container {
    /* width: 4350px !important; */
    /* width: 4530px !important; */
    /* width: 5120px !important; */
    width: 6000px !important;
}

/* 0123 수정 */
.min-width-unset {
    min-width: unset !important;
}
.num_find {
    height: 456px !important;
}
.h-520 {
    height: 520px !important;
}

.ag-icon {
    font-family: var(--ag-icon-font-family) !important;
}

.required::after {
    content: ' *';
    color: red;
}
.pagenation .first,
.pagenation .prev,
.pagenation .next,
.pagenation .last,
.pagenation .page,
.pagenation .page.on {
    cursor: pointer;
}

.device_detail_grid {
    display: grid;
    gap: 10px;
    border-top: 2px solid var(--border-tertiary);
}

.device_detail_grid li {
    display: flex;
    border-bottom: 1px solid var(--border-tertiary);
    padding: 5px 20px;
}

.device_detail_grid li .tl {
    flex-shrink: 0;
    width: 150px;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    vertical-align: middle;
    line-height: 45px;
}

.device_detail_grid li .con {
    font-size: 18px;
    line-height: 45px;
    width: calc(100% - 150px);
    color: var(--text-primary);
    vertical-align: middle;
}

.device_detail_grid li .con div {
    line-height: 40px;
}

.map_cell {
    grid-column: 2 / 3;
    grid-row: 1 / span 7;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.device_detail_grid .Width-100 {
    grid-column: 1 / 3;
}

.install-location {
    align-items: center;
}
.install-location .con {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.button-x {
    margin-left: 10px;
    font-size: 15px;
    background-color: red;
    color: var(--text-light);
    border-radius: 4px;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.sms_box {
    border: solid 1px var(--accent-primary) !important;
    border-radius: 8px;
    height: 150px;
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

.bizItm-box {
    display: flex;
    flex-direction: row;
    /* width: 50%; */
    height: 40px;
}

.bizItm-text-box {
    font-size: 16px;
    color: var(--text-dark);
    border-radius: 10px;
    border: solid 1px var(--border-secondary);
    text-align: center;
    cursor: pointer;
    width: 100%;
}

.bizItm-button {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.cursor-pointer {
    cursor: pointer;
}

.termsContent {
    font-size: 22px !important;
}

.termsContent > div {
    font-size: inherit !important;
}

.termsContent table {
    font-size: 22px !important;
}

.termsContent table th,
.termsContent table td {
    font-size: inherit !important;
}
.no_data {
    padding: 20px 0;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 18px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-secondary);
}

/* AG-Grid 헤더 스타일 */
.ag-theme-alpine-custom .ag-header {
    background-color: var(--accent-primary);
}

.ag-theme-alpine-custom .ag-header-cell {
    color: var(--text-light);
}
.ag-theme-alpine-custom .ag-header-cell-label {
    justify-content: center;
    text-align: center;
}

.card_list_block .card {
    width: 100%;
    height: 100%;
    margin-top: 10;
    box-shadow: 0px 0px 10px 0.5px var(--shadow-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
}

.card_list_block .card .device {
    padding: 20px;
    border-bottom: solid 1px var(--border-tertiary);
    flex: 1;
}

.card_list_block .card .device .router {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card_list_block .card .device .router .name {
    font-size: 20px;
    font-weight: bold;
}

.card_list_block .card .device .router .count {
    font-size: 16px;
    font-weight: normal;
}

.card_list_block .card .device .line {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.card_list_block .card .device .line .wire {
    position: relative;
    font-size: 32px;
    font-weight: bold;
    padding-left: 40px;
    padding-top: 8px;
}

.card_list_block .card .device .line .wire:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    font-size: 30px;
    color: var(--status-success);
    font-family: 'remixicon' !important;
    content: '\F0DD';
    font-weight: 100;
}

.card_list_block .card .device .line .wire:after {
    position: absolute;
    top: 35px;
    left: 0;
    display: block;
    font-size: 16px;
    color: var(--status-success);
    content: '유선';
}

.card_list_block .card .device .line .wireless {
    position: relative;
    font-size: 32px;
    font-weight: bold;
    padding-left: 40px;
    padding-top: 8px;
}

.card_list_block .card .device .line .wireless:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    font-size: 30px;
    color: var(--status-online);
    font-family: 'remixicon' !important;
    content: '\EAF8';
    font-weight: 100;
}

.card_list_block .card .device .line .wireless:after {
    position: absolute;
    top: 35px;
    left: 0;
    display: block;
    font-size: 16px;
    color: var(--status-online);
    content: '무선';
}

.card_list_block .card .state {
    display: flex;
    border-top: 1px solid var(--border-tertiary);
    background: var(--bg-card);
    border-radius: 0 0 12px 12px;
}

.card_list_block .card .state li {
    border-right: solid 1px var(--border-tertiary);
    flex-grow: 1;
    text-align: center;
    padding: 20px 0;
    position: relative;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-secondary);
}

.card_list_block .card .state li:last-child {
    border: 0;
}

.card_list_block .card .state li span {
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
}

.card_list_block .card .state li span:before {
    font-size: 20px;
    font-family: 'remixicon' !important;
    font-weight: 100;
    margin-right: 5px;
}

.card_list_block .card .state .online span {
    color: var(--status-online);
}

.card_list_block .card .state .online span:before {
    color: var(--status-online);
    content: '\F12C';
}

.card_list_block .card .state .weak span {
    color: var(--status-warning);
}

.card_list_block .card .state .weak span:before {
    color: var(--status-warning);
    content: '\EAF8';
}

.card_list_block .card .state .offline span {
    color: var(--text-tertiary);
}

.card_list_block .card .state .offline span:before {
    color: var(--text-tertiary);
    content: '\F136';
}
.dashboard-arrow:after {
    font-size: clamp(20px, 3.5vw, 45px);
    text-align: center;
    color: var(--text-tertiary);
    font-family: 'remixicon' !important;
    content: '\EA6E';
    display: block;
    margin: 0 clamp(3px, 1.5vw, 15px);
    line-height: 1;
}

.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.001);
    backdrop-filter: blur(2px);
}

.modal-content {
    position: relative;
    background-color: #25283b;
    padding: 30px;
    border-radius: 12px;
    min-width: 500px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.preview-modal {
    width: 95vw;
    height: 90vh;
    background: #1a1a1a;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    position: relative;
}

.modal-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 1rem;
}

.preview-title {
    font-size: 1.5rem;
    color: var(--text-light);
    margin: 0;
}

.close-button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-button:hover {
    transform: translateY(-50%) scale(1.1);
}

.device-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.device-dimensions {
    color: #888;
    font-size: 0.9rem;
}

.preview-container {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preview-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    position: relative;
}

.device-wrapper {
    position: relative;
    background: #000;
    border-radius: 30px;
    box-shadow: 0 10px 20px var(--shadow-color);
    padding: 20px;
    transition: transform 0.3s ease;
}

.responsive-scale {
    transform-origin: center center;
    transform: scale(var(--device-scale, 1));
}

.device-screen {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.device-frame {
    background-color: var(--bg-primary);
    overflow: hidden;
}

.device-content {
    width: 100%;
    padding: 0px 15px;
    overflow-y: scroll;
}
.device-content::-webkit-scrollbar {
    display: none;
}
.nav-button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.nav-button.prev {
    left: 0;
}

.nav-button.next {
    right: 0;
}

.nav-button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.nav-button i {
    font-size: 40px;
}

.empty-state {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}
.react-grid-item.react-grid-placeholder {
    display: none;
}

.grid-emptyCell {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.empty-cell {
    position: absolute;
    background-color: var(--bg-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    box-shadow: 0px 0px 10px 0.5px var(--shadow-color);
}

.empty-cell .rectangle-background {
    width: 80px;
    height: 80px;
    background-color: var(--bg-secondary);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.empty-cell .add-icon {
    width: 30px;
    height: 30px;
    background: url('/assets/images/ico_add.png') center center no-repeat;
    background-size: 30px;
}

.empty-cell .rectangle-background:hover {
    transform: scale(1.2);
}

.react-resizable-handle {
    background: url('/assets/images/ico_resize.png') center center no-repeat !important;
    background-size: 16px !important;
    opacity: 0.3;
    transition: all 300ms ease-out;
    transform-origin: center center;
    z-index: 4;
}

.react-grid-item:hover .react-resizable-handle {
    opacity: 0.8;
}

.react-grid-item.react-draggable-dragging {
    z-index: 5;
}

.react-grid-item.deleting .react-resizable-handle {
    opacity: 0 !important;
}

.grid-item {
    z-index: 3;
    height: 100%;
    width: 100%;
    position: relative;
}

.grid-item.adding .grid-item-inner {
    animation: addComponentFromCenter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center center;
}

.grid-item.adding .react-resizable-handle {
    animation: addComponentFromCenter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center center;
}

@keyframes addComponentFromCenter {
    0% {
        opacity: 0;
        transform: translate(calc(50vw - 50%), calc(50vh - 50%)) scale(0.3);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}
.layout-container {
    padding: 50px;
}
.grid-item-inner {
    height: 100%;
    width: 100%;
    position: relative;
    transition: all 300ms ease-out;
    border: 1px solid transparent;
    border-radius: 10px;
}

.grid-item.deleting {
    transition: all 300ms ease-out;
}

.grid-item.deleting .grid-item-inner {
    opacity: 0;
    transform: scale(0.8);
    transition: all 300ms ease-out;
}

.grid-item.deleting .react-resizable-handle {
    opacity: 0;
    transform: scale(0.8);
    transition: all 300ms ease-out;
}

.delete-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    border: none;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    opacity: 1;
}

.delete-button:hover {
    background-color: #f44336;
    transform: scale(1.1);
}

.delete-button i {
    font-size: 14px;
    color: var(--text-primary);
}

.react-resizable {
    position: relative;
}

.react-resizable-handle {
    position: absolute;
    width: 20px;
    height: 20px;
    bottom: 0;
    right: 0;
    cursor: se-resize;
    border-radius: 0 0 10px 0;
}

.react-resizable-handle-sw {
    bottom: 0;
    left: 0;
    cursor: sw-resize;
    transform: rotate(90deg);
    border-radius: 0 0 0 10px;
}

.react-resizable-handle-se {
    bottom: 0;
    right: 0;
    cursor: se-resize;
    border-radius: 0 0 10px 0;
}

.edit-mode {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.edit-mode:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px var(--shadow-color);
}

.context-menu {
    z-index: 1000;
    background-color: #2c3144;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-color);
}
.component-picker {
    color: var(--text-light);
}

.component-picker h2 {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    font-weight: 500;
}
.component-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.component-option {
    background-color: #2c3144;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    min-height: 60px;
    font-size: 1rem;
}

.component-option:hover {
    background-color: #363b52;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.component-option:active {
    transform: translateY(0);
}

.component-option i {
    font-size: 1.5rem;
    opacity: 0.8;
}

.component-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-right: 12px;
}

.gauge-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.charts-container {
    height: 70%;
    display: flex;
    justify-content: space-between;
    min-height: 0;
}

.chart-wrapper {
    width: 48%;
    height: 100%;
    position: relative;
}

.stats-container {
    height: 30%;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-card);
    min-height: 0;
}

.stat-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

.stat-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.divider {
    height: calc(100% - 25px);
    border-left: 1px solid var(--border-card);
    margin: 0 20px;
}

.label {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: bold;
}

.dashboard-select-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    margin-top: 70px;
    height: 47px;
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: var(--text-tertiary);
    font-weight: bold;
    font-size: 42px;
}

.select-button {
    position: relative;
    background-color: var(--bg-primary);
    border-radius: 8px;
    cursor: pointer;
    border: none;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
}

.select-text {
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    flex: 1;
    font-size: 34px;
}

.select-arrow-container {
    position: relative;
    width: 33px;
    height: 33px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.select-options {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-color);
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    border: 1px solid var(--border-secondary);
}

.select-option {
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.select-option:hover {
    background-color: var(--bg-secondary);
}

.select-option.selected {
    background-color: var(--bg-secondary);
}

/* 태블릿 (768px ~ 1366px) */
@media screen and (max-width: 1366px) {
    .layout-container {
        padding-top: 50px;
        padding-bottom: 50px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .dashboard-title {
        font-size: 32px;
    }

    .select-text {
        font-size: 24px;
    }

    .select-arrow-container {
        width: 30px;
        height: 30px;
    }
    .write::placeholder {
        font-size: 10px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
}

@media screen and (max-width: 767px) {
    .login_wrap {
        position: relative;
        width: 100%;
        height: 100vh;
        padding: clamp(8vh, 11.85vh, 15vh) 20px;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .login_wrap h1.bi {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
    }

    .login_wrap h1.bi .tl {
        background: url(../images/bi_symbol.svg) 0 center no-repeat;
        background-size: 30px 30px;
        font-size: 31px;
        font-weight: 900;
        padding-left: 50px;
    }

    .login_wrap .login_tl {
        width: 100%;
        font-size: 36px;
        text-align: center;
        margin-top: 30px;
        font-weight: bold;
        color: var(--text-light);
    }
    .login_input {
        position: static !important;
        width: min(100%, 500px) !important;
        height: auto !important;
        min-height: 0 !important;

        transform: none !important;
        box-sizing: border-box;
        z-index: 10;
        justify-self: center;
    }
    .id_input {
        margin-top: 100px !important;
    }
    .login_input h2 {
        display: none;
    }

    .login_input .alert {
        position: static;
        display: block;
        text-align: left;
        margin-top: 8px;
        line-height: 25px;
        transform: none;
        font-size: 16px;
    }

    /* Login button */
    .button.login {
        width: 100%;
        height: 48px;
        margin-top: 40px;
        background: var(--accent-secondary);
        border: none;
        border-radius: 8px;
        color: var(--text-light);
        font-size: 16px;
        font-weight: 500;
        text-align: center;
        padding-left: 0 !important;
    }

    /* Footer */
    .login_footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 30px;
        text-align: center;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.6);
    }

    /* Background */
    .video_bg.login {
        background: url('/assets/images/img_m_login_bg.png') center center
            no-repeat;
        background-size: cover;
        position: fixed;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .video_bg.login video {
        display: none;
    }
    .id_pass_input {
        font-size: 20px !important;
    }
    .login_util {
        display: none;
    }

    /* Background image */
    .video_bg.login {
        background: url('/assets/images/img_m_login_bg.png') center center
            no-repeat;
        background-size: cover;
        position: fixed;
        width: 100%;
        height: 100%;
    }
    .layout-container {
        padding-top: 50px;
        padding-bottom: 50px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .dashboard-select-container {
        margin-top: 40px;
        gap: 4px;
        height: 47px;
    }

    .dashboard-title {
        display: none;
    }

    .select-button {
        border: solid 1px var(--border-secondary);
        border-radius: 5px;
        padding: 12px 15px;
        width: 100%;
    }

    .select-text {
        font-size: 18px;
    }

    .select-arrow-container {
        width: 24px;
        height: 24px;
        background-color: #ffffff;
    }

    .select-arrow-container img {
        filter: brightness(0);
    }

    .modal_popup .popup_block {
        width: 400px;
        max-height: 90vh;
        overflow-y: auto;
        padding: 20px;
    }

    .modal_popup .popup_block h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    /* 그리드 레이아웃 조정 */
    .detail_grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .detail_grid li {
        width: 100% !important;
    }

    .detail_grid li .tl {
        padding: 8px 0;
        font-size: 14px;
    }
    .detail_grid li .con {
        justify-content: center;
        align-self: center;
    }

    /* 입력 필드 */
    .write {
        width: 100% !important; /* Width-100 클래스 오버라이드 */
        box-sizing: border-box;
        padding: 10px;
    }
}
@media screen and (max-width: 480px) {
    .modal_popup .popup_block {
        width: 300px;
        max-height: 90vh;
        overflow-y: auto;
        padding: 20px;
    }

    .modal_popup .popup_block h1 {
        font-size: 20px;
    }
    .detail_grid li .tl {
        padding: 8px 0;
        font-size: 14px;
        width: 120px;
    }

    .write {
        width: 100% !important;
        padding: 10px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .write::placeholder {
        font-size: 10px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
}
.slide-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.slide-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.slide-menu-container {
    position: relative;
    z-index: 999;
}

.slide-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 290px;
    height: 100vh;
    background: var(--bg-primary);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--shadow-color);
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.slide-menu.active {
    left: 0;
}

.slide-menu-header {
    padding: 16px;
    height: 114px;
    background-color: var(--accent-primary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: none; /* 헤더는 고정 크기 유지 */
}

.slide-menu-close {
    display: flex;
    justify-content: flex-end;
}

.slide-menu-close img {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.slide-menu-user {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slide-menu-user-icon {
    border-radius: 100%;
    background-color: #ffffff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-menu-user-icon img {
    width: 32px;
    height: 32px;
}

.slide-menu-user-info {
    color: var(--text-light);
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slide-menu-content {
    flex: 8;
    margin-top: 16px;
    overflow-y: auto;
    min-height: 0;
}

.slide-menu-footer {
    flex: 2;
    padding: 20px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logout-text {
    color: var(--text-tertiary);
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 40px;
    cursor: pointer;
    list-style: none;
    gap: 14px;
}

.menu-item:hover {
    background-color: var(--bg-secondary);
}

.menu-item i {
    font-size: 16px;
}

.menu-item span {
    font-size: 16px;
    font-weight: bold;
}

/* myInfo.css */
.my-info-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: var(--bg-primary);
}

.my-info-header {
    display: flex;
    align-items: center;
    padding: 20px 20px;
    border-bottom: 1px solid var(--border-tertiary);
}

.my-info-back-button {
    border: none;
    background: none;
    padding: 0;
    margin-right: 12px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-info-back-image {
    width: 35px;
    height: 35px;
    background-color: #ffffff;
}

.my-info-title {
    font-size: 20px;
    font-weight: bold;
}

.my-info-content {
    flex: 1;
    overflow-y: auto;
    padding: 0px 20px 20px;
}

.my-info-button-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

.my-info-button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.alert-container {
    width: 100%;
    max-width: 400px;
    min-width: 280px;
    background: var(--bg-modal);
    border-radius: 8px;
}

.alert-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.alert-message {
    width: 100%;
    word-break: keep-all;
    word-wrap: break-word;
}

.alert-message-text {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.list-table-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.list-table {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    color: var(--text-dark);
    border-top: 1px solid var(--text-tertiary);
}

.list-table-header {
    display: grid;
    grid-template-columns: 70% 30%;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--text-tertiary);
    position: sticky;
    padding: 0.625rem 0;
    top: 0;
    z-index: 1;
    color: var(--text-dark);
}

.list-table-body {
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.list-table-body::-webkit-scrollbar {
    display: none;
}

.list-table-row {
    display: grid;
    grid-template-columns: 70% 30%;
    border-bottom: 1px solid var(--text-tertiary);
    min-height: 32px;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.2s;
}

.list-table-row:hover {
    background-color: var(--shadow-color-sm);
}

.list-table-cell {
    display: flex;
    align-items: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    justify-content: center;
}

.list-table-header-cell {
    display: flex;
    align-items: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    justify-content: center;
    font-weight: 600;
}

.status-icon {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-left: 12px;
}

.grid-layout-wrapper {
    border-radius: 10px;
    width: 100%;
    overflow: visible;
}

.grid-layout-wrapper.is-edit-mode {
    padding: 120px 0px;
    height: var(--total-height);
}

.grid-layout-wrapper.is-normal-mode {
    padding: 20px 0px;
    height: auto;
}

.grid-layout-wrapper.is-preview-mode {
    padding: 20px 0px;
    height: auto;
}
.project-dashoboard-header {
    position: fixed;
    top: 100px;
    right: 0;
    left: 0;
    z-index: 9;
    padding: 10px 50px;
    background-color: var(--bg-primary);
}
.mapContainer {
    position: relative;
    width: 100%;
    height: 1000px;
    overflow: hidden;
}

.toggleButton {
    position: absolute;
    top: 20px;
    z-index: 3;
    background-color: var(--bg-toggle);
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px var(--shadow-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.toggleButton.open {
    left: 356px;
}

.toggleButton.closed {
    left: 20px;
}

.panel {
    position: absolute;
    top: 20px;
    left: 20px;
    height: calc(100% - 40px);
    width: 320px;
    background-color: var(--bg-panel);
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: transform 0.3s ease-in-out;
    z-index: 2;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.panel.open {
    transform: translateX(0);
}

.panel.closed {
    transform: translateX(-110%);
}

.panelHeader {
    padding: 16px 20px;
    background-color: var(--bg-panel-header);
    border-bottom: 1px solid var(--border-color);
    flex: 0 0 auto;
}

.panelTitle {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--title-color);
}

.panelContent {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
}

.listItem {
    padding: 30px;
    margin-bottom: 8px;
    cursor: pointer;
    background-color: var(--bg-list-item);
    transition: all 0.2s ease-in-out;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 1px 2px var(--shadow-color-sm);
}

.listItem:hover {
    background-color: var(--bg-list-item-hover);
    transform: translateY(-1px);
}

.statusDot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid var(--bg-primary);
}

.itemHeader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.itemText {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid var(--pagination-border);
    margin-top: 4px;
}

.pageButton {
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.pageButton:not(:disabled) {
    border: 1px solid var(--button-primary);
    background: var(--button-primary);
    cursor: pointer;
    box-shadow: 0 2px 4px var(--button-shadow);
}

.pageButton:disabled {
    border: 1px solid var(--button-primary-disabled);
    background: var(--button-primary-bg-disabled);
    cursor: default;
    opacity: 0.7;
}

.pageInfo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--pagination-text);
    font-weight: 500;
    min-width: 100px;
}
.overlay {
    padding: 11px;
    border-radius: 8px;
    border: 2px solid #aaa;
    background-color: #fff;
    color: #333;
    width: 100%;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.overlay::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid #fff;
}

.overlayRow {
    display: flex;
    align-items: center;
    margin-top: 1px;
}

.overlayRow:first-child {
    margin-top: 0;
}

.overlayLabel {
    font-weight: bold;
    width: 70px;
    font-size: 16px;
    color: #333;
}

.overlayDivider {
    margin-right: 10px;
}

.overlayValue {
    flex-grow: 1;
    text-align: left;
    font-size: 14px;
    color: #333;
}

.tooltip-overlay {
    z-index: 999;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.theme-toggle-switch {
    position: relative;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    outline: none;
}

.toggle-track {
    width: 64px;
    height: 32px;
    border-radius: 16px;
    background-color: #dddddd;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #cccccc;
}

.toggle-track.dark {
    background-color: #333333;
    border-color: #555555;
}

.toggle-track.light {
    background-color: #e6e6e6;
}

.toggle-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
    z-index: 1;
}

.toggle-icon {
    line-height: 0;
    z-index: 1;
    font-size: 12px;
}

.toggle-icon.sun {
    color: #ff9800;
    font-size: 18px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.toggle-icon.moon {
    color: #64b5f6;
    font-size: 18px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.toggle-track.dark .toggle-icon.moon {
    opacity: 1;
}

.toggle-track.light .toggle-icon.sun {
    opacity: 1;
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.toggle-track.dark .toggle-thumb {
    transform: translateX(32px);
    background: #555555;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.theme-toggle-switch:focus .toggle-track {
    box-shadow: 0 0 0 2px var(--accent-primary);
}

.theme-toggle-switch:hover .toggle-track {
    filter: brightness(0.95);
}

.theme-toggle-switch:active .toggle-thumb {
    transform: scale(0.95) translateX(0);
}

.toggle-track.dark .theme-toggle-switch:active .toggle-thumb {
    transform: scale(0.95) translateX(26px);
}

.report-draggable-wrapper {
    position: absolute;
    z-index: 100;
}

.report-drag-handle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.report-text-container {
    width: 100%;
    color: #333333;
}

.report-coordinates-display {
    position: absolute;
    top: -20px;
    left: 0;
    color: black;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.report-dimensions-display {
    position: absolute;
    bottom: -20px;
    right: 0;
    color: black;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.report-context-menu {
    position: absolute;
    bottom: 12px;
    right: -60px;
    color: black;
    font-size: 14px;
    background-color: #295baa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.report-copy-button {
    background-color: transparent;
    border: none;
    padding: 0;
    text-align: left;
    width: 100%;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}
.report-field-item {
    padding: 10px 0px;
    font-size: 16px;
    border-radius: 8px;
    background-color: var(--bg-card);
    border: solid 1px var(--border-primary);
    text-align: center;
    margin-top: 5px;
    cursor: pointer;
}

.report-field-item-hovered {
    background-color: var(--accent-primary-light, #dae8fc) !important;
    color: var(--text-placeholder);
}

.report-field-item:hover {
    background-color: var(--bg-secondary);
}
/* 기본 Alpine 테마 위에 다크 모드 커스터마이징 */
.dark .ag-theme-alpine {
    --ag-background-color: var(--bg-primary);
    --ag-foreground-color: var(--text-primary);
    --ag-border-color: #222222;
    --ag-row-border-color: var(--border-tertiary);
    --ag-header-background-color: #222222;
    --ag-odd-row-background-color: var(--bg-primary);
    --ag-header-foreground-color: var(--text-primary);
    --ag-disabled-foreground-color: var(--text-tertiary);
    --ag-subheader-background-color: var(--bg-tertiary);
    --ag-control-panel-background-color: var(--bg-secondary);
    --ag-side-button-selected-background-color: var(--accent-primary);
    --ag-selected-row-background-color: rgba(41, 91, 170, 0.3);
    --ag-row-hover-color: var(--bg-secondary);
    --ag-range-selection-border-color: var(--accent-primary);
    --ag-range-selection-background-color: rgba(41, 91, 170, 0.2);
    --ag-input-focus-border-color: var(--accent-primary);
}

/* 다크 모드에서 AG Grid 페이지네이션 스타일 수정 */
.dark .ag-paging-panel {
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

/* 다크 모드에서 셀 선택 스타일 */
.dark .ag-theme-alpine .ag-cell-focus,
.dark .ag-theme-alpine .ag-cell-focus-wrapper {
    border-color: var(--accent-primary) !important;
}

/* 다크 모드에서 메뉴 스타일 */
.dark .ag-theme-alpine .ag-menu {
    background-color: var(--bg-card);
    border-color: var(--border-primary);
}

.dark .ag-theme-alpine .ag-menu-option-active {
    background-color: var(--bg-secondary);
}

/* 다크 모드에서 컬럼 헤더 호버 효과 */
.dark .ag-theme-alpine .ag-header-cell:hover {
    background-color: var(--bg-tertiary);
}

/* 다크 모드에서 로딩 및 no-rows 텍스트 */
.dark .ag-theme-alpine .ag-overlay-loading-center,
.dark .ag-theme-alpine .ag-overlay-no-rows-center {
    color: var(--text-primary);
}

/* Card 컴포넌트 스타일 */
.dashboard-card {
    background-color: var(--bg-card);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    box-shadow: 0px 0px 10px 0.5px var(--shadow-color);
    transition: all 0.3s ease;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-description {
    font-size: 14px;
    color: var(--text-dark);
    text-align: right;
    margin-right: 30px;
}
.dashboard-card::-webkit-scrollbar {
    display: none;
}

.card-title {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: bold;
    letter-spacing: -0.4px;
}

.card-content-with-title {
    flex: 1;
    padding: 0;
    margin-top: 20px;
    position: relative;
    min-height: 100px;
}

.card-content-without-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    position: relative;
    min-height: 100px;
}
.modal-input-container {
    display: flex;
    flex-direction: column;
}

.modal-input-container .modal-input-label {
    font-size: 12px !important;
    color: var(--text-secondary, #333) !important;
    padding-left: 10px !important;
}

/* 다크 모드일 때 기본 레이블 색상 */
.dark .modal-input-container .modal-input-label {
    color: #0091ff !important;
}

.modal-input-container .modal-input-label-focused {
    color: var(--accent-tertiary, #0091ff) !important;
}
.modal-input-container .modal-input-field {
    font-size: 14px !important;
    border: none !important;
    border-bottom: 2px solid #ccc !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    height: auto !important;
    line-height: normal !important;
    padding: 5px 0 !important;
    outline: none !important;
    transition: border-bottom-color 0.8s ease !important;
    background-color: transparent !important;
    vertical-align: baseline !important;
    color: var(--text-dark, #f5f5f5) !important;
}
.modal-input-container .modal-input-field::placeholder {
    color: var(--text-dark) !important;
}

.modal-input-container .modal-input-field-focused {
    border-bottom-color: #0091ff !important;
}
.checkbox-label {
    cursor: pointer !important;
    color: var(--text-primary, #000) !important;
}

/* DatePicker Custom Header 스타일 */
.picker-header {
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eaeaea;
    background-color: #ffffff;
}

.picker-button {
    margin: 0 10px;
    padding: 6px 12px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
}

.picker-button:hover {
    background-color: #e6e6e6;
}

.picker-select {
    padding: 6px 12px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8l4-4H2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 30px;
}

/* 연도 선택기 스타일 */
.calendar-container .react-datepicker__year-text {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 5px 0;
}

.calendar-container .react-datepicker__year-text--disabled {
    display: none !important;
}

/* 월 선택기 스타일 */
.month-calendar-container .react-datepicker__header {
    display: none;
}

.month-calendar-container .react-datepicker__navigation {
    display: none; /* 헤더 버튼 숨기기 */
}

.month-calendar-container .react-datepicker__month-text {
    display: inline-block;
    width: 50px;
    height: 45px;
    text-align: center;
    border-radius: 4px;
}
/* 요금 그리드 스타일 수정 */
.dev-stat-grid.ag-theme-alpine .ag-header-cell-label {
    justify-content: center;
}

.dev-stat-grid.ag-theme-alpine .custom-header-group {
    justify-content: center;
    font-weight: bold;
    border: 1px solid var(--border-primary);
}

.dev-stat-grid.ag-theme-alpine .ag-header-cell {
    border: 1px solid var(--border-primary);
}
.ag-theme-alpine .ag-tooltip {
    background-color: var(--bg-card);
    color: var(--text-secondary);
    border-color: var(--border-primary);
    box-shadow: 0 2px 8px var(--shadow-color);
}
.ag-theme-alpine ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.ag-theme-alpine ::-webkit-scrollbar-track {
    background: var(--ag-header-background-color);
}

.ag-theme-alpine ::-webkit-scrollbar-thumb {
    background: var(--border-secondary);
    border-radius: 4px;
}
.button.btn_send {
    position: relative;
    background-color: var(--accent-primary);
    color: var(--text-light);
    border: 0;
    border-radius: 8px;
    font-size: 16px;
    text-align: left;
    padding: 10px 50px 10px 20px;
}
.button.btn_send:after {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    color: var(--text-light);
    font-family: 'remixicon' !important;
    content: '\f0d9';
}

.sms-container {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--shadow-color);
    margin-top: 20px;
}

.sms-message-box {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid var(--border-tertiary);
    border-radius: 8px;
    background-color: var(--bg-panel-header);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow-color-sm);
    position: relative;
}

.sms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sms-input-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.sms-input-group {
    flex: 1;
    min-width: 250px;
    padding: 0 10px;
    margin-bottom: 15px;
}

.sms-input-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-primary);
    font-size: 14px;
}

.sms-input {
    width: 100%;
    padding: 12px;
    background-color: var(--sms-input-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-secondary);
    border-radius: 6px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    outline: none;
    min-height: 100px;
    height: 100px;
}

.sms-textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--sms-input-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-secondary);
    border-radius: 6px;
    min-height: 100px;
    box-sizing: border-box;
    resize: vertical;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
    font-size: 14px;
}

.sms-title {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--title-color);
    font-size: 16px;
    font-weight: 600;
}
