/* General Font */
body {
    font-family: 'Inter', sans-serif;
}

/* Chat Scrollbar Styling */
#chat-window::-webkit-scrollbar {
    width: 6px;
}

#chat-window::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.dark #chat-window::-webkit-scrollbar-track {
    background: #4b5563; /* gray-600 */
}

#chat-window::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}
.dark #chat-window::-webkit-scrollbar-thumb {
    background: #6b7280; /* gray-500 */
}

/* Code block styling */
.prose pre {
    background-color: #1f2937;
    color: #d5d5d7;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.4;

}

/* Microphone Button (Active State) */
#mic-button.listening {
    color: #ef4444; /* Red when listening */
}

/* Suggestion Button */
.suggestion-btn {
    transition: background-color 0.2s, transform 0.2s;
    font-size: 0.875rem; /* text-sm */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.suggestion-btn:hover {
    background-color: #14429db2; /* gray-200 */
}
.dark .suggestion-btn:hover {
    background-color: #4b5563; /* gray-600 */
}

/* Input field placeholder */
#chat-input::placeholder {
    font-size: 0.875rem;
    color: #9ca3af; /* gray-400 */
}

/* Responsive Fixes */
@media (max-width: 640px) {
    h1, h2, h3 {
        font-size: 1rem !important;
    }

    #user-info {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #chat-form button i {
        font-size: 1rem;
    }

    .suggestion-btn {
        padding: 0.75rem;
        font-size: 0.75rem;
    }

    .prose pre {
        font-size: 0.75rem;
    }

    #chat-window {
        padding: 0.75rem !important;
    }

    #media-modal form input {
        font-size: 0.875rem;
    }

    #media-modal h3 {
        font-size: 1rem;
    }
}
