/* ===========================
   AUTH PAGES — Neubrutalist
   =========================== */

:root {
    --black: #1a1a1a;
    --white: #ffffff;
    --cream: #fef9ef;
    --yellow: #ffe156;
    --pink: #ff6b9d;
    --green: #06d6a0;
    --blue: #4361ee;
    --purple: #7c3aed;
    --orange: #ff9f1c;
    --red: #ef4444;
    --border: 3px solid var(--black);
    --shadow: 5px 5px 0px var(--black);
    --shadow-sm: 3px 3px 0px var(--black);
    --radius: 12px;
    --font: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font);
    background: var(--cream);
    color: var(--black);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.auth-container {
    max-width: 460px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--black);
    margin-bottom: 28px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--yellow);
    border: var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
}

.logo-text {
    font-weight: 800;
    font-size: 22px;
}

/* Card */
.auth-card {
    background: var(--white);
    border: var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 32px 24px;
    text-align: left;
}

.auth-card h1 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 6px;
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 2px solid;
}

.alert-error {
    background: #fef2f2;
    border-color: var(--red);
    color: #991b1b;
}

.alert-success {
    background: #f0fdf4;
    border-color: var(--green);
    color: #166534;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
}

.form-group input {
    padding: 12px 14px;
    border: var(--border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    background: var(--white);
    transition: all 0.15s ease;
}

.form-group input:focus {
    outline: none;
    box-shadow: var(--shadow-sm);
    border-color: var(--blue);
}

.form-group input::placeholder {
    color: #bbb;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn:hover {
    transform: translate(2px, 2px);
    box-shadow: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 17px;
}

.btn-full {
    width: 100%;
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.auth-link {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    text-decoration: none;
}

.back-link:hover {
    color: var(--black);
}
