/* ============================================
   DataVault - Auth Pages (Login / Register)
   ============================================ */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-brand {
    text-align: center;
    margin-bottom: 40px;
}

.auth-brand .brand-icon {
    width: 56px;
    height: 56px;
    background: #ffffff;
    color: #000000;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.auth-brand h1 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.auth-brand p {
    color: #888888;
    font-size: 0.9rem;
    margin-top: 6px;
}

.auth-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
}

.auth-card h2 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.auth-card .auth-subtitle {
    color: #888888;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.auth-card .form-group {
    margin-bottom: 20px;
}

.auth-card .form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 6px;
    display: block;
}

.auth-card .form-control {
    padding: 12px 14px;
    font-size: 0.9rem;
    border-radius: 8px;
}

.auth-card .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: #888888;
    font-size: 0.875rem;
}

.auth-footer a {
    color: #ffffff;
    font-weight: 500;
}

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

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #cccccc;
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.auth-divider span {
    padding: 0 16px;
}

/* Auth form validation errors list */
.auth-errors {
    background: #fdf0f0;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    list-style: none;
}

.auth-errors li {
    color: #cc3333;
    font-size: 0.85rem;
    padding: 2px 0;
}

/* Remember me checkbox */
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #000000;
}

.form-check label {
    font-size: 0.85rem;
    color: #555555;
    margin-bottom: 0 !important;
    cursor: pointer;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 28px 24px;
    }

    .auth-brand h1 {
        font-size: 1.5rem;
    }
}
