﻿
/* Portal Access Denied Page Styles */
.portal-access-denied-page {
    padding: 1.25rem 0 2rem;
}

.portal-access-denied-page__wrap {
    min-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.portal-access-denied-card {
    width: 100%;
    max-width: 760px;
    text-align: center;
    border: 1px solid var(--portal-border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 40px rgba(67, 127, 205, 0.08);
    padding: 2rem 1.5rem;
}

.portal-access-denied-card__icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 1rem;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff1f2;
    color: #e11d48;
    font-size: 1.5rem;
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.08);
}

.portal-access-denied-card__subtitle {
    margin: 0.9rem 0 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--portal-text);
}

.portal-access-denied-card__text {
    max-width: 560px;
    margin: 1rem auto 0;
}

.portal-access-denied-card__actions {
    display: flex;
    justify-content: center;
    margin-top: 1.4rem;
}

@media (max-width: 767.98px) {
    .portal-access-denied-page {
        padding: 1rem 0 1.5rem;
    }

    .portal-access-denied-page__wrap {
        min-height: 58vh;
        padding: 1rem;
    }

    .portal-access-denied-card {
        padding: 1.5rem 1rem;
        border-radius: 24px;
    }

    .portal-access-denied-card__icon {
        width: 60px;
        height: 60px;
        border-radius: 18px;
        font-size: 1.3rem;
    }
}

.portal-error-page {
    padding: 1.25rem 0 2rem;
}

.portal-error-page__wrap {
    min-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.portal-error-card {
    position: relative;
    width: 100%;
    max-width: 820px;
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--portal-border);
    border-radius: 30px;
    background: radial-gradient(circle at top right, rgba(67, 127, 205, 0.10), transparent 18%), radial-gradient(circle at bottom left, rgba(67, 127, 205, 0.06), transparent 22%), linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(244,248,255,0.96) 100%);
    box-shadow: 0 22px 52px rgba(67, 127, 205, 0.08);
    padding: 2.25rem 1.5rem;
}

.portal-error-card__background-mark {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: clamp(4rem, 12vw, 7rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: rgba(67, 127, 205, 0.08);
    pointer-events: none;
    user-select: none;
}

.portal-error-card__icon {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef5ff;
    color: var(--portal-primary);
    font-size: 1.55rem;
    box-shadow: 0 12px 28px rgba(67, 127, 205, 0.10);
}

.portal-error-card__icon--danger {
    background: #fff1f2;
    color: #e11d48;
    box-shadow: 0 12px 28px rgba(225, 29, 72, 0.08);
}

.portal-error-card__icon--warning {
    background: #fff7ed;
    color: #d97706;
    box-shadow: 0 12px 28px rgba(217, 119, 6, 0.08);
}

.portal-error-card__icon--primary {
    background: #eef5ff;
    color: var(--portal-primary);
}

.portal-error-card__subtitle {
    margin: 0.9rem 0 0;
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--portal-text);
}

.portal-error-card__text {
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.75;
}

.portal-error-card__actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

    .portal-error-card__actions .portal-btn {
        min-height: 46px;
        padding-inline: 1.2rem;
        border-radius: 999px;
    }

@media (max-width: 767.98px) {
    .portal-error-page {
        padding: 1rem 0 1.5rem;
    }

    .portal-error-page__wrap {
        min-height: 58vh;
        padding: 1rem;
    }

    .portal-error-card {
        padding: 1.75rem 1rem;
        border-radius: 24px;
    }

    .portal-error-card__icon {
        width: 62px;
        height: 62px;
        border-radius: 20px;
        font-size: 1.3rem;
    }

    .portal-error-card__background-mark {
        top: 0.8rem;
        right: 0.9rem;
    }
}
