:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --muted: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--secondary); background: var(--light); }
a { text-decoration: none; color: inherit; }

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
}

.auth-card {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px clamp(24px, 6vw, 80px);
    background: var(--white);
}

.auth-logo img {
    width: 170px;
    height: auto;
    margin-bottom: 42px;
}

.auth-header span,
.badge {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 18px;
}

.auth-header h1 {
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1;
    letter-spacing: -0.06em;
    margin-bottom: 16px;
}

.auth-header p {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 28px;
    max-width: 440px;
}

.auth-form {
    display: grid;
    gap: 18px;
    max-width: 440px;
}

.auth-form label {
    display: grid;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
}

.auth-form input {
    width: 100%;
    height: 54px;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0 16px;
    font: inherit;
    outline: none;
    transition: 0.2s ease;
}

.auth-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.auth-form button {
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.auth-form button:hover { background: var(--primary-dark); }

.alert-error {
    max-width: 440px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 700;
    margin-bottom: 18px;
}

.auth-help {
    max-width: 440px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 13px;
}

.auth-info {
    display: flex;
    align-items: center;
    padding: 70px;
    color: var(--white);
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.28), transparent 34%),
        linear-gradient(135deg, #2563eb, #0f172a);
}

.auth-info h2 {
    max-width: 620px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.07em;
    margin-bottom: 24px;
}

.auth-info p {
    max-width: 560px;
    font-size: 20px;
    color: #dbeafe;
}

@media (max-width: 900px) {
    .auth-page { grid-template-columns: 1fr; }
    .auth-card { min-height: auto; padding: 40px 24px; }
    .auth-info { display: none; }
}

.alert-success {
    max-width: 440px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #dcfce7;
    color: #166534;
    font-weight: 700;
    margin-bottom: 18px;
}

.auth-forgot {
    max-width: 440px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 700;
}

.auth-forgot a {
    color: var(--primary);
    text-decoration: none;
}

.auth-forgot a:hover {
    text-decoration: underline;
}

.auth-forgot-row {
    max-width: 440px;
    margin: -2px 0 4px;
    text-align: right;
    font-size: 14px;
    font-weight: 800;
}

.auth-forgot-row a {
    color: var(--primary);
    text-decoration: none;
}

.auth-forgot-row a:hover {
    text-decoration: underline;
}
