/* ==================== BASE STYLES ==================== */
/* Global reset and base styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: #2f2f2f;
    height: 100vh;
    color: #e5e5e5;
    overflow: hidden;
    position: relative;
}

/* Subtle animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(234, 88, 12, 0.02) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes backgroundFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-10px, -5px) scale(1.02);
    }
}

.container {
    display: flex;
    height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    background: #2f2f2f;
}

/* ==================== LOADING STATES ==================== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.ai-status {
    position: absolute;
    top: 10px;
    right: 20px;
    padding: 6px 12px;
    background: #404040;
    border-radius: 16px;
    font-size: 11px;
    color: #a3a3a3;
    border: 1px solid #525252;
}

.ai-status.connected {
    color: #22c55e;
    border-color: #22c55e;
}

.ai-status.loading {
    color: #f97316;
    border-color: #f97316;
}

.ai-status.error {
    color: #ef4444;
    border-color: #ef4444;
}

/* ==================== SCROLLBAR ==================== */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #2f2f2f;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #525252;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #737373;
}