/* Shared "auth card" styling used across Areas/Identity/Pages/Account/*.cshtml.
   Extracted from the Login/Register page styles so the ruleset lives in one
   place instead of being duplicated inline on every Identity page. */

.auth-section {
    display: flex;
    justify-content: center;
    padding: 64px 20px;
    background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
    min-height: 70vh;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0px 8px 30px rgba(16, 68, 120, 0.08);
    padding: 40px 36px;
    text-align: center;
}

.auth-card--wide {
    max-width: 520px;
}

.auth-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fff7e6;
    color: #ffaf00;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-icon--success {
    background: #e6f7ee;
    color: #16a34a;
}

.auth-icon--danger {
    background: #fdecec;
    color: #dc2626;
}

.auth-icon--info {
    background: #e8f1fb;
    color: #104478;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #104478;
    margin-bottom: 6px;
}

.auth-subtitle {
    color: #6b7280;
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.auth-body-text {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.auth-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    font-size: 0.85rem;
    color: #4b5563;
}

    .auth-terms-check input {
        margin-top: 3px;
        flex-shrink: 0;
    }

    .auth-terms-check a {
        color: #104478;
        font-weight: 600;
    }

.auth-social-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.auth-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px;
    border-radius: 10px;
    border: 1px solid #e2e5eb;
    background: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    color: #1f2937;
    transition: box-shadow 0.15s, transform 0.1s;
}

    .auth-social-btn img {
        width: 18px;
        height: 18px;
    }

    .auth-social-btn:not(:disabled):hover {
        box-shadow: 0 4px 12px rgba(16, 68, 120, 0.12);
        transform: translateY(-1px);
    }

    .auth-social-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.auth-social-btn--dark {
    background: #000;
    color: #fff;
    border-color: #000;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #9ca3af;
    font-size: 0.82rem;
    margin-bottom: 20px;
}

    .auth-divider::before,
    .auth-divider::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #e5e7eb;
    }

    .auth-divider span {
        padding: 0 12px;
        white-space: nowrap;
    }

.auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

    .auth-input-group i {
        position: absolute;
        left: 14px;
        color: #9ca3af;
        font-size: 1rem;
    }

    .auth-input-group .form-control {
        padding-left: 42px;
        border-radius: 10px;
        border: 1px solid #e2e5eb;
        padding-top: 12px;
        padding-bottom: 12px;
    }

        .auth-input-group .form-control:focus {
            border-color: #104478;
            box-shadow: 0 0 0 3px rgba(16, 68, 120, 0.1);
        }

.auth-submit-btn {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 50px;
    background: #ffaf00;
    color: #104478;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 18px;
    transition: filter 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .auth-submit-btn:hover {
        filter: brightness(0.95);
    }

    .auth-submit-btn:disabled {
        opacity: 0.7;
    }

.auth-footer-link {
    text-align: center;
    margin-top: 18px;
    font-size: 0.88rem;
}

    .auth-footer-link a {
        color: #6b7280;
    }

        .auth-footer-link a strong {
            color: #104478;
        }

.full-screen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

    .full-screen-loader .spinner-border {
        width: 3rem;
        height: 3rem;
    }

.links-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}
