/* WhatsCRMX Emerald-Slate Auth Theme */
:root {
    --wc-primary: #10b981;
    --wc-primary-dark: #059669;
    --wc-slate-950: #020617;
    --wc-slate-900: #0f172a;
    --wc-slate-800: #1e293b;
    --wc-slate-600: #475569;
    --wc-slate-200: #e2e8f0;
    --wc-slate-50: #f8fafc;
}

body.wc-auth-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--wc-slate-50);
    color: var(--wc-slate-900);
    margin: 0;
}

body.wc-auth-body h1,
body.wc-auth-body h2,
body.wc-auth-body h3 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    letter-spacing: -0.025em;
}

.wc-auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .wc-auth-shell {
        grid-template-columns: 5fr 6fr;
    }
}

.wc-auth-brand {
    display: none;
    position: relative;
    background:
        radial-gradient(ellipse 90% 60% at 15% 10%, rgba(16, 185, 129, 0.25), transparent 65%),
        radial-gradient(ellipse 70% 50% at 85% 90%, rgba(37, 99, 235, 0.18), transparent 65%),
        linear-gradient(160deg, #020617 0%, #0f172a 60%, #064e3b 100%);
    color: #ffffff;
    padding: 3.5rem;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 1024px) {
    .wc-auth-brand {
        display: flex;
    }
}

.wc-auth-form-pane {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 1.5rem;
    background: var(--wc-slate-50);
}

.wc-auth-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid var(--wc-slate-200);
    border-radius: 1.25rem;
    padding: 2.25rem 2rem;
    box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.1);
}

.wc-auth-card input[type="text"],
.wc-auth-card input[type="email"],
.wc-auth-card input[type="password"],
.wc-auth-card input[type="tel"] {
    border: 1px solid var(--wc-slate-200) !important;
    border-radius: 0.65rem !important;
    padding: 0.65rem 0.9rem !important;
    font-size: 0.925rem !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
    background: #ffffff !important;
}

.wc-auth-card input:focus {
    border-color: var(--wc-primary) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
    outline: none !important;
}

.wc-auth-card label {
    font-weight: 600 !important;
    font-size: 0.84rem !important;
    color: #334155 !important;
    margin-bottom: 0.3rem;
}

.wc-auth-card button[type="submit"] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    border-radius: 0.7rem !important;
    padding: 0.72rem 1.4rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    font-size: 0.925rem !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.5) !important;
    transition: all 0.2s ease !important;
}

.wc-auth-card button[type="submit"]:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-1px);
}

.wc-auth-card .iti {
    width: 100%;
}

.wc-auth-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--wc-slate-600);
}

.wc-auth-links a {
    opacity: 1 !important;
    color: var(--wc-primary-dark) !important;
    font-weight: 600;
}

/* Utility Compatibility Layer for Auth Views */
.gap-2\.5 { gap: 0.625rem; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-white { color: #ffffff; }
.no-underline { text-decoration: none; }

