@charset "UTF-8";
        :root {
            --earth:   #1a1208;
            --bark:    #2d1f0a;
            --amber:   #e67e22;
            --saffron: #f39c12;
            --lime:    #27ae60;
            --mint:    #2ecc71;
            --cream:   #fdf6e3;
            --paper:   #f5efe0;
            --muted:   #a89070;
            --card-bg: rgba(255,255,255,0.92);
            --shadow:  0 4px 24px rgba(26,18,8,0.10);
            --page-px: clamp(1rem, 4vw, 2rem);
            --radius-lg: 16px;
            --radius-md: 12px;
            --radius-sm: 8px;
        }

        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }

        body {
            font-family: 'DM Sans', sans-serif;
            font-weight: 900 !important;
            background: var(--cream);
            color: var(--earth);
            min-height: 100vh;
            -webkit-font-smoothing: antialiased;
        }

        /* ══ BACKGROUND ══ */
        .login-bg {
            min-height: calc(100vh - 60px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: clamp(1.5rem, 5vw, 3rem) var(--page-px);
            background-image:
                radial-gradient(ellipse 80% 50% at 10% 10%, rgba(39,174,96,0.09) 0%, transparent 60%),
                radial-gradient(ellipse 60% 50% at 90% 90%, rgba(230,126,34,0.10) 0%, transparent 60%),
                radial-gradient(ellipse 40% 40% at 50% 50%, rgba(243,156,18,0.04) 0%, transparent 70%);
            position: relative;
            overflow: hidden;
        }

        /* Decorative blobs */
        .login-bg::before {
            content: '';
            position: absolute;
            width: clamp(200px, 40vw, 500px);
            height: clamp(200px, 40vw, 500px);
            background: radial-gradient(circle, rgba(39,174,96,0.06) 0%, transparent 70%);
            border-radius: 50%;
            top: -10%;
            left: -10%;
            pointer-events: none;
        }
        .login-bg::after {
            content: '';
            position: absolute;
            width: clamp(150px, 30vw, 400px);
            height: clamp(150px, 30vw, 400px);
            background: radial-gradient(circle, rgba(230,126,34,0.07) 0%, transparent 70%);
            border-radius: 50%;
            bottom: -5%;
            right: -5%;
            pointer-events: none;
        }

        /* ══ LAYOUT ══ */
        .login-wrapper {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0;
            width: 100%;
            max-width: 900px;
            background: var(--card-bg);
            border-radius: 24px;
            box-shadow:
                0 2px 0 rgba(255,255,255,0.8) inset,
                0 24px 80px rgba(26,18,8,0.14),
                0 4px 16px rgba(26,18,8,0.08);
            overflow: hidden;
            border: 1px solid rgba(230,126,34,0.12);
            position: relative;
            z-index: 1;
        }

        @media (min-width: 700px) {
            .login-wrapper {
                grid-template-columns: 1fr 1fr;
            }
        }

        /* ══ LEFT PANEL ══ */
        .login-panel-left {
            background: var(--bark);
            padding: clamp(2rem, 5vw, 3rem);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 2rem;
            position: relative;
            overflow: hidden;
            min-height: 280px;
        }

        .login-panel-left::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 80% 60% at 20% 20%, rgba(39,174,96,0.15) 0%, transparent 60%),
                radial-gradient(ellipse 60% 60% at 80% 80%, rgba(243,156,18,0.12) 0%, transparent 60%);
            pointer-events: none;
        }

        /* Decorative circle */
        .login-panel-left::after {
            content: '🌿';
            position: absolute;
            font-size: clamp(6rem, 15vw, 12rem);
            bottom: -1rem;
            right: -1rem;
            opacity: 0.06;
            line-height: 1;
            pointer-events: none;
            filter: grayscale(1);
        }

        .left-brand {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .left-brand-icon img {
            width: 42px;
            height: 42px;
            object-fit: contain;
        }

        .left-brand-name {
            font-size: 24px;
            font-weight: 700;
            color: #ffffff; /* Live */
        }

        .left-brand-name span {
            color: var(--saffron); /* Mandi Rates - yellow */
        }
        .left-body {
            position: relative;
            z-index: 1;
        }

        .left-tagline {
            font-family: 'DM Sans', sans-serif;
            font-weight: 900 !important;
            font-size: clamp(1.1rem, 2.5vw, 1.4rem);
            color: var(--cream);
            line-height: 1.4;
            margin-bottom: 1rem;
        }

        .left-tagline em {
            color: var(--saffron);
            font-style: italic;
        }

        .left-features {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .left-feature {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.82rem;
            color: rgba(253,246,227,0.75);
        }

        .left-feature-dot {
            width: 6px; height: 6px;
            background: var(--mint);
            border-radius: 50%;
            flex-shrink: 0;
        }

        /* ══ RIGHT PANEL ══ */
        .login-panel-right {
            padding: clamp(2rem, 5vw, 3rem);
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 1.5rem;
            background: var(--card-bg);
        }

        .right-heading {
            font-family: 'DM Sans', sans-serif;
            font-weight: 900 !important;
            font-size: clamp(1.3rem, 3vw, 1.7rem);
            color: var(--earth);
            line-height: 1.2;
        }

        .right-sub {
            font-size: 0.85rem;
            color: var(--muted);
            line-height: 1.6;
            margin-top: 0.25rem;
        }

        /* Error */
        .error-msg {
            background: rgba(192,57,43,0.08);
            border: 1px solid rgba(192,57,43,0.25);
            color: #c0392b;
            border-radius: var(--radius-sm);
            padding: 0.75rem 1rem;
            font-size: 0.83rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Google button */
        .btn-google {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            width: 100%;
            background: #fff;
            color: #3c4043;
            font-family: 'DM Sans', sans-serif;
            font-size: 0.95rem;
            font-weight: 900 !important;
            padding: 14px 20px;
            border-radius: var(--radius-md);
            text-decoration: none;
            border: 1.5px solid #e0d4c0;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(26,18,8,0.08);
            transition: all 0.15s ease;
            position: relative;
            overflow: hidden;
        }

        .btn-google::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, transparent, rgba(39,174,96,0.04), transparent);
            opacity: 0;
            transition: opacity 0.2s;
        }

        .btn-google:hover {
            border-color: var(--lime);
            box-shadow: 0 4px 16px rgba(26,18,8,0.12);
            transform: translateY(-1px);
        }

        .btn-google:hover::after { opacity: 1; }
        .btn-google:active { transform: translateY(0); }

        .btn-google img {
            width: 20px; height: 20px;
            flex-shrink: 0;
        }

        /* Divider */
        .login-divider {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 0.75rem;
            color: var(--muted);
        }
        .login-divider::before,
        .login-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #e0d4c0;
        }

        /* Trust badges */
        .trust-row {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .trust-badge {
            display: flex;
            align-items: center;
            gap: 5px;
            background: var(--paper);
            border: 1px solid #e0d4c0;
            border-radius: 20px;
            padding: 4px 10px;
            font-size: 0.72rem;
            color: var(--muted);
        }

        /* Back link */
        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            color: var(--muted);
            font-size: 0.8rem;
            text-decoration: none;
            transition: color 0.15s;
        }
        .back-link:hover { color: var(--lime); }

        /* ══ MOBILE ADJUSTMENTS ══ */
@media (max-width: 699px) {
    .login-wrapper {
        grid-template-columns: 1fr;
    }

    .login-panel-left {
        padding: 1.5rem;
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    /* ← REMOVE the display:none rules, replace with compact sizing */
    .left-body {
        display: block; /* was: none */
    }

    .left-tagline {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .left-features {
        gap: 0.35rem;
    }

    .left-feature {
        font-size: 0.78rem;
    }

    .login-panel-left::after {
        font-size: 5rem; /* shrink decorative emoji on mobile */
    }

    .login-panel-right {
        padding: 1.5rem;
        gap: 1.1rem;
    }
}
    
