@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --brand: #ff7f00;
    --brand-dark: #e67300;
    --ink: #1f1f1f;
    --muted: #6b7280;
    --surface: #ffffff;
    --bg-top: #fff6eb;
    --bg-bottom: #ffe2c2;
    --border: rgba(255, 127, 0, 0.12);
    --shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.auth-page {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 28px 16px 40px;
    color: var(--ink);
}

.auth-wrapper {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background: var(--surface);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 32px 26px;
    border: 1px solid var(--border);
}

.brand {
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.3px;
    color: var(--ink);
    margin-bottom: 6px;
}

.auth-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.auth-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.field {
    margin-bottom: 18px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 8px;
}

.input {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(255, 127, 0, 0.15);
}

.helper-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 18px;
    flex-wrap: wrap;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}

.checkbox input {
    accent-color: var(--brand);
    width: 16px;
    height: 16px;
}

.link {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.link:hover {
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    padding: 13px 16px;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 20px rgba(255, 127, 0, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(255, 127, 0, 0.3);
}

.fine-print {
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}

.auth-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: var(--muted);
}

.auth-footer a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-back {
    text-align: center;
    margin-top: 16px;
}

.auth-back a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.auth-back a:hover {
    text-decoration: underline;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 127, 0, 0.12);
    color: var(--brand);
    font-weight: 600;
}

.status {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
}

.status.success {
    background: #e8f7ef;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status.error {
    background: #fdecec;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

@media (min-width: 640px) {
    .auth-card {
        padding: 38px 34px;
    }

    .auth-title {
        font-size: 24px;
    }
}
