/* Auth Pages — .au- prefix */

.au-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f5;
    padding: 40px 20px;
}

.au-container {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 3px rgba(0,0,0,0.06);
}

.au-logo {
    display: block;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0a0a0f;
    text-decoration: none;
    margin-bottom: 24px;
}

.au-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0a0a0f;
    text-align: center;
    margin: 0 0 8px;
}

.au-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    margin: 0 0 28px;
}

.au-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.au-alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.au-alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.au-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.au-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.au-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    color: #0a0a0f;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.au-field input:focus {
    outline: none;
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.au-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.au-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.au-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.au-checkbox input { width: auto; }

.au-link {
    color: #DC2626;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.au-link:hover { text-decoration: underline; }

.au-btn {
    width: 100%;
    padding: 14px;
    background: #DC2626;
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
}
.au-btn:hover { background: #b91c1c; }

.au-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}
.au-google-btn:hover {
    background: #f9fafb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.au-google-btn svg { flex-shrink: 0; }

.au-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: #9ca3af;
    font-size: 13px;
}
.au-divider::before,
.au-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.au-footer {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-top: 24px;
}

.au-back {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #6b7280;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}
.au-back:hover { color: #DC2626; }

@media (max-width: 480px) {
    .au-container { padding: 28px 20px; }
    .au-field-row { grid-template-columns: 1fr; }
}
