.auth-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
    padding: 28px 24px;
}

.auth-title {
    margin: 0 0 6px;
    font-size: 28px;
    line-height: 1.2;
    color: #111827;
}

.auth-subtitle {
    margin: 0 0 18px;
    font-size: 14px;
    color: #6b7280;
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-field {
    display: grid;
    gap: 6px;
}

.auth-field label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.auth-input {
    width: 100%;
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: #111827;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.auth-btn {
    height: 42px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.auth-btn:hover {
    background: #1d4ed8;
}

.auth-alert {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
}

.auth-alert p {
    margin: 0;
}

.auth-error {
    margin: 0;
    color: #b91c1c;
    font-size: 12px;
}


.auth-switch {
    margin: 4px 0 0;
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}

.auth-switch a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

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