﻿.auth-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: #f8fafc;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.auth-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.35rem;
}

.auth-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

.auth-form-group {
    margin-bottom: 1.1rem;
}

.auth-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
}

.auth-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0.78rem 0.95rem;
    font-size: 0.95rem;
    color: #111827;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}

    .auth-input:focus {
        border-color: #111827;
        box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
    }

.auth-password-wrapper {
    position: relative;
}

    .auth-password-wrapper .auth-input {
        padding-right: 5.4rem;
    }

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.65rem;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #374151;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
}

    .auth-password-toggle:hover {
        background: #f3f4f6;
    }

.auth-button {
    width: 100%;
    border: none;
    background: #111827;
    color: #ffffff;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-weight: 700;
    font-size: 0.96rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

    .auth-button:hover {
        background: #1f2937;
    }

    .auth-button:active {
        transform: scale(0.99);
    }

.auth-footer {
    margin-top: 1.35rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.92rem;
}

.auth-link {
    color: #111827;
    font-weight: 700;
    text-decoration: none;
}

    .auth-link:hover {
        text-decoration: underline;
    }

.auth-validation-summary {
    border-radius: 12px;
    padding: 0.8rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

    .auth-validation-summary ul {
        margin-bottom: 0;
        padding-left: 1.25rem;
    }

.field-validation-error {
    display: block;
    color: #dc2626;
    font-size: 0.82rem;
    margin-top: 0.35rem;
}

.input-validation-error {
    border-color: #dc2626;
}

.auth-alert-success {
    border-radius: 12px;
    padding: 0.8rem 1rem;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.access-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #fef3c7;
    color: #92400e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
}
