* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00a884;
    --primary-dark: #008f72;
    --dark: #0b141a;
    --secondary: #111b21;
    --text: #1f2937;
    --muted: #667781;
    --light: #f0f2f5;
    --white: #ffffff;
    --border: #e5e7eb;
    --danger: #dc2626;
    --success: #16a34a;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--text);
}

a {
    text-decoration: none;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 520px;
}

/* LEFT */

.auth-left {
    position: relative;
    padding: 46px 64px;
    background:
        radial-gradient(circle at top right, rgba(0, 168, 132, 0.22), transparent 34%),
        linear-gradient(135deg, #0b141a, #12242c);
    color: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.auth-left::after {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(0, 168, 132, 0.12);
    bottom: -160px;
    right: -120px;
}

.brand,
.mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 24px;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), #35d6b5);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.auth-copy {
    max-width: 680px;
    margin: auto 0;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    background: rgba(0, 168, 132, 0.15);
    color: #9ff5df;
    padding: 9px 15px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 22px;
}

.auth-copy h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.auth-copy p {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.7;
    max-width: 620px;
}

.auth-benefits {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 38px;
}

.auth-benefits div {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 16px 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-benefits strong {
    font-size: 20px;
}

.auth-benefits span {
    color: #e2e8f0;
    font-weight: 600;
}

/* RIGHT */

.auth-right {
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.mobile-brand {
    display: none;
    color: var(--secondary);
    margin-bottom: 28px;
}

.auth-header {
    margin-bottom: 24px;
}

.auth-header h2 {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 8px;
    letter-spacing: -0.8px;
}

.auth-header p {
    color: var(--muted);
    line-height: 1.6;
}

.alert {
    padding: 13px 15px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}

.alert.error {
    background: #fef2f2;
    color: var(--danger);
    border: 1px solid #fecaca;
}

.alert.success {
    background: #f0fdf4;
    color: var(--success);
    border: 1px solid #bbf7d0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
}

.form-group input {
    width: 100%;
    border: 1px solid var(--border);
    background: #f8fafc;
    border-radius: 15px;
    padding: 15px 16px;
    font-size: 15px;
    outline: none;
    transition: 0.2s;
}

.form-group input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 168, 132, 0.12);
}

.form-options {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: var(--muted);
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 7px;
}

.form-options a {
    color: var(--primary);
    font-weight: 700;
}

.btn-auth {
    width: 100%;
    border: none;
    background: var(--primary);
    color: white;
    padding: 15px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: 0 12px 26px rgba(0, 168, 132, 0.25);
}

.btn-auth:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.auth-footer {
    margin-top: 26px;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 800;
}

/* RESPONSIVE */

@media (max-width: 920px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        min-height: 100vh;
    }

    .mobile-brand {
        display: flex;
    }
}

@media (max-width: 520px) {
    .auth-right {
        padding: 18px;
    }

    .auth-card {
        padding: 26px 22px;
        border-radius: 22px;
    }

    .auth-header h2 {
        font-size: 28px;
    }

    .form-options {
        flex-direction: column;
    }
}