/* custom */
dd .pwWrap {
    position: relative;
}

dd .pwWrap>button {
    font-size: 0;
    width: 24px;
    height: 24px;
    position: absolute;
    right: 6px;
    top: 4px;
    background: url("/img/icon/ico-eye-off-b7a433f4237d415587bcbb2cd763f3b8.svg") no-repeat 50%/24px;
}

dd .pwWrap>button.active {
    background: url("/img/icon/ico-eye-928feef76f361525d11f1a5737d4cb33.svg") no-repeat 50%/24px;
}


/* 탭관련 */
.tab-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    font-weight: bold;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1976d2;
}

.tab-content {
    display: none;
    width: 100%;
    height: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: hidden;
}

.tab-content.active {
    display: block;
}

.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

#tenant-audits-log-grid,
#login-audits-log-grid {
    height: 500px;
}

/* grid custom */
.dhx_grid-row:hover {
    background-color: var(--dhx-color-primary-light-hover) !important;
}

/* 모든 input placeholder 스타일 통일 */
input::placeholder,
textarea::placeholder {
    color: #bbb;
}

/* 성공 메세지 */
.reqTxt.success {
    color: var(--text-primary) !important
}

.reqTxt.success::before {
    background: url("/img/icon/ico-success-15b3ab159e2668d8f1d7e7b8a56fecee.svg") no-repeat 50%/100% !important;
}

/* 로그인 에러 메세지 */
#loginForm .reqTxt {
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: -0.5px !important;
}

/* sweetalert2 custom */
div.swal2-icon {
    box-sizing: content-box;
    margin: 2.5em auto .6em;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    background-color: var(--btn-bgcolor-primary) !important
}

.swal2-input {
    width: auto !important;
}


/* 드롭다운 컨테이너 */
.custom-dropdown {
    position: relative;
    display: inline-block;
}

/* 드롭다운 트리거 버튼 (기본) */
.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    min-width: 150px;
}

.dropdown-trigger:hover {
    border-color: #3b82f6;
    background: #f9fafb;
}

.dropdown-trigger:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 프로필 트리거 (원형) */
.dropdown-trigger.profile-trigger {
    width: 40px;
    height: 40px;
    min-width: unset;
}

.user-profile {
    padding: 0;
    border-radius: 50%;
    border: 2px solid #ddd;
    overflow: hidden;
    background: #f0f0f0;
}

.user-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropdown-trigger.profile-trigger:hover {
    border-color: #999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 드롭다운 화살표 */
.dropdown-arrow {
    font-size: 10px;
    color: #6b7280;
    transition: transform 0.2s;
}

.custom-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* 드롭다운 메뉴 */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.custom-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 드롭다운 아이템 */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
    transition: background 0.15s;
    color: #333;
}

.dropdown-item:hover {
    background: #f3f4f6;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

/* 로그아웃 버튼 강조 */
.dropdown-item.logoutBtn {
    color: #e74c3c;
}

/* ========================================
   상태 표시 (공통)
   ======================================== */

/* 상태 표시 점 */
.status-indicator,
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* 상태별 색상 */
.status-indicator.online,
.status-dot.online,
.state.online .dote,
.dropdown-container.online::before {
    background: #FFC107;
}

.status-indicator.ready,
.status-dot.ready,
.state.ready .dote,
.dropdown-container.ready::before {
    background: #2bc840;
}

.status-indicator.away,
.status-dot.away,
.state.away .dote,
.dropdown-container.away::before {
    background: #FF8C00;
}

.status-indicator.offline,
.status-dot.offline,
.state.offline .dote,
.dropdown-container.offline::before {
    background: #969696;
}

/* 상태 텍스트 */
.status-text {
    flex: 1;
    text-align: left;
}

/* ========================================
   아이템 아이콘
   ======================================== */

.item-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.item-icon.user-icon {
    background-image: url(/img/icon/ico-user-1e89ff5dbe18abc2d558e533946fdbef.svg);
}

.item-icon.logout-icon {
    background-image: url(/img/icon/ico-log-out-fe6aada4bec3a282508f12c0cd20a815.svg);
}

/* ========================================
   유저 아이콘 상태 표시 (dot)
   ======================================== */

.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-container.online::before,
.dropdown-container.offline::before,
.dropdown-container.away::before,
.dropdown-container.ready::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 10;
}

/* popup custom */
.popup {
    z-index: 1020 !important
}

.popup .popBody {
    max-height: 80vh;
    overflow: auto;
}

.popup .popBody>.inner {
    min-height: 260px !important;
}


/* Widths 0% to 100% in 5% increments */
.w-0 {
    width: 0% !important;
}

.w-5 {
    width: 5% !important;
}

.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.w-25 {
    width: 25% !important;
}

.w-30 {
    width: 30% !important;
}

.w-35 {
    width: 35% !important;
}

.w-40 {
    width: 40% !important;
}

.w-45 {
    width: 45% !important;
}

.w-50 {
    width: 50% !important;
}

.w-55 {
    width: 55% !important;
}

.w-60 {
    width: 60% !important;
}

.w-65 {
    width: 65% !important;
}

.w-70 {
    width: 70% !important;
}

.w-75 {
    width: 75% !important;
}

.w-80 {
    width: 80% !important;
}

.w-85 {
    width: 85% !important;
}

.w-90 {
    width: 90% !important;
}

.w-95 {
    width: 95% !important;
}

.w-100 {
    width: 100% !important;
}

/* customize pagination */
.paginationWrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 10px 0px;
}

.paginationWrap ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 4px;
}

.paginationWrap ul li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.paginationWrap ul li a {
    font-size: 0;
    width: 28px;
    height: 28px;
    padding: 0;
    border-color: #bbb;
}

/* customize */
.paginationWrap ul li a.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

.paginationWrap ul li.first a {
    background: url("/img/icon/ico-arr-first-a1dae69e6146154a9a058efc0e9e5604.svg") center no-repeat;
    text-indent: -9999px;
    overflow: hidden;
}

.paginationWrap ul li.prev a {
    background: url("/img/icon/ico-arr-prev-d63ded00354a13da9becd9ee5d550ef4.svg") center no-repeat;
    text-indent: -9999px;
    overflow: hidden;
}

.paginationWrap ul li.next a {
    background: url("/img/icon/ico-arr-next-dd9248251884b10b280c357d600f1690.svg") center no-repeat;
    text-indent: -9999px;
    overflow: hidden;
}

.paginationWrap ul li.last a {
    background: url("/img/icon/ico-arr-last-89613345514e20976a9eb248a12f48f0.svg") center no-repeat;
    text-indent: -9999px;
    overflow: hidden;
}

.paginationWrap ul li.pageInput {
    margin: 0px 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #767676;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.paginationWrap ul li.pageInput>input {
    min-width: unset;
    width: 40px;
    height: 28px;
    text-align: right;
    border-color: #bbb;
}

.paginationWrap ul li.pageInput .dash {
    padding: 0px 5px;
}

.paginationWrap ul .total {
    color: #767676;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.paginationWrap ul .total span {
    margin-left: 5px;
}

.paginationWrap ul .perPageSelect select {
    border-color: #bbb;
    margin-left: 8px;
    height: 28px;
}


/* min size customize */
body {
    min-width: 1440px !important;
    min-height: 720px !important;
}

#header,
#wrap {
    min-width: 1440px !important;
}

#contents {
    min-width: unset !important;
}

/* dim */
#dim {
    z-index: 1010 !important;
    transition: opacity 0.3s ease;
}

/* show hide */
.show {
    display: block !important;
}

.hide {
    display: none !important;
}

/* dhtmlx grid */
.conArea form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.grid {
    height: auto;
    flex: 1;
    min-height: 100px;
}

.dhx_grid-header-cell {
    background: var(--bgcolor-primary) !important;
    color: var(--text-bgcolor);
    font-weight: 600;
}

.dhx_grid-header-cell-text,
.dhx_grid-header-cell-text>div {
    height: 100%;
}

.dhx_resizer_grip_wrap {
    height: 0% !important
}

/* 클릭 가능한 그리드 */
.grid-row-clickable .dhx_grid-row {
    cursor: pointer;
}

/* 짝수 행 색상 추가*/
.dhx_grid-fixed-cols .dhx_grid-row:nth-child(even),
.dhx_grid_data .dhx_grid-row:nth-child(even) {
    background: #f0eff8;
}

.dhx_checkbox__input:checked+.dhx_checkbox__visual-input,
.dhx_checkbox__input[data-dhx-checked=true]+.dhx_checkbox__visual-input {
    background-color: var(--bgcolor-primary) !important;
    border-color: var(--bgcolor-primary) !important;
}

/* sort 관련 변경 */
.dhx_grid-sort-icon--asc,
.dhx_grid-sort-icon--desc {
    color: white !important
}

.dhx_grid-header-cell:hover .dhx_grid-sort-icon {
    color: #fff !important;
}

.dxi.dxi-sort-variant:before {
    background: url(/img/icon/ico-sorting-2d00c5a996b1b8f2228a9b406cce5a1c.svg) no-repeat 50% / 20px;
    font-size: 0;
    height: 20px;
    margin-left: 4px;
    vertical-align: middle;
    width: 20px;
}

.dhx_grid-sort-icon:before {
    -webkit-transition: none !important;
    transition: none !important;
}

.dhx_grid-sort-icon--asc,
.dhx_grid-sort-icon--desc {
    color: var(--btn-text-color);
}

.dhx_grid-header-cell--sortable:hover:after,
.dhx_grid-header-cell--sorted:after {
    background-color: unset !important;
}

/* dhtmlx row hover */
.dhx_grid-row:hover {
    background-color: lightgrey !important;
}

/* 채팅 헤더 사이드바 */
body.chatbot #header,
body.callbot #header,
body.chat #header {
    background: var(--bgcolor-primary);
}

/* 테마별 색상 오버라이드 */
body.chat {
    --bgcolor-primary: #4772d8 !important;
    --text-primary: #4772d8 !important;
    --btn-bgcolor-primary: #4772d8 !important;
    --btn-bgcolor-primary-hover: #2d5bb8 !important;
    --border-primary: #4772d8 !important;
    --bgcolor-primary-hover: #688bdf !important;
}

body.chatbot {
    --bgcolor-primary: #24883E !important;
    --text-primary: #24883E !important;
    --btn-bgcolor-primary: #24883E !important;
    --btn-bgcolor-primary-hover: #1a6b2f !important;
    --border-primary: #24883E !important;
    --bgcolor-primary-hover: #4c9e61 !important;
}

body.callbot {
    --bgcolor-primary: #6C5ABC !important;
    --text-primary: #6C5ABC !important;
    --btn-bgcolor-primary: #6C5ABC !important;
    --btn-bgcolor-primary-hover: #4d3d9a !important;
    --border-primary: #6C5ABC !important;
    --bgcolor-primary-hover: #8a7acc !important;
}

/* 헤더 유저 상태 select */
.status-select-wrap {
    position: relative;
    display: inline-block;
}

.status-select {
    appearance: none;
    color: #fff;
    border: none;
    padding: 8px 32px 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    min-width: 120px;
    height: 100%;
    outline: none;
}

.status-select:focus {
    outline: none;
    /* 포커스 시에도 테두리 제거 */
    border: none;
}

/* 화살표 아이콘 */
.status-select-wrap::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #fff;
    pointer-events: none;
}

/* 옵션 드롭다운 스타일 (브라우저마다 다름) */
.status-select option {
    background: #fff;
    color: #222;
    padding: 8px;
}

/* 테넌트 라벨 수직 정렬 custom */
.stateLabel {
    align-content: center;
}

/* sidebar admin ICON */
#nav .navList li a .ico.admin-dashboard {
    background-image: url("/img/icon/ico-dashboard-cdb682e5ae07621d16519e221cf870ac.svg");
}

#nav .navList li a .ico.tenants-list {
    background-image: url("/img/icon/ico-group-123dc2159fd863febce944d86641652a.svg");
}

#nav .navList li a .ico.logs {
    background-image: url("/img/icon/ico-log-17a423ecb26bcf5904dba50f1c957436.svg");
}

#nav .navList li a .ico.system-integrations {
    background-image: url("/img/icon/ico-setting-3b7c8cac91bf09c384f33d32f0c98643.svg");
}

#nav .navList li a .ico.group-codes {
    background-image: url("/img/icon/ico-code-54f8dc6fe45c69acf7e6cdfa61011402.svg");
}

/* sidebar chat ICON */
#nav .navList li a .ico.chat-dashboard {
    background-image: url("/img/icon/ico-dashboard-cdb682e5ae07621d16519e221cf870ac.svg");
}

#nav .navList li a .ico.consultation-page {
    background-image: url("/img/icon/ico-screen-d8fcf447eede172d8e1b65852ceb05d3.svg");
}

#nav .navList li a .ico.consultation-management {
    background-image: url("/img/icon/ico-manage-d2862ca1e69682c6e86b82d8fdd65047.svg");
}

#nav .navList li a .ico.consultation-history {
    background-image: url("/img/icon/ico-history-fe2f39837eb0392868391ad2977c0080.svg");
}

#nav .navList li a .ico.chat-statistics {
    background-image: url("/img/icon/ico-stati-02ea20d27def15cae8d47d651be36498.svg");
}

#nav .navList li a .ico.consultant-team-management {
    background-image: url("/img/icon/ico-counselor-5f68dd3fe5393afb820542f7a2e70f2a.svg");
}

#nav .navList li a .ico.chat-risk-word {
    background-image: url("/img/icon/ico-dic-4bddcaabe776e8fd481145825433cad9.svg");
}

#nav .navList li a .ico.chat-message {
    background-image: url("/img/icon/ico-message-17d1bc50cf129272ee200f41b3bbcfe9.svg");
}




/* chatbot chat ICON */
#nav .navList li a .ico.chatbot-dashboard {
    background-image: url("/img/icon/ico-dashboard-cdb682e5ae07621d16519e221cf870ac.svg");
}

#nav .navList li a .ico.chatbot-scenario {
    background-image: url("/img/icon/ico-screen-d8fcf447eede172d8e1b65852ceb05d3.svg");
}

#nav .navList li a .ico.node {
    background-image: url("/img/icon/ico-manage-d2862ca1e69682c6e86b82d8fdd65047.svg");
}

#nav .navList li a .ico.chatbot-deployment {
    background-image: url("/img/icon/ico-history-fe2f39837eb0392868391ad2977c0080.svg");
}

#nav .navList li a .ico.chatbot-statistics {
    background-image: url("/img/icon/ico-stati-02ea20d27def15cae8d47d651be36498.svg");
}

#nav .navList li a .ico.chatbot-risk-word {
    background-image: url("/img/icon/ico-counselor-5f68dd3fe5393afb820542f7a2e70f2a.svg");
}

#nav .navList li a .ico.chatbot-message {
    background-image: url("/img/icon/ico-dic-4bddcaabe776e8fd481145825433cad9.svg");
}

/* callbot chat ICON */
#nav .navList li a .ico.callbot-dashboard {
    background-image: url("/img/icon/ico-dashboard-cdb682e5ae07621d16519e221cf870ac.svg");
}

#nav .navList li a .ico.callbot-scenario {
    background-image: url("/img/icon/ico-write-fad6868a3266cf3ce2698e48a0fce086.svg");
}

#nav .navList li a .ico.callbot-node {
    background-image: url("/img/icon/ico-bulb-845bc093b8d465a0a544530ade2be944.svg");
}

#nav .navList li a .ico.callbot-deployment {
    background-image: url("/img/icon/ico-sharing-21c1d110512fd04516e5278823330b6b.svg");
}

#nav .navList li a .ico.callbot-risk-word {
    background-image: url("/img/icon/ico-dic-4bddcaabe776e8fd481145825433cad9.svg");
}

#nav .navList li a .ico.callbot-message {
    background-image: url("/img/icon/ico-message-17d1bc50cf129272ee200f41b3bbcfe9.svg");
}

#nav .navList li a .ico.inbound {
    background-image: url("/img/icon/ico-inbound-574f84bab70c008cee360e07ae7e7284.svg");
}

#nav .navList li a .ico.outbound {
    background-image: url("/img/icon/ico-outbound-4d0adc0228c30db48bbeca3e2dd8d6b0.svg");
}

#nav .navList li a .ico.callbot-history {
    background-image: url("/img/icon/ico-callhistory-fe2f39837eb0392868391ad2977c0080.svg");
}

#nav .navList li a .ico.callbot-statistic {
    background-image: url("/img/icon/ico-stati-02ea20d27def15cae8d47d651be36498.svg");
}

#nav .navList li>div {
    font-size: 13px;
    height: 100%;
    align-content: end;
}

#nav.active .navList li>div {
    font-size: 16px;
}

/* dhtmlx tree custom */
.dhx_tree_template {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    width: 100%;
    height: 100%;
}

/* Flex 유틸리티 클래스 */
.flex-0 {
    flex: 0 !important;
}

.flex-1 {
    flex: 1 !important;
}

.flex-2 {
    flex: 2 !important;
}

.flex-3 {
    flex: 3 !important;
}


/* custom chatbot, callbot, chat contents */
.chat #contents,
.chatbot #contents,
.callbot #contents {
    padding-top: 52px;
}


/* chatMessage */
.chatWrap .chatMsg.left {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.chatWrap .chatMsg.left .bubble {
    background: #fff;
    -webkit-box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.1);
    color: #333;
}

.chatWrap .chatMsg.right {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.chatWrap .chatMsg.right .bubble {
    background: #395bad;
    color: #fff;
}

.chatWrap .msg.system {
    padding: 6px 16px;
    text-align: center;
    margin: 0px auto 12px;
    position: relative;
    border-radius: 100px;
    border: 1px solid rgba(71, 114, 216, 0.5);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.5px;
    line-height: 1.5;
    word-break: keep-all;
    max-width: 90%;
}

/* 파일 미리보기 영역 */
.file-preview-area {
    padding: 12px 16px;
    background-color: #f5f7fa;
    border-top: 1px solid #e0e4ea;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.file-preview-area img {
    max-width: 120px;
    max-height: 80px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e0e4ea;
}

.file-preview-area span {
    flex: 1;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#file-preview-cancel-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #d0d5dd;
    color: #667085;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
}

#file-preview-cancel-btn:hover {
    background-color: #f9fafb;
    border-color: #98a2b3;
    color: #344054;
}

/* 후처리 */
.laterProcess .proInfo dl {
    width: 100% !important;
}

/* 상담사 변경 */
.consultant-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    font-size: 14px;
}

.consultant-item:hover {
    background-color: #f9f9f9;
}

.consultant-item.selected {
    background-color: #eef2fa;
    font-weight: bold;
}

/* 상담 목록 */
.counselListCount ul li .rA .idBox .id .state {
    width: 50px !important
}

/* 상담 메세지 관리 기본 메세지 리스트  */

#basic-message-list>li {
    transition: all 0.2s ease;
    cursor: pointer;
}

/* 호버 상태 */
#basic-message-list>li:hover {
    background: #f5f7fa;
    border-color: #4772d8;
}

/* 선택된 상태 (active) */
#basic-message-list>li.active {
    background: #eef2fa;
    border: 2px solid #4772d8;
    box-shadow: 0 2px 8px rgba(71, 114, 216, 0.15);
}


.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.cursor-text {
    cursor: text;
}

/* 후처리 오버레이 스타일 */
.tabWrap .conArea {
    position: relative;
}

.info-body-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.info-body-overlay.active {
    display: flex;
}

.info-body-overlay span {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding: 20px 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 로딩 애니메이션 추가 */
.info-body-overlay span::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0066ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

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

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

.bubble * {
    overflow-wrap: anywhere;
}

.file-upload-area {
    border: 2px dashed #d0d0d0;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 300px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.file-list-container {
    display: none;
    flex-wrap: wrap;
    gap: 12px;
    align-content: flex-start;
    overflow-y: auto;
    padding: 8px;
}

.empty-upload-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.label-desc {
    font-size: 14px;
    color: var(--text-primary);
    opacity: 0.7;
    margin-left: 4px;
    font-weight: normal;
}

/* 사전정의형 그리드의 모든 헤더 중앙 정렬 */
#predefined-data-list-grid .dhx_grid-header-cell {
    text-align: center !important;
}

.dhx_grid-header-cell--align_right .dhx_grid-header-cell-text {
    padding-left: 0px !important;
}

/* 배포 버튼 비활성화 스타일 */
.btn .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


.disabled .ico {
    filter: brightness(0);
}


/* 가이드 프롬프트 컨테이너 */
.guide-prompt-container {
    display: flex;
    gap: 16px;
    height: 450px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
}

/* 좌측 사이드바 */
.guide-prompt-sidebar {
    width: 350px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e0e0e0;
    background: #fafafa;
}

.guide-prompt-sidebar .guide-list {
    flex: 1;
    overflow-y: auto;
}

.guide-list .guide-item {
    padding: 12px 16px;
    border-bottom: 1px solid #e8e8e8;
    cursor: pointer;
    transition: all 0.2s;
}

.guide-list .guide-item:hover {
    background: #f0f0f0;
}

.guide-list .guide-item.active {
    background: #e3f2fd;
    border-left: 3px solid #2196f3;
}

.guide-list .guide-item .item-title {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.guide-list .guide-item .item-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guide-prompt-sidebar .paginationWrap {
    padding: 12px;
    border-top: 1px solid #e0e0e0;
    justify-content: center;
}

/* 우측 콘텐츠 영역 */
.guide-prompt-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.guide-prompt-content .content-header {
    margin-bottom: 12px;
}

.guide-prompt-content .content-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.guide-prompt-content .content-body {
    flex: 1;
}

.guide-prompt-content .content-body textarea {
    width: 100%;
    height: 100%;
    resize: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.guide-prompt-content .content-body textarea:focus {
    outline: none;
    border-color: #2196f3;
}

/* 스크롤바 스타일링 (선택사항) */
.guide-list::-webkit-scrollbar {
    width: 6px;
}

.guide-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.guide-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.guide-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}