@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --success: #10b981;
    --background: #fdfdfd;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --radius-lg: 20px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
    color: var(--text-main);
}

.auth-container {
    width: 100%;
    max-width: 1000px;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

/* Left Side - Visual/Marketing */
.auth-visual {
    flex: 1;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 60px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-visual::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.auth-visual h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    position: relative;
}

.auth-visual p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
}

.feature-item i {
    color: #ffd700;
}

/* Right Side - Login Form */
.auth-form-side {
    width: 450px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-container {
    margin-bottom: 40px;
}

.logo-container img {
    height: 48px;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

/* DigiLocker Button */
.digilocker-btn {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #1a202c;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.digilocker-btn:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.digilocker-btn img {
    height: 24px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider:not(:empty)::before {
    margin-right: .5em;
}

.divider:not(:empty)::after {
    margin-left: .5em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

/* Luxury Input Architecture */
.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.form-input {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #f8fafc;
    transition: all 0.3s ease;
    outline: none;
    max-width: 100%;
}

.input-wrapper .form-input {
    padding-left: 48px;
}

.form-input:focus {
    background: white;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-input:focus + i {
    color: var(--primary-light);
}

.btn-primary {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #172554;
}

.auth-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
}

.referral-card-box {
    background: #eff6ff;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #dbeafe;
    margin-top: 32px;
    margin-bottom: 32px;
}

.referral-card-box label {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 12px;
    display: block;
}

@media (max-width: 991px) {
    .auth-visual {
        display: none;
    }
    .auth-container {
        max-width: 450px;
    }
    .auth-form-side {
        width: 100%;
        padding: 40px;
    }
}
