/* ==============================================================================
   SentinelOps - Modern Design System
   Google Cloud Rapid Agent Hackathon
   ============================================================================== */

:root {
    /* Modern color palette */
    --bg-darker: #0f0f0f;
    --bg-dark: #1a1a1a;
    --bg-medium: #242424;
    --bg-card: rgba(36, 36, 36, 0.85);
    --bg-elevated: rgba(48, 48, 48, 0.9);

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-active: rgba(255, 255, 255, 0.18);

    /* Primary orange accent */
    --primary-orange: #D97757;
    --primary-orange-light: #E89375;
    --primary-orange-dark: #C7613F;
    --primary-orange-glow: rgba(217, 119, 87, 0.2);

    /* Complementary colors */
    --accent-blue: #5B9FD7;
    --accent-green: #6AB889;
    --accent-purple: #9B87E8;
    --accent-teal: #5DBFB8;

    /* Semantic colors */
    --success: #6AB889;
    --warning: #E8B85F;
    --error: #E87575;
    --info: #5B9FD7;

    /* Text hierarchy */
    --text-primary: #f5f5f5;
    --text-secondary: #b8b8b8;
    --text-tertiary: #8a8a8a;
    --text-disabled: #5a5a5a;

    /* Typography */
    --font-header: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

    /* Spacing scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

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

body {
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    line-height: 1.6;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-family: var(--font-header);
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-orange-light);
    text-decoration: underline;
}

strong, b {
    color: var(--text-primary);
    font-weight: 600;
}

code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    color: var(--primary-orange-light);
    background: var(--bg-elevated);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Ambient Gradient Overlays */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.08;
    pointer-events: none;
    transition: var(--transition-slow);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

.orb-blue {
    top: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

.orb-indigo {
    bottom: -200px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    animation-delay: -7s;
}

.orb-purple {
    top: 40%;
    left: 50%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--primary-orange) 0%, transparent 70%);
    opacity: 0.06;
    animation-delay: -14s;
}

/* App Layout Container */
.app-container {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Sidebar Styling */
.sidebar {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: var(--space-xl);
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
    padding-left: 48px; /* Space for hamburger menu */
}

.brand-logo {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 8px var(--primary-orange-glow));
    transition: var(--transition);
}

.brand-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px var(--primary-orange-glow));
}

.brand-text h1 {
    font-family: var(--font-header);
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.brand-text span {
    font-size: 0.6875rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    flex-grow: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-orange);
    transform: scaleY(0);
    transition: var(--transition);
}

.nav-item:hover {
    color: var(--text-primary);
    background-color: var(--bg-elevated);
    border-color: var(--border-hover);
}

.nav-item.active {
    color: var(--text-primary);
    background-color: var(--bg-elevated);
    border-color: var(--border-active);
    box-shadow: var(--shadow-md);
}

.nav-item.active::before {
    transform: scaleY(1);
}

.nav-icon {
    font-size: 1.125rem;
    line-height: 1;
    transition: var(--transition);
}

.nav-item.active .nav-icon {
    filter: drop-shadow(0 0 6px var(--primary-orange-glow));
}

.sidebar-footer {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    background-color: var(--bg-elevated);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.user-badge:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-header);
    color: #fff;
    box-shadow: 0 0 15px rgba(66, 133, 244, 0.3);
}
.user-info {
    display: flex;
    flex-direction: column;
}
.username {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}
.user-role {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Main Content Panel */
.main-content {
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
    width: calc(100% - 280px);
    margin-left: 280px;
    transition: margin-left var(--transition-slow), width var(--transition-slow);
    box-sizing: border-box;
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}
.header-search-wrapper {
    position: relative;
    flex: 1;
    max-width: 600px;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 99px;
    width: 100%;
    transition: var(--transition);
}
.header-search:focus-within {
    border-color: var(--primary-orange);
    box-shadow: 0 0 15px var(--primary-orange-glow);
    background-color: rgba(255, 255, 255, 0.05);
}
.header-search input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 100%;
}
.header-search input::placeholder {
    color: var(--text-tertiary);
}
.search-icon {
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.7;
    transition: var(--transition);
}
.search-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--primary-orange);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    max-height: 400px;
    overflow: hidden;
    z-index: 1000;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-medium);
}

.search-results-header span:first-child {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

#search-results-count {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.search-results-body {
    max-height: 350px;
    overflow-y: auto;
}

.search-result-item {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--bg-medium);
    border-left: 3px solid var(--primary-orange);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.search-result-type {
    font-size: 0.7rem;
    padding: 2px 8px;
    background: var(--primary-orange-glow);
    border: 1px solid var(--primary-orange);
    border-radius: var(--radius-sm);
    color: var(--primary-orange-light);
    text-transform: uppercase;
    font-weight: 700;
}

.search-result-preview {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-top: var(--space-xs);
}

.search-no-results {
    padding: var(--space-xl);
    text-align: center;
    color: var(--text-tertiary);
    font-style: italic;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-shrink: 0;
}
.credit-status-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, var(--primary-orange-glow) 0%, transparent 100%);
    border: 1px solid var(--primary-orange-glow);
    padding: 10px 18px;
    border-radius: var(--radius-xl);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}
.credit-status-badge:hover {
    background: linear-gradient(135deg, var(--primary-orange-glow) 20%, transparent 100%);
    transform: translateY(-1px);
}
.credit-status-badge[data-status="online"] {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, transparent 100%);
    border-color: rgba(34, 197, 94, 0.4);
}
.credit-status-badge[data-status="degraded"] {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, transparent 100%);
    border-color: rgba(251, 191, 36, 0.4);
}
.credit-status-badge[data-status="offline"] {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, transparent 100%);
    border-color: rgba(239, 68, 68, 0.4);
}

.credit-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-orange);
    box-shadow: 0 0 10px var(--primary-orange-glow);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.credit-status-badge[data-status="online"] .credit-dot {
    background-color: rgb(34, 197, 94);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}
.credit-status-badge[data-status="degraded"] .credit-dot {
    background-color: rgb(251, 191, 36);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}
.credit-status-badge[data-status="offline"] .credit-dot {
    background-color: rgb(239, 68, 68);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
    animation: none;
}

/* Status Details Panel */
.status-details-panel {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 380px;
    max-height: 500px;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 1001;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

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

.status-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.status-details-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.close-status-panel {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.close-status-panel:hover {
    color: var(--text-primary);
}

.status-details-body {
    padding: 16px 20px;
    max-height: 360px;
    overflow-y: auto;
}

.status-service {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-service:last-child {
    border-bottom: none;
}

.status-service-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.status-service-icon {
    font-size: 12px;
    transition: color 0.3s;
}

.status-service-icon[data-status="online"] {
    color: rgb(34, 197, 94);
}

.status-service-icon[data-status="degraded"],
.status-service-icon[data-status="unknown"] {
    color: rgb(251, 191, 36);
}

.status-service-icon[data-status="offline"] {
    color: rgb(239, 68, 68);
}

.status-service-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.status-service-message {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-left: 22px;
}

.status-details-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.status-timestamp {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}
.icon-button {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    font-size: 1.1rem;
}
.icon-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px var(--primary-orange-glow);
    transform: scale(1.05);
}
.pulse-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    background-color: var(--warning);
    border-radius: 50%;
    border: 2px solid var(--bg-elevated);
    box-shadow: 0 0 12px var(--warning);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Notification Panel */
.notification-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 380px;
    background: var(--bg-elevated);
    border: 1px solid var(--primary-orange);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: hidden;
}

.notification-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-medium);
}

.notification-panel-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.notification-panel-body {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.notification-item:hover {
    background: var(--bg-medium);
    border-left: 3px solid var(--primary-orange);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-xs);
}

.notification-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.notification-message {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.notification-type {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-top: var(--space-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.notification-type.critical {
    background: rgba(234, 67, 53, 0.15);
    color: #ea4335;
    border: 1px solid rgba(234, 67, 53, 0.3);
}

.notification-type.warning {
    background: var(--primary-orange-glow);
    color: var(--primary-orange-light);
    border: 1px solid var(--primary-orange);
}

.notification-type.info {
    background: rgba(66, 133, 244, 0.15);
    color: #4285f4;
    border: 1px solid rgba(66, 133, 244, 0.3);
}

.notification-empty {
    padding: var(--space-xl);
    text-align: center;
    color: var(--text-tertiary);
    font-style: italic;
}

/* Event Countdown Bar */
.countdown-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.15) 0%, rgba(127, 0, 255, 0.1) 100%);
    border: 1px solid rgba(66, 133, 244, 0.2);
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}
.countdown-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.countdown-timer {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--accent-teal);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px var(--teal-glow);
}

/* Glass-Style Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-orange-glow), transparent);
    opacity: 0;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-title {
    font-family: var(--font-header);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    position: relative;
    text-align: center;
    line-height: 1.4;
    flex-wrap: wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.card-header-with-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.card-header-with-controls .card-title {
    margin-bottom: 0;
    flex: 1;
    justify-content: flex-start;
}

.model-selector-container {
    display: flex;
    align-items: flex-end;
    gap: var(--space-md);
    flex-wrap: wrap;
    flex: 1 1 auto;
    max-width: 100%;
}

.model-selector-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-lg);
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-medium) 100%);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    flex: 1 1 calc(50% - var(--space-md) / 2);
    min-width: 300px;
    max-width: 100%;
}

.model-selector-wrapper:hover {
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-elevated) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.model-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.model-label-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px var(--primary-orange-glow));
}

.model-dropdown {
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    height: 40px;
    min-width: 150px;
    max-width: 100%;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D97757' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.model-dropdown:hover {
    border-color: var(--primary-orange);
    background-color: var(--bg-medium);
}

.model-dropdown:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px var(--primary-orange-glow);
}

.model-dropdown option {
    background: var(--bg-dark);
    color: var(--text-primary);
    padding: var(--space-md);
    font-weight: 600;
    font-size: 0.95rem;
}

.model-description {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

/* User ID Input */
.user-id-input {
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    font-weight: 600;
    transition: var(--transition);
    flex: 1;
    height: 40px;
    min-width: 150px;
    max-width: 100%;
}

.user-id-input::placeholder {
    color: var(--text-tertiary);
    font-weight: 400;
}

.user-id-input:hover {
    border-color: var(--primary-orange);
    background-color: var(--bg-medium);
}

.user-id-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px var(--primary-orange-glow);
}

/* Responsive adjustments for model selector */
@media (max-width: 1024px) {
    .model-selector-wrapper {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .model-description {
        display: none;
    }
}

@media (max-width: 768px) {
    .card-header-with-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .model-selector-container {
        flex-direction: column;
        width: 100%;
    }

    .model-selector-wrapper {
        width: 100%;
        min-width: 100%;
    }
}

.card-title::before {
    content: '';
    position: absolute;
    left: var(--space-lg);
    width: 3px;
    height: 1.5rem;
    background: linear-gradient(180deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    border-radius: var(--radius-sm);
}

/* Simulation Badge */
.simulation-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgb(251, 191, 36);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    animation: pulse 2s ease-in-out infinite;
}

/* Buttons - Modern Design */
.primary-btn {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    border: none;
    color: #fff;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: var(--transition);
    box-shadow: var(--shadow-md), 0 0 20px var(--primary-orange-glow);
    position: relative;
    overflow: hidden;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px var(--primary-orange-glow);
}

.primary-btn:hover::before {
    opacity: 1;
}

.primary-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm), 0 0 15px var(--primary-orange-glow);
}

.primary-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.primary-btn.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.8125rem;
    border-radius: var(--radius-md);
}

.outline-btn {
    background: transparent;
    border: 1px solid var(--border-active);
    color: var(--text-primary);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}

.outline-btn:hover {
    background: var(--bg-elevated);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    box-shadow: var(--shadow-sm);
}

/* Dashboard Tabs navigation */
.tab-pane {
    display: none;
    flex-direction: column;
    gap: 24px;
    max-width: 100%;
    box-sizing: border-box;
}
.tab-pane.active {
    display: flex;
}

/* Hero Tagline */
.hero-tagline {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(135deg, rgba(217, 119, 87, 0.08) 0%, rgba(91, 159, 215, 0.08) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
}

.hero-tagline h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
    letter-spacing: -0.02em;
}

.hero-tagline p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ============================================================
   HOMEPAGE STYLES
   ============================================================ */

/* Hero Section */
.home-hero {
    background: linear-gradient(135deg,
        rgba(217, 119, 87, 0.1) 0%,
        rgba(91, 159, 215, 0.05) 50%,
        rgba(155, 135, 232, 0.1) 100%
    );
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-4xl) var(--space-2xl);
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(217, 119, 87, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(91, 159, 215, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(217, 119, 87, 0.15);
    border: 1px solid rgba(217, 119, 87, 0.4);
    border-radius: 999px;
    color: var(--primary-orange-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 var(--space-md) 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 var(--space-lg) 0;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 0 var(--space-2xl) 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description .highlight {
    color: var(--primary-orange-light);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
}

.cta-primary,
.cta-secondary {
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    border: none;
    font-family: var(--font-body);
}

.cta-primary {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 12px rgba(217, 119, 87, 0.3);
}

.cta-primary:hover {
    background: var(--primary-orange-light);
    box-shadow: 0 6px 20px rgba(217, 119, 87, 0.4);
    transform: translateY(-2px);
}

.cta-primary .cta-arrow {
    transition: transform 0.2s ease;
}

.cta-primary:hover .cta-arrow {
    transform: translateX(4px);
}

.cta-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-active);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    max-width: 100%;
    box-sizing: border-box;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: block;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Stats Section */
.stats-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-lg);
    margin-bottom: var(--space-2xl);
    max-width: 100%;
    box-sizing: border-box;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border-color);
}

/* Tech Stack Section */
.tech-stack-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0 0 var(--space-xl) 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.tech-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.tech-item:hover {
    background: rgba(217, 119, 87, 0.08);
    border-color: rgba(217, 119, 87, 0.3);
    transform: translateX(4px);
}

.tech-icon {
    font-size: 1.75rem;
}

.tech-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .stats-section {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }
}

/* Adjust hero when sidebar is collapsed to prevent overflow */
@media (min-width: 769px) {
    body[data-sidebar="collapsed"] .hero-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 1024px) {
    body[data-sidebar="expanded"] .hero-title {
        font-size: 3rem;
    }
}

/* Tab 1 Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Progress SVG styling */
.progress-card {
    display: flex;
    flex-direction: column;
}
.progress-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 10px 0 24px;
}
.progress-ring-circle {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 0.8s ease-in-out;
}
.progress-value {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#progress-percent {
    font-family: var(--font-header);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
}
.progress-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.milestone-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}
.checklist-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
}
.checklist-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-teal);
    cursor: pointer;
}
.checklist-item label {
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 500;
}

/* Form Styles - Modern Design */
.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.form-group label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    outline: none;
    transition: var(--transition);
    line-height: 1.5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-orange);
    background: var(--bg-medium);
    box-shadow: 0 0 0 3px var(--primary-orange-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
}

.input-helper {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: var(--space-xs);
}

/* Terminal Box - Modern Style */
.terminal-box {
    background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-top: var(--space-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.terminal-header {
    background: linear-gradient(180deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border-color);
}
.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.terminal-dot.red { background-color: var(--error); }
.terminal-dot.yellow { background-color: var(--warning); }
.terminal-dot.green { background-color: var(--success); }
.terminal-title {
    font-family: var(--font-header);
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-left: 8px;
    flex-grow: 1;
}
.terminal-body {
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-secondary);
    overflow-x: auto;
}

/* Agenda Panel */
.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.agenda-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}
.agenda-item.past {
    opacity: 0.65;
}
.agenda-item.active {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(66, 133, 244, 0.3);
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.05);
}
.agenda-date {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1rem;
    min-width: 100px;
    color: var(--accent-teal);
}
.agenda-info {
    flex-grow: 1;
}
.agenda-info h3 {
    font-family: var(--font-header);
    font-size: 1rem;
    margin-bottom: 4px;
}
.agenda-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.event-badge {
    display: inline-block;
    background-color: rgba(66, 133, 244, 0.2);
    color: var(--accent-blue);
    border: 1px solid rgba(66, 133, 244, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 6px;
}
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

/* TAB 2: Chat & Database Split View */
.split-view {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    min-height: 550px;
}
.chat-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
/* Removed duplicate - using modern design version below */
.message {
    display: flex;
}
.message.agent {
    justify-content: flex-start;
}
.message.user {
    justify-content: flex-end;
}
.message-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
}
.message.agent .message-bubble {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 2px;
}
.message.user .message-bubble {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #1a73e8 100%);
    border-bottom-right-radius: 2px;
}

.terminal-logs-container {
    background-color: #030509;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 16px;
    overflow: hidden;
}
.logs-header {
    background-color: #070a0f;
    border-bottom: 1px solid var(--border-color);
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-header);
    font-size: 0.7rem;
    color: var(--text-secondary);
}
.logs-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-teal);
    box-shadow: 0 0 6px var(--teal-glow);
}
.logs-body {
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-blue);
    max-height: 120px;
    min-height: 90px;
    overflow-y: auto;
}
.log-line {
    margin-bottom: 4px;
}

.chat-input-bar {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.chat-input-bar input {
    flex-grow: 1;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition);
}
.chat-input-bar input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 10px var(--primary-orange-glow);
}

/* MongoDB Collections Explorer */
.brain-card {
    display: flex;
    flex-direction: column;
}
.tabs-subnav {
    display: flex;
    gap: 6px;
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 16px;
}
.sub-tab {
    flex-grow: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 6px;
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.sub-tab:hover {
    color: var(--text-primary);
}
.sub-tab.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.subtab-pane {
    display: none;
    flex-grow: 1;
    overflow-y: auto;
    max-height: 480px;
}
.subtab-pane.active {
    display: block;
}

.db-document {
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    animation: docFadeIn 0.3s ease-out;
}
@keyframes docFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.doc-header {
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.doc-id {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-teal);
}
.doc-tag {
    font-family: var(--font-header);
    font-size: 0.7rem;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.04);
    padding: 2px 8px;
    border-radius: 99px;
}
.doc-body {
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-primary);
    overflow-x: auto;
}

/* TAB 3: Grounding Indexer */
.indexer-layout {
    display: flex;
    flex-direction: column;
}
.section-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.indexer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.indexer-form {
    display: flex;
    flex-direction: column;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.slider {
    width: 100%;
    accent-color: var(--accent-teal);
}
.slider-val {
    font-size: 0.8rem;
    color: var(--accent-teal);
    font-weight: 600;
    margin-top: 4px;
}
.pulse-glow {
    animation: buttonPulse 3s infinite;
}
@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(0, 242, 254, 0.5); }
}
.indexer-animation-card {
    height: 100%;
}
.indexer-animation-card .terminal-box {
    margin-top: 0;
    height: 100%;
}
.indexer-animation-card .terminal-body {
    height: calc(100% - 35px);
    overflow-y: auto;
    max-height: 400px;
}

/* TAB 4: Code Exporter Layout */
.code-card-layout {
    display: flex;
    flex-direction: column;
}
.code-generator-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}
.generated-code-container {
    background-color: #030509;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}
.code-panel-header {
    background-color: #0b0f19;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-header);
    font-weight: 500;
}
.code-panel-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    overflow: auto;
    max-height: 450px;
}

/* TAB 5: Resources */
.resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.resource-item-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.resource-icon {
    font-size: 2rem;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.resource-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.resource-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.badge-phase {
    background-color: rgba(0, 242, 254, 0.15);
    color: var(--accent-teal);
    border: 1px solid rgba(0, 242, 254, 0.25);
}
.resource-content h3 {
    font-family: var(--font-header);
    font-size: 1.05rem;
    font-weight: 600;
}
.resource-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.text-link {
    font-size: 0.85rem;
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
    margin-top: 6px;
    transition: var(--transition);
}
.text-link:hover {
    color: var(--accent-teal);
    text-decoration: underline;
}

/* ==============================================================================
   INCIDENT & ALERT CARDS - Modern Design
   ============================================================================== */

.incidents-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.incident-item {
    display: flex;
    flex-direction: row;
    gap: var(--space-lg);
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: var(--space-xl);
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.incident-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-orange);
    opacity: 0;
    transition: var(--transition);
}

.incident-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.incident-item:hover::before {
    opacity: 1;
}

.incident-item.high-alert {
    border-left: 4px solid var(--error);
    background: linear-gradient(90deg, rgba(232, 117, 117, 0.08) 0%, var(--bg-elevated) 20%);
}

.incident-item.high-alert::before {
    background: var(--error);
    opacity: 1;
}

.incident-item.resolved {
    border-left: 4px solid var(--success);
    background: linear-gradient(90deg, rgba(106, 184, 137, 0.05) 0%, var(--bg-elevated) 20%);
    opacity: 0.75;
}

.incident-item.resolved::before {
    background: var(--success);
    opacity: 1;
}

.incident-badge {
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.incident-item.high-alert .incident-badge {
    background: linear-gradient(135deg, var(--error) 0%, #d65c5c 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(232, 117, 117, 0.4);
}

.incident-item.resolved .incident-badge {
    background: linear-gradient(135deg, var(--success) 0%, #5a9974 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(106, 184, 137, 0.3);
}

.incident-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex: 1 1 250px;
}

.incident-item .primary-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.incident-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.incident-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.timestamp-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

.check-mark {
    font-size: 1.5rem;
    color: var(--success);
    filter: drop-shadow(0 2px 4px rgba(106, 184, 137, 0.3));
}

/* ==============================================================================
   METRICS CARDS - Modern Design
   ============================================================================== */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.metric-box {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-medium) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.metric-box:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.metric-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.metric-val {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.metric-val.text-error {
    color: var(--error);
}

.metric-val.text-warning {
    color: var(--warning);
}

.metric-val.text-success {
    color: var(--success);
}

/* ==============================================================================
   AGENT STATUS BOX - Modern Design
   ============================================================================== */

.agent-status-box {
    margin-top: var(--space-lg);
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(217, 119, 87, 0.08) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--primary-orange-glow);
    border-radius: var(--radius-lg);
}

.agent-status-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-weight: 600;
    color: var(--text-primary);
}

.agent-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-orange);
    box-shadow: 0 0 12px var(--primary-orange-glow);
}

.agent-dot.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.agent-status-box p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Webhook Tester Card */
.webhook-tester-card {
    margin-top: var(--space-lg);
}

.webhook-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.webhook-url-display {
    background: var(--bg-dark);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    border: 1px solid var(--border-color);
    overflow-x: auto;
    max-width: 100%;
}

.webhook-url-display strong {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.webhook-url-display code {
    color: var(--primary-orange);
    font-size: 0.85rem;
    word-break: break-all;
    overflow-wrap: break-word;
    display: block;
}

.webhook-response {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.webhook-response h4 {
    color: var(--text-primary);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
}

.webhook-response pre {
    margin: 0;
    padding: var(--space-sm);
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    overflow-x: auto;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ==============================================================================
   CHAT INTERFACE - Modern Design
   ============================================================================== */

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    min-height: 400px;
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: var(--space-lg);
}

.message {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    animation: slideIn 0.3s ease-out;
}

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

.message.user {
    align-items: flex-end;
}

.message.agent {
    align-items: flex-start;
}

.message-bubble {
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    max-width: 85%;
    line-height: 1.6;
    font-size: 0.875rem;
}

.message.user .message-bubble {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    color: #fff;
    border-bottom-right-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.message.agent .message-bubble {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: var(--radius-sm);
}

.message.thinking .message-bubble {
    background: var(--bg-medium);
    border: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-style: italic;
}

.model-badge {
    display: inline-block;
    margin-top: var(--space-xs);
    padding: 2px 8px;
    background: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Grounding Sources Display */
.grounding-sources {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
}

.grounding-header {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: var(--space-sm);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.grounding-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    border-top: 1px solid var(--border-color);
}

.grounding-item:first-of-type {
    border-top: none;
}

.grounding-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.grounding-title {
    flex: 1;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

.grounding-score {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgb(34, 197, 94);
    white-space: nowrap;
}

.loading-dots::after {
    content: '...';
    animation: dots 1.5s steps(3, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

.chat-input-bar {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.chat-input-bar input {
    flex: 1;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    color: var(--text-primary);
    font-size: 0.875rem;
    outline: none;
    transition: var(--transition);
}

.chat-input-bar input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px var(--primary-orange-glow);
}

.chat-input-bar input::placeholder {
    color: var(--text-tertiary);
}

/* ==============================================================================
   TERMINAL LOGS - Modern Design
   ============================================================================== */

.terminal-logs-container {
    margin-top: var(--space-xl);
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.logs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-medium);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-orange);
    box-shadow: 0 0 8px var(--primary-orange-glow);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.logs-body {
    padding: var(--space-lg);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.8;
    max-height: 300px;
    overflow-y: auto;
    color: var(--text-secondary);
}

.log-line {
    margin-bottom: var(--space-xs);
    padding: var(--space-xs) 0;
}

.log-line.text-muted {
    color: var(--text-tertiary);
}

.log-line.text-success {
    color: var(--success);
}

.log-line.text-error {
    color: var(--error);
}

.log-line.text-warning {
    color: var(--warning);
}

/* ==============================================================================
   SUB-TABS NAVIGATION - Modern Design
   ============================================================================== */

.tabs-subnav {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.sub-tab {
    padding: var(--space-md) var(--space-xl);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.sub-tab:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.sub-tab.active {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    color: #fff;
    border-color: var(--primary-orange);
    box-shadow: 0 2px 8px var(--primary-orange-glow);
}

.subtab-pane {
    display: none;
}

.subtab-pane.active {
    display: block;
}

/* ==============================================================================
   DATABASE DOCUMENT VIEWER - Modern Design
   ============================================================================== */

.db-document {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    overflow: hidden;
}

.doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    background: var(--bg-medium);
    border-bottom: 1px solid var(--border-color);
}

.doc-id {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.doc-tag {
    padding: var(--space-xs) var(--space-md);
    background: var(--primary-orange-glow);
    border: 1px solid var(--primary-orange);
    border-radius: var(--radius-md);
    font-size: 0.6875rem;
    color: var(--primary-orange-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.doc-body {
    padding: var(--space-xl);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.vector-search-header {
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--primary-orange-glow) 0%, transparent 100%);
    border: 1px solid var(--primary-orange-glow);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.vector-search-header code {
    background: var(--bg-elevated);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--primary-orange-light);
}

/* ==============================================================================
   TEXT COLOR UTILITIES
   ============================================================================== */

.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-tertiary { color: var(--text-tertiary) !important; }
.text-disabled { color: var(--text-disabled) !important; }

.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-error { color: var(--error) !important; }
.text-info { color: var(--info) !important; }

.text-orange { color: var(--primary-orange) !important; }
.text-orange-light { color: var(--primary-orange-light) !important; }
.text-blue { color: var(--accent-blue) !important; }
.text-green { color: var(--accent-green) !important; }
.text-purple { color: var(--accent-purple) !important; }
.text-teal { color: var(--accent-teal) !important; }

.text-monospace {
    font-family: var(--font-mono) !important;
}

/* ==============================================================================
   BACKGROUND COLOR UTILITIES
   ============================================================================== */

.bg-success { background-color: var(--success) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-error { background-color: var(--error) !important; }
.bg-info { background-color: var(--info) !important; }

/* ==============================================================================
   HAMBURGER MENU & COLLAPSIBLE SIDEBAR
   ============================================================================== */

.hamburger-menu {
    position: fixed;
    top: 24px;
    left: 20px;
    width: 44px;
    height: 44px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all var(--transition-slow);
    padding: 0;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hamburger-menu:hover {
    background: var(--bg-medium);
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px var(--primary-orange-glow);
}

.hamburger-menu span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Position hamburger inside sidebar when expanded */
body[data-sidebar="expanded"] .hamburger-menu {
    left: 24px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* When sidebar is collapsed, show X icon */
body[data-sidebar="collapsed"] .hamburger-menu span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

body[data-sidebar="collapsed"] .hamburger-menu span:nth-child(2) {
    opacity: 0;
}

body[data-sidebar="collapsed"] .hamburger-menu span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Sidebar collapsed state */
.sidebar {
    transition: transform var(--transition-slow), width var(--transition-slow);
}

.sidebar.collapsed {
    transform: translateX(-280px);
    width: 0;
}

/* Adjust main content when sidebar is collapsed */
/* Spacing handled smoothly by margin-left transition on .main-content */

/* Alternative: Use data attribute for cleaner state management */
body[data-sidebar="collapsed"] .sidebar {
    transform: translateX(-280px);
}

body[data-sidebar="collapsed"] .main-content {
    margin-left: 0;
    width: 100%;
}

/* Hamburger menu is now part of sidebar-brand, no position adjustments needed */

/* Mobile responsive */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        z-index: 999;
        transform: translateX(-280px);
    }

    .sidebar.expanded {
        transform: translateX(0);
    }

    /* Layout naturally adjusts as a block element on mobile */

    .main-content {
        margin-left: 0;
        padding: 24px 20px;
    }
}

/* Overlay for mobile when sidebar is open */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    body[data-sidebar="expanded"] .sidebar-overlay {
        display: block;
        opacity: 1;
    }
}
