/* === DESKTOP MODERN ZEN INTERFACE === */
/* Activates only on desktop screens (1024px and above) */

@media (min-width: 1024px) {
    
    /* === FOUNDATIONAL LAYOUT === */
    
    /* Hide mobile layout on desktop */
    .chat-container {
        display: none;
    }
    
    /* Enable desktop layout */
    .desktop-layout {
        display: flex;
        height: 100vh;
        width: 100vw;
        overflow: hidden;
        background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
        position: fixed;
        top: 0;
        left: 0;
    }
    
    /* === LEFT SIDEBAR === */
    
    .desktop-sidebar {
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
        border-right: 1px solid rgba(138, 43, 226, 0.2);
        display: flex;
        flex-direction: column;
        position: relative;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    }
    
    .sidebar-header {
        padding: 32px 24px;
        border-bottom: 1px solid rgba(138, 43, 226, 0.15);
    }
    
    .logo h2 {
        font-size: 28px;
        font-weight: 700;
        margin: 0;
        background: linear-gradient(135deg, #00bfff 0%, #8a2be2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
        animation: logoGlow 3s ease-in-out infinite alternate;
    }
    
    @keyframes logoGlow {
        0% {
            filter: drop-shadow(0 0 5px rgba(0, 191, 255, 0.3));
        }
        100% {
            filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.6));
        }
    }
    
    .logo-subtitle {
        font-size: 12px;
        color: #888;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 4px;
        display: block;
    }
    
    .sidebar-nav {
        flex: 1;
        padding: 20px 16px;
    }
    
    .nav-item {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 16px 20px;
        margin-bottom: 8px;
        background: transparent;
        border: none;
        border-radius: 12px;
        color: #b0b0b0;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(.25,.8,.25,1);
        position: relative;
        overflow: hidden;
    }
    
    .nav-item:hover {
        background: rgba(138, 43, 226, 0.1);
        color: #ffffff;
        transform: translateX(4px);
        box-shadow: 0 4px 15px rgba(138, 43, 226, 0.2);
    }
    
    .nav-item.active {
        background: linear-gradient(135deg, rgba(0, 191, 255, 0.15) 0%, rgba(138, 43, 226, 0.15) 100%);
        color: #ffffff;
        border: 1px solid rgba(138, 43, 226, 0.3);
        box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
    }
    
    .nav-item.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 60%;
        background: linear-gradient(180deg, #00bfff 0%, #8a2be2 100%);
        border-radius: 0 4px 4px 0;
    }
    
    .nav-icon {
        font-size: 20px;
        margin-right: 12px;
        width: 24px;
        text-align: center;
    }
    
    .nav-text {
        font-weight: 500;
    }
    
    .sidebar-footer {
        padding: 20px 16px 32px;
        border-top: 1px solid rgba(138, 43, 226, 0.15);
    }
    
    .user-profile {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        margin-top: 12px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 12px;
        border: 1px solid rgba(138, 43, 226, 0.1);
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #00bfff 0%, #8a2be2 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
        font-size: 18px;
    }
    
    .user-info {
        flex: 1;
    }
    
    .user-name {
        font-size: 14px;
        font-weight: 600;
        color: #ffffff;
        margin-bottom: 2px;
    }
    
    .user-email {
        font-size: 12px;
        color: #888;
    }
    
    /* === MAIN CONTENT AREA === */
    
    .desktop-main {
        flex: 1;
        height: 100vh;
        overflow: hidden;
        position: relative;
        background: 
            radial-gradient(circle at 20% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
            linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    }
    
    /* === DASHBOARD WELCOME === */
    
    .desktop-dashboard {
        height: 100vh;
        display: flex;
        flex-direction: column;
        padding: 16px 32px 24px 32px;
        overflow-y: auto;
        box-sizing: border-box;
    }
    
    /* Show dashboard by default, hide others */
    .desktop-chat,
    .desktop-settings,
    .desktop-persona {
        display: none;
    }
    
    .dashboard-header {
        text-align: center;
        margin-bottom: 16px;
        padding: 8px 0;
        flex-shrink: 0;
    }
    
    .dashboard-header h1 {
        font-size: 32px;
        font-weight: 700;
        margin: 0 0 8px 0;
        background: linear-gradient(135deg, #ffffff 0%, #00bfff 50%, #8a2be2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    }
    
    .dashboard-header p {
        font-size: 16px;
        color: #b0b0b0;
        margin: 0;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.4;
    }
    
    /* === FEATURE GRID === */
    
    .feature-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, minmax(100px, 140px));
        gap: 20px;
        max-width: 1000px;
        margin: 0 auto;
        flex: 1;
        max-height: 320px;
        overflow: hidden;
    }
    
    .feature-card {
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
        border: 1px solid rgba(138, 43, 226, 0.2);
        border-radius: 16px;
        padding: 12px 16px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(.25,.8,.25,1);
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
        height: 100%;
        min-height: 100px;
        max-height: 140px;
    }
    
    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(0, 191, 255, 0.05) 0%, rgba(138, 43, 226, 0.05) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    
    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
        border-color: rgba(138, 43, 226, 0.4);
    }
    
    .feature-card:hover::before {
        opacity: 1;
    }
    
    /* Individual card hover colors */
    .feature-card[data-feature="guided-learning"]:hover {
        box-shadow: 0 20px 60px rgba(0, 191, 255, 0.3);
    }
    
    .feature-card[data-feature="course-links"]:hover {
        box-shadow: 0 20px 60px rgba(138, 43, 226, 0.3);
    }
    
    .feature-card[data-feature="voice-interaction"]:hover {
        box-shadow: 0 20px 60px rgba(0, 255, 127, 0.3);
    }
    
    .feature-card[data-feature="image-generation"]:hover {
        box-shadow: 0 20px 60px rgba(255, 20, 147, 0.3);
    }
    
    .feature-card[data-feature="reasoning"]:hover {
        box-shadow: 0 20px 60px rgba(255, 165, 0, 0.3);
    }
    
    .feature-card[data-feature="web-search"]:hover {
        box-shadow: 0 20px 60px rgba(0, 206, 209, 0.3);
    }
    
    .card-header {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
        flex-shrink: 0;
    }
    
    .card-icon {
        font-size: 24px;
        margin-right: 12px;
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }
    
    .card-header h3 {
        font-size: 16px;
        font-weight: 600;
        color: #ffffff;
        margin: 0;
        line-height: 1.2;
    }
    
    .card-progress {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-shrink: 0;
        margin-top: auto;
    }
    
    .progress-bar {
        flex: 1;
        height: 6px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
        overflow: hidden;
        margin-right: 8px;
        position: relative;
    }
    
    .progress-fill {
        height: 100%;
        border-radius: 3px;
        background: linear-gradient(90deg, #00bfff 0%, #8a2be2 100%);
        transition: width 0.3s ease;
        position: relative;
        box-shadow: 0 0 8px rgba(138, 43, 226, 0.5);
    }
    
    /* Individual progress bar colors */
    .feature-card[data-feature="guided-learning"] .progress-fill {
        background: linear-gradient(90deg, #00bfff 0%, #0099cc 100%);
        box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
    }
    
    .feature-card[data-feature="course-links"] .progress-fill {
        background: linear-gradient(90deg, #8a2be2 0%, #6a1b9a 100%);
        box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
    }
    
    .feature-card[data-feature="voice-interaction"] .progress-fill {
        background: linear-gradient(90deg, #00ff7f 0%, #00cc66 100%);
        box-shadow: 0 0 10px rgba(0, 255, 127, 0.5);
    }
    
    .feature-card[data-feature="image-generation"] .progress-fill {
        background: linear-gradient(90deg, #ff1493 0%, #cc1077 100%);
        box-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
    }
    
    .feature-card[data-feature="reasoning"] .progress-fill {
        background: linear-gradient(90deg, #ffa500 0%, #cc8400 100%);
        box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
    }
    
    .feature-card[data-feature="web-search"] .progress-fill {
        background: linear-gradient(90deg, #00ced1 0%, #00a8aa 100%);
        box-shadow: 0 0 10px rgba(0, 206, 209, 0.5);
    }
    
    .progress-fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
        transform: translateX(-100%);
        animation: progress-shine 2s infinite;
    }
    
    @keyframes progress-shine {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
    }
    
    .progress-value {
        font-size: 12px;
        font-weight: 600;
        color: #ffffff;
        min-width: 32px;
        text-align: right;
    }
    
    /* === DESKTOP CHAT AREA === */
    
    .desktop-chat {
        height: 100%;
        display: flex;
        flex-direction: column;
        background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    }
    
    .desktop-chat-window {
        flex: 1;
        overflow-y: auto;
        padding: 32px 48px;
        background: transparent;
    }
    
    /* Reuse existing message styles but enhance for desktop */
    .desktop-chat-window .message {
        margin-bottom: 24px;
        padding: 16px 20px;
        border-radius: 16px;
        max-width: 70%;
        font-size: 16px;
        line-height: 1.6;
    }
    
    .desktop-chat-window .user-message {
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        margin-left: 30%;
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }
    
    .desktop-chat-window .llm-message {
        background: linear-gradient(135deg, rgba(51, 51, 51, 0.8) 0%, rgba(40, 40, 40, 0.8) 100%);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    /* === DESKTOP INPUT AREA === */
    
    .desktop-input-area {
        padding: 32px 48px 48px;
        background: transparent;
    }
    
    .desktop-input-wrapper {
        display: flex;
        align-items: flex-end;
        gap: 12px;
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
        border: 2px solid rgba(138, 43, 226, 0.2);
        border-radius: 24px;
        padding: 16px 20px;
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .desktop-input-wrapper:focus-within {
        border-color: rgba(138, 43, 226, 0.5);
        box-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
    }
    
    #desktop-user-input {
        flex: 1;
        background: transparent;
        border: none;
        outline: none;
        color: #ffffff;
        font-size: 16px;
        line-height: 1.5;
        resize: none;
        min-height: 24px;
        max-height: 200px;
        padding: 8px 0;
        font-family: inherit;
        margin: 0 8px;
    }
    
    #desktop-user-input::placeholder {
        color: #888;
        font-style: italic;
    }
    
    #desktop-attach-files-button {
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s cubic-bezier(.25,.8,.25,1);
        box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4);
        flex-shrink: 0;
    }

    #desktop-stt-button {
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, #00ff7f 0%, #00bfaa 100%);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s cubic-bezier(.25,.8,.25,1);
        box-shadow: 0 4px 15px rgba(0, 255, 127, 0.4);
        flex-shrink: 0;
    }

    #desktop-send-button {
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, #00bfff 0%, #8a2be2 100%);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s cubic-bezier(.25,.8,.25,1);
        box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
        flex-shrink: 0;
    }
    
    #desktop-attach-files-button:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(108, 117, 125, 0.6);
    }

    #desktop-attach-files-button:active {
        transform: scale(0.95);
    }

    #desktop-stt-button:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(0, 255, 127, 0.6);
    }

    #desktop-stt-button:active {
        transform: scale(0.95);
    }

    #desktop-stt-button.listening {
        background: linear-gradient(135deg, #ff4444 0%, #cc3333 100%);
        box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
        animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
        0% { box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4); }
        50% { box-shadow: 0 8px 25px rgba(255, 68, 68, 0.8); }
        100% { box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4); }
    }

    #desktop-send-button:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(138, 43, 226, 0.6);
    }
    
    #desktop-send-button:active {
        transform: scale(0.95);
    }
    
    .attach-icon,
    .stt-icon,
    .send-icon {
        font-size: 20px;
        color: #ffffff;
        font-weight: bold;
    }

    .attach-icon {
        font-size: 18px;
    }

    .stt-icon {
        font-size: 18px;
    }
    
    /* === DESKTOP SETTINGS PANEL === */
    
    .desktop-settings {
        height: 100%;
        overflow-y: auto;
        padding: 40px 48px 80px 48px;
        background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
        box-sizing: border-box;
    }
    
    .desktop-settings-header {
        text-align: center;
        margin-bottom: 40px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    }
    
    .desktop-settings-header h1 {
        font-size: 36px;
        font-weight: 700;
        margin: 0 0 8px 0;
        background: linear-gradient(135deg, #ffffff 0%, #00bfff 50%, #8a2be2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .desktop-settings-header p {
        color: #b0b0b0;
        margin: 0;
        font-size: 16px;
    }
    
    /* Desktop Settings Sections */
    .desktop-settings-section {
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(22, 33, 62, 0.6) 100%);
        border: 1px solid rgba(138, 43, 226, 0.2);
        border-radius: 16px;
        padding: 24px;
        margin-bottom: 24px;
        backdrop-filter: blur(10px);
    }
    
    .desktop-settings-section h3 {
        color: #ffffff;
        font-size: 20px;
        font-weight: 600;
        margin: 0 0 20px 0;
        display: flex;
        align-items: center;
    }
    
    .desktop-settings-section h3 .section-icon {
        font-size: 24px;
        margin-right: 12px;
    }
    
    /* === DESKTOP PERSONA PANEL === */
    
    .desktop-persona {
        height: 100%;
        overflow-y: auto;
        padding: 40px 48px;
        background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    }
    
    .desktop-persona-header {
        text-align: center;
        margin-bottom: 40px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    }
    
    .desktop-persona-header h1 {
        font-size: 36px;
        font-weight: 700;
        margin: 0 0 8px 0;
        background: linear-gradient(135deg, #ffffff 0%, #00bfff 50%, #8a2be2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .desktop-persona-header p {
        color: #b0b0b0;
        margin: 0;
        font-size: 16px;
    }
    
    .desktop-persona-section {
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(22, 33, 62, 0.6) 100%);
        border: 1px solid rgba(138, 43, 226, 0.2);
        border-radius: 16px;
        padding: 24px;
        margin-bottom: 24px;
        backdrop-filter: blur(10px);
    }
    
    /* === DESKTOP FORM STYLING === */
    
    .desktop-setting-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        gap: 20px;
    }
    
    .desktop-setting-item label {
        color: #e0e0e0;
        font-size: 16px;
        font-weight: 500;
        min-width: 140px;
        flex-shrink: 0;
    }
    
    .desktop-setting-item input,
    .desktop-setting-item select,
    .desktop-setting-item textarea {
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(138, 43, 226, 0.3);
        border-radius: 8px;
        padding: 12px 16px;
        color: #ffffff;
        font-size: 14px;
        flex: 1;
        max-width: 300px;
        transition: all 0.3s ease;
    }
    
    .desktop-setting-item input:focus,
    .desktop-setting-item select:focus,
    .desktop-setting-item textarea:focus {
        outline: none;
        border-color: rgba(138, 43, 226, 0.6);
        box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
    }
    
    .desktop-setting-item textarea {
        min-height: 120px;
        resize: vertical;
        max-width: none;
    }
    
    .desktop-button-group {
        display: flex;
        gap: 16px;
        margin: 24px 0 40px 0;
        justify-content: center;
    }
    
    .desktop-button {
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        border: none;
        border-radius: 8px;
        padding: 12px 24px;
        color: #ffffff;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(.25,.8,.25,1);
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }
    
    .desktop-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    }
    
    .desktop-button.secondary {
        background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
        box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    }
    
    .desktop-button.secondary:hover {
        box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
    }
    
    .desktop-button.primary {
        background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }
    
    .desktop-button.primary:hover {
        box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    }
    
    .desktop-button.persona {
        background: linear-gradient(135deg, #8a2be2 0%, #6a1b9a 100%);
        box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    }
    
    .desktop-button.persona:hover {
        box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
    }
    
    /* === RESPONSIVE ADJUSTMENTS === */
    
    /* For smaller desktop screens */
    @media (min-width: 1024px) and (max-width: 1200px) {
        .desktop-sidebar {
            width: 260px;
        }
        
        .feature-grid {
            gap: 16px;
            max-height: 300px;
        }
        
        .feature-card {
            padding: 10px 14px;
            min-height: 90px;
            max-height: 130px;
        }
        
        .card-icon {
            font-size: 22px;
        }
        
        .card-header h3 {
            font-size: 15px;
        }
        
        .desktop-dashboard,
        .desktop-settings,
        .desktop-persona {
            padding: 16px 24px 20px 24px;
        }
        
        .desktop-input-area {
            padding: 20px 24px 32px;
        }
        
        .dashboard-header h1 {
            font-size: 28px;
        }
    }
    
    /* For larger desktop screens */
    @media (min-width: 1400px) {
        .dashboard-header h1 {
            font-size: 56px;
        }
        
        .dashboard-header p {
            font-size: 22px;
        }
        
        .feature-grid {
            gap: 32px;
        }
        
        .feature-card {
            padding: 32px;
        }
    }
    
    /* === UTILITY CLASSES === */
    
    .fade-in {
        animation: fadeIn 0.5s ease-in-out;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .slide-up {
        animation: slideUp 0.3s cubic-bezier(.25,.8,.25,1);
    }
    
    @keyframes slideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
    
    /* === SCROLLBAR STYLING === */
    
    .desktop-chat-window::-webkit-scrollbar,
    .desktop-dashboard::-webkit-scrollbar,
    .desktop-settings::-webkit-scrollbar,
    .desktop-persona::-webkit-scrollbar {
        width: 8px;
    }
    
    .desktop-chat-window::-webkit-scrollbar-track,
    .desktop-dashboard::-webkit-scrollbar-track,
    .desktop-settings::-webkit-scrollbar-track,
    .desktop-persona::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
    }
    
    .desktop-chat-window::-webkit-scrollbar-thumb,
    .desktop-dashboard::-webkit-scrollbar-thumb,
    .desktop-settings::-webkit-scrollbar-thumb,
    .desktop-persona::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #00bfff 0%, #8a2be2 100%);
        border-radius: 4px;
    }
    
    .desktop-chat-window::-webkit-scrollbar-thumb:hover,
    .desktop-dashboard::-webkit-scrollbar-thumb:hover,
    .desktop-settings::-webkit-scrollbar-thumb:hover,
    .desktop-persona::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #0099cc 0%, #7020a0 100%);
    }
}

/* === MOBILE ONLY (preserve original mobile layout) === */
@media (max-width: 1023px) {
    .desktop-layout {
        display: none;
    }
    
    .chat-container {
        display: flex;
    }
}