/* ==========================================================================
   KL-GBC 운영시스템 스타일시트 (style.css)
   컨셉: 글래스모피즘, 메콩강의 물결 반사(이녹스 스틸), 파스텔 블루 & 차콜 그레이 테마
   ========================================================================== */

/* 1. 디자인 시스템 토큰 & 초기화 */
:root {
    --bg-dark: #0a0f1d;
    --bg-card: rgba(30, 41, 59, 0.45);
    --bg-card-hover: rgba(30, 41, 59, 0.65);
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-glass-active: rgba(96, 165, 250, 0.3);
    
    --color-primary: #3b82f6;
    --color-primary-light: #60a5fa;
    --color-success: #10b981;
    --color-success-light: #34d399;
    --color-danger: #ef4444;
    --color-warning: #f59e0b;
    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-sidebar: rgba(15, 23, 42, 0.85);

    --font-outfit: 'Outfit', sans-serif;
    --font-korean: 'Noto Sans KR', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-effect: 0 0 25px rgba(59, 130, 246, 0.25);
    --glow-green: 0 0 15px rgba(16, 185, 129, 0.3);
    --glow-red: 0 0 15px rgba(239, 68, 68, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-outfit), var(--font-korean);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
}

/* 2. 메콩강 물결 라이팅 데코레이션 */
.bg-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    top: -100px;
    right: -100px;
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 12s infinite alternate;
}

.bg-glow-2 {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.08) 0%, rgba(0, 0, 0, 0) 75%);
    bottom: -200px;
    left: -200px;
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 18s infinite alternate-reverse;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(30px, 30px); }
}

/* 3. 전체 레이아웃 */
.app-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* 4. 사이드바 스타일 */
.sidebar {
    width: 320px;
    height: 100vh;
    box-sizing: border-box;
    background-color: var(--color-sidebar);
    border-right: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.2rem;
    z-index: 10;
    backdrop-filter: blur(20px);
    overflow-y: auto;
}

/* 사이드바 스크롤바 스타일 */
.sidebar::-webkit-scrollbar {
    width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.brand {
    text-align: center;
    margin-bottom: 2rem;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    padding: 0.5rem 1.2rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    box-shadow: var(--glow-effect);
    margin-bottom: 1rem;
}

.logo-korea { color: #ffffff; }
.logo-divider { margin: 0 0.4rem; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.logo-laos { color: #fef08a; } /* 라오스 색상 포인트 */

.brand h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #ffffff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex-grow: 1;
}

.nav-item {
    background: none;
    border: 1px solid transparent;
    color: var(--color-text-muted);
    padding: 0.75rem 1rem;
    text-align: left;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.nav-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-main);
}

.nav-item.active {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid var(--border-glass-active);
    color: var(--color-primary-light);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.sidebar-footer {
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.exchange-rate, .current-time {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.rate-value, #live-clock {
    color: var(--color-text-main);
    font-weight: 600;
}

.rate-label i, .current-time i {
    color: var(--color-primary-light);
    margin-right: 0.2rem;
}

/* 5. 메인 콘텐츠 스크롤 및 레이아웃 */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: radial-gradient(ellipse at top, #111b30, #0a0f1d);
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    border-bottom: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    background: rgba(10, 15, 29, 0.4);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switch {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    padding: 3px;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
}

.lang-btn {
    background: transparent;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-outfit);
}

.lang-btn:hover {
    color: #ffffff;
}

.lang-btn.active {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.header-title h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-title .subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 0.3rem;
}

.header-badges {
    display: flex;
    gap: 0.8rem;
}

.badge {
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-public {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--color-primary-light);
}

.badge-private {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--color-success-light);
}

.badge-location {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.content-body {
    padding: 2.5rem 3rem;
    flex-grow: 1;
    overflow-y: auto;
}

/* 6. 글래스모피즘 카드 공통 디자인 */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(96, 165, 250, 0.15);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.8rem;
    color: #ffffff;
}

.card-icon {
    color: var(--color-primary-light);
}

.highlight-p {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 1rem;
    border-left: 3px solid var(--color-primary);
    padding-left: 1rem;
}

.card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

/* 7. 그리드 및 유틸리티 레이아웃 */
.grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.margin-top {
    margin-top: 2rem;
}

.border-top {
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

/* 8. 목록 및 아이콘 */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.info-item i {
    margin-top: 0.2rem;
}

.text-primary { color: var(--color-primary-light); }
.text-success { color: var(--color-success-light); }
.text-warning { color: var(--color-warning); }
.text-bold { font-weight: 700; }

/* 9. 거버넌스 노드 맵 */
.governance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.gov-node {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.gov-node:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-active);
    background: rgba(59, 130, 246, 0.05);
}

.gov-icon {
    font-size: 1.8rem;
    color: var(--color-primary-light);
    margin-bottom: 0.6rem;
}

.gov-node h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #ffffff;
}

.gov-node p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* 10. 테이블 스타일 */
.rent-analysis-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.table th, .table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border-glass);
}

.table th {
    font-weight: 700;
    color: var(--color-text-muted);
    background: rgba(255,255,255,0.02);
}

.table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.active-row {
    background: rgba(59, 130, 246, 0.08) !important;
    border-left: 4px solid var(--color-primary-light);
}

.active-row td {
    color: #ffffff;
}

.utility-card {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    padding: 1.2rem;
}

.utility-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.utility-card p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--color-text-muted);
}

/* 11. 손익 시뮬레이터 탭 스타일 */
.simulator-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
}

.card-header-flex h3 {
    border: none;
    padding: 0;
    margin: 0;
}

.preset-buttons {
    display: flex;
    gap: 0.6rem;
}

.btn {
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glass-active);
    color: var(--color-primary-light);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #ffffff;
    box-shadow: var(--glow-effect);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.btn-success {
    background: var(--color-success);
    color: #ffffff;
}

.btn-success:hover {
    background: var(--color-success-light);
    box-shadow: var(--glow-green);
}

.btn-danger {
    background: var(--color-danger);
    color: #ffffff;
}

.btn-danger:hover {
    background: #f87171;
    box-shadow: var(--glow-red);
}

.form-group-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-title .number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border-radius: 50%;
    font-size: 0.8rem;
}

.slider-group {
    margin-bottom: 1.5rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.slider-header label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slider-value {
    font-family: var(--font-outfit);
    font-weight: 700;
    color: var(--color-primary-light);
    background: rgba(59,130,246,0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* 커스텀 range input 스타일링 */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-primary-light);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transition: var(--transition-smooth);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.25);
    background: #ffffff;
}

.slider-subtext {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.4rem;
}

/* 미니 인풋 스타일 */
.mini-input {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    padding: 0.8rem;
    border-radius: 10px;
}

.mini-input label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.mini-input input[type="number"] {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    color: #ffffff;
    padding: 0.4rem;
    font-family: var(--font-outfit);
    font-weight: 700;
    text-align: center;
    outline: none;
}

.mini-input input[type="number"]:focus {
    border-color: var(--color-primary-light);
}

.mini-input .unit {
    font-size: 0.7rem;
    color: var(--color-primary-light);
    text-align: center;
    margin-top: 0.2rem;
}

/* 손익 리포트 카드 하이라이트 */
.profit-card-highlight {
    border: 1px solid rgba(96, 165, 250, 0.15);
    position: sticky;
    top: 20px;
}

.report-summary {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.summary-val {
    font-family: var(--font-outfit);
    font-size: 1.3rem;
    font-weight: 800;
}

.total-revenue .summary-val {
    color: #ffffff;
}

.total-opex .summary-val {
    color: #fca5a5;
}

.net-profit {
    border-top: 1px solid var(--border-glass);
    padding-top: 1rem;
    margin-top: 0.2rem;
}

.net-profit .summary-label {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 800;
}

.net-profit .summary-val {
    font-size: 1.8rem;
    color: var(--color-success-light);
    text-shadow: 0 0 15px rgba(52, 211, 153, 0.2);
}

.profit-margin .summary-val {
    color: var(--color-primary-light);
    font-size: 1.1rem;
}

/* 다국어 통화 박스 */
.currency-converter-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}

.currency-converter-box h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.currency-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.currency-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.curr-code {
    color: var(--color-text-muted);
}

.curr-val {
    font-weight: 700;
    color: #ffffff;
}

.currency-notice {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-top: 0.8rem;
    text-align: right;
}

/* 매출 기여도 breakdown 진행 바 */
.revenue-breakdown-panel h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.breakdown-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.breakdown-info span:last-child {
    font-family: var(--font-outfit);
    font-weight: 700;
    color: #ffffff;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
    border-radius: 3px;
    width: 0%;
    transition: width 0.5s ease-out;
}

/* 12. 공간 가용성 맵 (SVG 스타일링) */
.floor-plan-wrapper {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.office-layout-svg {
    width: 100%;
    max-width: 550px;
    height: auto;
    background-color: #0b1329;
    border-radius: 8px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}

/* SVG 내부 엘리먼트 스타일 */
.outer-wall {
    fill: none;
    stroke: #475569;
    stroke-width: 8;
}

.room-wall {
    fill: rgba(30, 41, 59, 0.3);
    stroke: #334155;
    stroke-width: 4;
}

.room-group:hover .room-wall {
    fill: rgba(59, 130, 246, 0.03);
    stroke: var(--color-primary-light);
}

.room-label {
    font-size: 18px;
    font-weight: 800;
    fill: #ffffff;
    font-family: var(--font-korean);
}

.room-desc {
    font-size: 13px;
    fill: var(--color-text-muted);
    font-family: var(--font-korean);
}

.furniture {
    fill: #1e293b;
    stroke: #475569;
    stroke-width: 2;
}

.furniture-table {
    fill: #334155;
    stroke: #475569;
    stroke-width: 2;
}

/* 회의실 의자 스타일링 */
.chair {
    fill: var(--color-success);
    stroke: #ffffff;
    stroke-width: 1.5;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chair.occupied {
    fill: var(--color-danger);
}

.chair:hover {
    transform: scale(1.1);
    fill: var(--color-primary-light);
}

/* 인터랙티브 좌석 배치 */
.desk-seat {
    cursor: pointer;
    transition: var(--transition-smooth);
    stroke: #ffffff;
    stroke-width: 2;
}

.desk-seat.available {
    fill: var(--color-success);
    filter: drop-shadow(0 0 3px rgba(16, 185, 129, 0.4));
}

.desk-seat.occupied {
    fill: var(--color-danger);
    filter: drop-shadow(0 0 3px rgba(239, 68, 68, 0.4));
}

.desk-seat.selected {
    fill: var(--color-primary-light);
    stroke: #ffffff;
    stroke-width: 3;
    animation: pulseSelected 1.5s infinite alternate;
}

@keyframes pulseSelected {
    0% { filter: drop-shadow(0 0 2px var(--color-primary-light)); }
    100% { filter: drop-shadow(0 0 12px var(--color-primary-light)); }
}

.seat-text {
    font-size: 12px;
    font-weight: bold;
    fill: #ffffff;
    text-anchor: middle;
    pointer-events: none;
    font-family: var(--font-outfit);
}

.map-legend {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-available { background-color: var(--color-success); }
.dot-occupied { background-color: var(--color-danger); }
.dot-selected { background-color: var(--color-primary-light); }

.map-subtext {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

/* 가용성 현황판 모니터링 */
.availability-status-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.status-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.status-title {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.status-num {
    font-family: var(--font-outfit);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}

.status-desc {
    font-size: 0.7rem;
    color: var(--color-success-light);
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 0.2rem;
}

.state-avail {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--color-success-light);
}

.state-occupied {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.seat-selector-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem;
}

.seat-selector-panel h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.details-box {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
    padding: 1.5rem 0;
}

.details-box.empty {
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 8px;
}

.seat-action-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.seat-info-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}

.info-label {
    color: var(--color-text-muted);
}

.info-val {
    font-weight: 700;
    color: #ffffff;
}

.seat-action-controls .btn-group {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.seat-action-controls .btn {
    flex-grow: 1;
}

.hidden {
    display: none !important;
}

.smart-solution-intro {
    border-left: 3px solid var(--color-primary-light);
    padding-left: 1rem;
}

.smart-solution-intro h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.smart-solution-intro p {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* 13. 3D 인테리어 & 컨셉 갤러리 */
.section-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.gallery-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-active);
    box-shadow: var(--glow-effect);
}

.img-container {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #0f172a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 1.2rem;
}

.gallery-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #ffffff;
}

.gallery-info p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
}

.design-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.spec-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.spec-icon {
    font-size: 2rem;
    color: var(--color-primary-light);
    margin-bottom: 0.8rem;
}

.spec-box h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.spec-box p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* 14. 5단계 발전 로드맵 */
.roadmap-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 2.5rem;
    margin: 2.5rem 0;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 5px;
    bottom: 5px;
    width: 3px;
    background: rgba(255,255,255,0.05);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.step-num {
    position: absolute;
    left: -40px;
    top: 0;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #1e293b;
    border: 2px solid #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-text-muted);
    font-family: var(--font-outfit);
    transition: var(--transition-smooth);
}

.step-content {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    transition: var(--transition-smooth);
}

.step-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.step-date {
    font-size: 0.75rem;
    color: var(--color-primary-light);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* 마우스 호버 및 액티브 시 효과 */
.timeline-step:hover .step-content {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(96, 165, 250, 0.25);
    transform: translateX(5px);
}

.timeline-step.active .step-num {
    background: var(--color-primary);
    border-color: var(--color-primary-light);
    color: #ffffff;
    box-shadow: var(--glow-effect);
}

.timeline-step.active .step-content {
    background: rgba(59, 130, 246, 0.06);
    border-color: var(--border-glass-active);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.05);
}

.timeline-step.active .step-content h4 {
    color: var(--color-primary-light);
}

/* 권고사항 패널 */
.recommendation-panel h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #ffffff;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.8rem;
}

.rec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.rec-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.rec-card:hover {
    border-color: var(--border-glass-active);
    background: rgba(59, 130, 246, 0.03);
    transform: translateY(-3px);
}

.rec-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rec-card h4 i {
    color: var(--color-primary-light);
}

.rec-card p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* 15. 탭 토글 시스템 */
.tab-section {
    display: none;
}

.tab-section.active {
    display: block;
    animation: sectionFadeIn 0.4s ease-out;
}

@keyframes sectionFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 16. 스크롤바 디자인 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 17. 인티라 지분 쉐어 토글 및 레이아웃 추가 */
.inthira-share-box {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 12px;
}

.share-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.share-box-header h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.switch-container {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch-container input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s;
    border-radius: 34px;
    border: 1px solid var(--border-glass);
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .switch-slider {
    background-color: var(--color-primary);
}

input:checked + .switch-slider:before {
    transform: translateX(22px);
}

.mini-slider {
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.02);
}

.mini-slider label {
    font-size: 0.8rem !important;
}

.mini-slider input[type="range"] {
    height: 4px;
}

.share-controls {
    transition: var(--transition-smooth);
}

.share-controls.disabled {
    opacity: 0.25;
    pointer-events: none;
}

.share-summary-results {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid var(--border-glass);
}

.border-top-thick {
    border-top: 2px dashed var(--border-glass);
    padding-top: 0.8rem;
    margin-top: 0.8rem;
}

.mini-table th, .mini-table td {
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
}

.small-desc {
    font-size: 0.78rem !important;
    color: var(--color-text-muted);
    margin-bottom: 0.4rem !important;
    line-height: 1.4;
}

.value-add-box {
    margin-top: 1rem;
    padding-top: 0.8rem;
}

/* ==========================================================================
   16. 모바일 반응형 디자인 최적화 (@media)
   ========================================================================== */

/* 기본 모바일용 제어 요소 (데스크톱에서는 숨김) */
.sidebar-toggle-btn {
    display: none;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid var(--border-glass-active);
    color: var(--color-primary-light);
    font-size: 1.2rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    z-index: 99;
    box-shadow: var(--glow-effect);
    transition: var(--transition-smooth);
}
.sidebar-toggle-btn:hover {
    background: rgba(59, 130, 246, 0.3);
}

.sidebar-close-btn {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 101;
    transition: var(--transition-smooth);
}
.sidebar-close-btn:hover {
    color: var(--color-danger);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* 태블릿 및 모바일 레이아웃 브레이크포인트 (1024px 이하) */
@media (max-width: 1024px) {
    .sidebar-toggle-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
    }

    .sidebar-close-btn {
        display: block;
    }

    .sidebar {
        position: fixed;
        left: -320px;
        top: 0;
        height: 100vh;
        width: 320px;
        z-index: 100;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .sidebar.show {
        left: 0;
    }

    /* 본문 영역 전체 너비 확보 */
    .app-container {
        position: relative;
    }
    
    .main-content {
        width: 100%;
    }

    .simulator-layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .design-specs-grid, .rec-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* 모바일 스마트폰 전용 브레이크포인트 (768px 이하) */
@media (max-width: 768px) {
    .top-header {
        padding: 1.2rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .header-right {
        width: 100%;
        justify-content: space-between;
        gap: 1rem;
    }

    .header-title h1 {
        font-size: 1.25rem !important;
        line-height: 1.3;
    }
    
    .header-title .subtitle {
        font-size: 0.75rem !important;
    }

    /* 그리드 시스템을 일괄 1열로 변환하여 짤림 방지 */
    .grid-2col, .grid-3col, .governance-grid, .status-grid, .gallery-grid, .design-specs-grid, .rec-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem;
    }

    .tab-section {
        padding: 1rem 0.8rem;
    }

    /* 모니터링 레이아웃 */
    .smart-office-map-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .map-svg-wrapper {
        width: 100%;
        overflow-x: auto; /* SVG 도면 가로 스크롤 가능하게 처리 */
        padding: 0.5rem;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 8px;
    }

    svg.floor-plan-svg {
        min-width: 500px; /* SVG 도면이 모바일에서 찌그러지지 않고 고유 형태를 유지하게 함 */
        height: auto;
    }

    .availability-status-panel {
        width: 100%;
    }

    /* 테이블 모바일 가로 스크롤 처리 */
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table.table {
        min-width: 600px; /* 테이블 텍스트 겹침 및 깨짐 방지 */
    }

    /* 폰트 및 패딩 미세 조정 */
    .card {
        padding: 1.2rem !important;
    }

    .card h3 {
        font-size: 1.1rem !important;
    }
}

