:root {
    /* --- COLORS --- */
    /* Primary Brand */
    --primary: #6366f1;
    /* Indigo 500 */
    --primary-hover: #4f46e5;
    /* Indigo 600 */
    --primary-light: #e0e7ff;
    /* Indigo 100 */

    /* Secondary/Accent */
    --secondary: #ec4899;
    /* Pink 500 */
    --secondary-hover: #db2777;
    /* Pink 600 */

    /* Status Colors */
    --success: #10b981;
    /* Emerald 500 */
    --warning: #f59e0b;
    /* Amber 500 */
    --danger: #ef4444;
    /* Red 500 */
    --info: #3b82f6;
    /* Blue 500 */

    /* Neutral/Backgrounds */
    --bg-app: #f3f4f6;
    /* Cool Gray 100 */
    --bg-surface: #ffffff;
    --text-main: #111827;
    /* Gray 900 */
    --text-secondary: #6b7280;
    /* Gray 500 */
    --border: #e5e7eb;
    /* Gray 200 */

    /* --- CLAYMORPHISM SHADOWS --- */
    --clay-shadow-sm:
        8px 8px 16px 0 rgba(163, 177, 198, 0.6),
        -8px -8px 16px 0 rgba(255, 255, 255, 0.5);

    --clay-shadow-md:
        12px 12px 24px 0 rgba(163, 177, 198, 0.6),
        -12px -12px 24px 0 rgba(255, 255, 255, 0.5);

    --clay-shadow-inner:
        inset 6px 6px 12px 0 rgba(163, 177, 198, 0.6),
        inset -6px -6px 12px 0 rgba(255, 255, 255, 0.5);

    /* --- TYPOGRAPHY --- */
    --font-family: 'Outfit', sans-serif;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-app);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* --- UTILITIES --- */
.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.w-full {
    width: 100%;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* --- COMPONENTS --- */

/* Clay Card */
.clay-card {
    background: var(--bg-surface);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--clay-shadow-md);
    transition: transform 0.2s ease;
}

/* Inputs */
.clay-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 1rem;
    background: var(--bg-app);
    box-shadow: var(--clay-shadow-inner);
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
    transition: all 0.2s ease;
}

.clay-input:focus {
    box-shadow: inset 4px 4px 8px 0 rgba(163, 177, 198, 0.5),
        inset -4px -4px 8px 0 rgba(255, 255, 255, 0.6),
        0 0 0 2px var(--primary-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 6px 6px 12px rgba(163, 177, 198, 0.4),
        -6px -6px 12px rgba(255, 255, 255, 0.8);
}

.btn:active {
    transform: scale(0.98);
    box-shadow: var(--clay-shadow-inner);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-main);
}

.btn-secondary:hover {
    color: var(--primary);
}

/* --- AUTH SCREEN SPECIFIC --- */
.auth-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.auth-left {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 60%);
    top: -25%;
    left: -25%;
}

.auth-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-app);
    padding: 2rem;
}

.auth-box {
    width: 100%;
    max-width: 450px;
}

.brand-large {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 400px;
    text-align: center;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.divider span {
    padding: 0 1rem;
}

.link {
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
}

.link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-left {
        padding: 2rem;
        min-height: 250px;
        flex: none;
    }

    .brand-large {
        font-size: 2.5rem;
    }
}