@import './theme.css';

/* auth.css */
body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(
        135deg,
        var(--court) 0%,
        var(--court-mid) 55%,
        rgba(var(--clay-rgb), 0.25) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.auth-card h1 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.auth-card p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-error {
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    border: 1px solid #ef4444;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.92rem;
}

form input {
    padding: 0.8rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

form input:focus {
    outline: none;
    border-color: var(--court-mid);
}

button {
    margin-top: 1rem;
    padding: 0.9rem;
    border-radius: 12px;
    border: none;
    background: var(--court-mid);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover {
    background: var(--court);
}

.auth-helper {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.9rem;
}

.auth-helper a {
    color: var(--court-mid);
    text-decoration: none;
    font-weight: 600;
}

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

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--court-mid);
    text-decoration: none;
    font-weight: 600;
}

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