﻿.auth-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f8fa;
    background-image: radial-gradient(#e2e4e8 1px, transparent 1px);
    background-size: 18px 18px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
    padding: 40px 36px;
    box-sizing: border-box;
}

.auth-brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: #1f2937;
    margin-bottom: 28px;
}

.auth-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.auth-subheading {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0 0 28px;
    line-height: 1.4;
}

.auth-field {
    margin-bottom: 18px;
}

.auth-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.auth-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.95rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-sizing: border-box;
    background: #fff;
    transition: border-color 0.15s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.auth-password-wrap {
    position: relative;
}

.auth-toggle-visibility {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
}

.auth-toggle-visibility:hover {
    color: #4b5563;
}

.auth-error {
    display: block;
    font-size: 0.78rem;
    color: #dc2626;
    margin-top: 4px;
}

.auth-validation-summary ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    color: #dc2626;
    font-size: 0.85rem;
}

.auth-validation-summary:empty {
    display: none;
}

.auth-submit {
    width: 100%;
    padding: 13px;
    background: #3b82f6;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.15s ease;
}

.auth-submit:hover {
    background: #2563eb;
}

.auth-footer-link {
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
    margin: 24px 0 0;
}

.auth-footer-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer-link a:hover {
    text-decoration: underline;
}
