/* Simple Breeze-like layout without Tailwind build */

:root {
    --bg: #f4f6f9;
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --border: #e5e7eb;
    --text: #111827;
    --muted: #6b7280;
    --danger: #dc2626;
    --radius: 0.75rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 1.5rem;
}

.auth-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border);
}

.auth-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-logo h1 {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.auth-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-align: center;
}

.auth-subtitle {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-form-group {
    margin-bottom: 1rem;
}

.auth-label {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: .35rem;
}

.auth-input {
    width: 100%;
    padding: .65rem .8rem;
    border-radius: .55rem;
    border: 1px solid var(--border);
    font-size: .95rem;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, .35);
}

.auth-error {
    color: var(--danger);
    font-size: .8rem;
    margin-top: .2rem;
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: .75rem 0 1.25rem;
    font-size: .85rem;
}

.auth-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    cursor: pointer;
}

.auth-checkbox-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
}

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

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

.auth-button {
    width: 100%;
    border: none;
    border-radius: .6rem;
    padding: .7rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    transition: transform .08s ease, box-shadow .12s ease, filter .08s ease;
}

.auth-button:hover {
    filter: brightness(1.03);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: .85rem;
    color: var(--muted);
}

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

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

.auth-alert {
    border-radius: .6rem;
    padding: .75rem .9rem;
    font-size: .85rem;
    margin-bottom: 1rem;
}

.auth-alert-success {
    background: #ecfdf3;
    border: 1px solid #4ade80;
    color: #166534;
}

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

@media (max-width: 480px) {
    body {
        align-items: flex-start;
    }
    .auth-wrapper {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    .auth-card {
        padding: 1.5rem;
    }
}