/* Variables CSS - Compatible avec la page d'accueil */
:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #ff4d94;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --error-color: #dc3545;
    --border-radius: 12px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Nouvelles variables pour le chat */
    --bg-primary: #f5f7fb;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --border: #ddd;
    --border-subtle: #eee;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-muted: #999;
    --medium-gray: #6c757d;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f5f7fb;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header et navigation */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.3);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info span {
    font-weight: 500;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Section principale */
.main-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

/* Sidebar */
.sidebar {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    height: fit-content;
}

.sidebar h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.sidebar-menu a:hover {
    background-color: #f0f2f5;
    color: var(--primary-color);
}

.sidebar-menu a.active {
    background-color: #eef2ff;
    color: var(--primary-color);
    font-weight: 500;
}

/* Contenu principal */
.content-area {
    min-height: 80vh;
}

.page {
    display: none;
    animation: fadeIn 0.5s;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.page-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

/* Boutons d'action */
.icon-btn {
    background: var(--light-color);
    border: 1px solid var(--border);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-color);
}

.icon-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Menu contextuel */
.context-menu {
    position: absolute;
    top: 70px;
    right: 15px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 0.5rem;
    z-index: 1000;
    min-width: 220px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-item {
    width: 100%;
    padding: 0.8rem 1rem;
    background: transparent;
    color: var(--text-secondary);
    border: none;
    border-radius: var(--border-radius);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.menu-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* Panneau de recherche */
.search-panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
    animation: slideDown 0.3s ease-out;
}

.search-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

#searchInput {
    flex: 1;
    padding: 0.8rem;
    background: var(--light-color);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
}

#searchInput:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(106, 17, 203, 0.2);
}

#closeSearchBtn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
}

#closeSearchBtn:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.search-results {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
}

/* Container du chat */
#chat-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 350px);
    min-height: 500px;
}

#chat-box {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    margin-bottom: 1rem;
    scroll-behavior: smooth;
}

#chat-box::-webkit-scrollbar {
    width: 6px;
}

#chat-box::-webkit-scrollbar-track {
    background: var(--light-color);
}

#chat-box::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

#chat-box::-webkit-scrollbar-thumb:hover {
    background: var(--gray-color);
}

/* Messages */
.message {
    margin: 1rem 0;
    max-width: 80%;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-message {
    margin-left: auto;
    text-align: right;
}

.ai-message {
    margin-right: auto;
    text-align: left;
}

.message-content {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    line-height: 1.5;
    font-size: 0.95rem;
    position: relative;
    word-wrap: break-word;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-message .message-content {
    background: var(--light-color);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.3rem;
    color: var(--text-secondary);
}

.message-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.message-action-btn {
    background: transparent;
    border: 1px solid var(--border);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--gray-color);
    transition: var(--transition);
}

.message-action-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Suggestions de message */
.suggestion-message {
    margin: 1.5rem 0;
    animation: slideIn 0.4s ease-out;
}

.suggestion-content {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.suggestion-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.suggestion-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.suggestion-btn {
    padding: 0.8rem 1rem;
    background: var(--light-color);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-size: 0.95rem;
    color: var(--dark-color);
}

.suggestion-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(5px);
}

/* Zone de saisie */
#input-area {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.toolbar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.tool-btn {
    background: white;
    border: 1px solid var(--border);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-color);
    font-size: 0.9rem;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Sélecteur d'émojis */
.emoji-picker {
    background: var(--light-color);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35px, 1fr));
    gap: 0.3rem;
    font-size: 1.4rem;
    max-height: 200px;
    overflow-y: auto;
}

.emoji-grid span {
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 6px;
    text-align: center;
    transition: var(--transition);
}

.emoji-grid span:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Container d'input */
.input-container {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.input-wrapper {
    flex: 1;
    position: relative;
}

#user-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--light-color);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    resize: none;
    max-height: 150px;
    font-family: inherit;
}

#user-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(106, 17, 203, 0.2);
}

#user-input::placeholder {
    color: var(--text-muted);
}

.char-counter {
    position: absolute;
    bottom: -20px;
    right: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

#send-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    cursor: pointer;
}

#send-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(106, 17, 203, 0.3);
}

#send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Suggestions rapides */
.quick-suggestions {
    margin-top: 1rem;
}

.suggestion-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.chip-btn {
    background: var(--light-color);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chip-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Indicateur de frappe */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--light-color);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    margin: 1rem 0;
    max-width: 100px;
    animation: slideIn 0.3s ease-out;
}

.typing-dots {
    display: flex;
    gap: 0.3rem;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.7; }
    30% { transform: translateY(-10px); opacity: 1; }
}

/* Bouton de défilement */
.scroll-to-bottom {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    border: none;
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: var(--transition);
    z-index: 98;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-bottom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 17, 203, 0.3);
}

.unread-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Toast de notification */
.toast {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 9999;
    opacity: 0;
    transition: var(--transition);
    font-size: 0.9rem;
    max-width: 80%;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: var(--success-color);
}

.toast.error {
    background: var(--danger-color);
}

.toast.warning {
    background: var(--warning-color);
}

.toast.info {
    background: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    color: #ddd;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 99;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links a {
        color: var(--dark-color);
        padding: 1rem;
        border-radius: var(--border-radius);
    }

    #chat-container {
        height: calc(100vh - 400px);
    }
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .user-info span {
        display: none;
    }

    .message {
        max-width: 90%;
    }

    #chat-container {
        padding: 1rem;
        height: calc(100vh - 450px);
    }

    .scroll-to-bottom {
        right: 1rem;
        bottom: 80px;
    }

    .context-menu {
        right: 10px;
        left: 10px;
        width: auto;
    }
}

@media (max-width: 480px) {
    .suggestion-chips {
        flex-direction: column;
    }

    .chip-btn {
        width: 100%;
        justify-content: center;
    }

    #chat-container {
        height: calc(100vh - 500px);
        min-height: 400px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .page-header h2 {
        font-size: 1.4rem;
    }

    .icon-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .input-container {
        gap: 0.3rem;
    }

    #user-input {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    #send-button {
        width: 45px;
        height: 45px;
    }

    .tool-btn {
        min-width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .message-content {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }

    .suggestion-btn {
        font-size: 0.9rem;
        padding: 0.7rem 0.9rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }
}

/* Mode paysage mobile */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        padding: 0.5rem 0;
    }

    .page-header {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    #chat-container {
        height: calc(100vh - 250px);
        padding: 1rem;
    }

    .scroll-to-bottom {
        bottom: 70px;
        right: 1rem;
    }

    .toast {
        bottom: 80px;
    }
}

/* Préférence de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .typing-dot {
        animation: none;
    }
}

/* Support des safe areas pour les appareils avec encoches */
@supports (padding: max(0px)) {
    header {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    #chat-container {
        padding-left: max(1.5rem, env(safe-area-inset-left));
        padding-right: max(1.5rem, env(safe-area-inset-right));
    }

    footer {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
}

/* Focus visible pour l'accessibilité */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* États désactivés */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animations d'entrée supplémentaires */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Amélioration du scroll */
html {
    scroll-behavior: smooth;
}

/* Selection de texte personnalisée */
::selection {
    background-color: var(--primary-color);
    color: white;
}

::-moz-selection {
    background-color: var(--primary-color);
    color: white;
}

/* Loader (si nécessaire) */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Amélioration de la lisibilité */
.message-content p {
    margin-bottom: 0.5rem;
}

.message-content p:last-child {
    margin-bottom: 0;
}

/* Style pour les liens dans les messages */
.message-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.user-message .message-content a {
    color: white;
}

/* Style pour le code dans les messages */
.message-content code {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.user-message .message-content code {
    background: rgba(255, 255, 255, 0.2);
}

/* Amélioration du placeholder */
#user-input::placeholder {
    font-style: italic;
    opacity: 0.6;
}

/* Hover effects pour desktop uniquement */
@media (hover: hover) and (pointer: fine) {
    .sidebar-menu a:hover {
        transform: translateX(5px);
    }

    .suggestion-btn:hover {
        box-shadow: 0 4px 12px rgba(106, 17, 203, 0.2);
    }

    .message-action-btn:hover {
        transform: scale(1.1);
    }

    .icon-btn:hover {
        box-shadow: 0 4px 12px rgba(106, 17, 203, 0.2);
    }

    .chip-btn:hover {
        box-shadow: 0 4px 12px rgba(106, 17, 203, 0.2);
    }
}

/* Print styles */
@media print {
    header,
    footer,
    .sidebar,
    #input-area,
    .scroll-to-bottom,
    .header-actions,
    .message-actions {
        display: none !important;
    }

    .main-content {
        grid-template-columns: 1fr;
    }

    .message {
        page-break-inside: avoid;
    }

    body {
        background: white;
    }

    #chat-container {
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* Dark mode support (optionnel) */
@media (prefers-color-scheme: dark) {
    /* Vous pouvez ajouter ici des styles pour le mode sombre si souhaité */
    /* Pour l'instant, on garde le thème clair par défaut */
}

/* Ajustements finaux pour très grands écrans */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    #chat-container {
        max-width: 900px;
        margin: 0 auto;
    }
}

/* Fin du CSS */