:root {
    --primary: #2c4bd1;
    --primary-dark: #1029a0;
    --accent: #18d1b3;
    --dark-bg: #0b2083;
    --card-bg: rgba(11, 32, 131, 0.40);
    --text-main: #f3f9ff;
    --text-muted: #bbc8fb;
    --gradient: linear-gradient(135deg, #2c4bd1 0%, #1029a0 100%);
    --bg-gradient: linear-gradient(-45deg, #0b2083, #1029a0, #2c4bd1);
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --button-shadow: 0 18px 32px rgba(11, 32, 131, 0.28);
}

body {
    background: var(--bg-gradient);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    min-height: 100vh;
}

.main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Card Styling (AppWizzy style) */
.chat-container, .admin-container {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    color: var(--text-main);
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

/* Buttons */
button {
    background: var(--gradient);
    border: 1px solid rgba(221, 226, 253, 0.14);
    padding: 0.82rem 1.55rem;
    border-radius: 14px;
    color: white;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: var(--button-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px rgba(11, 32, 131, 0.34);
    filter: brightness(1.04);
}

/* Inputs */
input, .form-control {
    background: rgba(221, 226, 253, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
}

input:focus {
    border-color: var(--primary);
    outline: none;
}