/**
 * Fichier  : /ott/features/authorization/assets/css/denied.css
 * Fonction : style du panneau 'accès non-autorisé'
 */


/* ==================================================
   DENIED
================================================== */

.denied {
    position: relative;
    overflow: hidden;
}

.denied {
    width: 100%;
}

.denied {
    background: #000;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    color: #fff;
}

.denied {
    box-shadow:
        0 14px 40px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.05);
}


/* ==================================================
   OVERLAY
================================================== */

.denied .overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.denied .overlay {
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.55),
            rgba(0,0,0,0.85)
        );
}

.denied .overlay::before {
    content: "";
}

.denied .overlay::before {
    position: absolute;
    inset: 0;
}

.denied .overlay::before {
    background:
        radial-gradient(
            circle at center,
            rgba(255,120,0,0.14),
            transparent 52%
        );
}


/* ==================================================
   CONTENT
================================================== */

.denied .content {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.denied .content {
    padding: 30px;
}

.denied .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.denied .content {
    text-align: center;
}


/* ==================================================
   BADGE
================================================== */

.denied .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.denied .badge {
    padding: 7px 12px;
}

.denied .badge {
    background:
        linear-gradient(
            135deg,
            #8e0e00,
            #e9401b 60%,
            #ff7b00
        );
    border-radius: 999px;
    box-shadow:
        0 8px 24px rgba(233,64,27,0.35),
        inset 0 1px 0 rgba(255,255,255,0.18);
}


/* ==================================================
   BADGE ICON
================================================== */

.denied .badge .icon {
    width: 18px;
    height: 18px;
}

.denied .badge .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.denied .badge .icon {
    background: rgba(255,255,255,0.18);
    border-radius: 999px;
}

.denied .badge .icon svg {
    width: 12px;
    height: 12px;
}

.denied .badge .icon svg {
    color: #fff;
    stroke: currentColor;
}


/* ==================================================
   BADGE TEXT
================================================== */

.denied .badge p {
    font-family: 'content-font';
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #fff;
}


/* ==================================================
   TITLE
================================================== */

.denied .content h5 {
    max-width: 680px;
}

.denied .content h5 {
    font-family: 'title-font';
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.denied .content h5 {
    text-shadow:
        0 4px 20px rgba(0,0,0,0.45);
}


/* ==================================================
   DESCRIPTION
================================================== */

.denied .description {
    max-width: 620px;
}

.denied .description {
    font-family: 'content-font';
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255,255,255,0.78);
}


/* ==================================================
   DESCRIPTION LINK
================================================== */

.denied .description .event {
    color: #fff;
    text-decoration: none;
}

.denied .description .event {
    border-bottom: 1px solid rgba(255,255,255,0.22);
}

.denied .description .event {
    transition:
        color .25s ease,
        border-color .25s ease;
}

.denied .description .event:hover {
    color: #ff9a3c;
    border-color: rgba(255,154,60,0.45);
}


/* ==================================================
   COUNTRIES
================================================== */

.denied .countries {
    max-width: 520px;
}

.denied .countries {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.denied .countries p {
    font-family: 'content-font';
    font-size: 12px;
    color: rgba(255,255,255,0.68);
}

.denied .countries div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.denied .countries span {
    padding: 5px 9px;
}

.denied .countries span {
    background:
        linear-gradient(
            135deg,
            rgba(255,120,0,0.16),
            rgba(255,255,255,0.045)
        );
    border: 1px solid rgba(255,120,0,0.16);
    border-radius: 999px;
}

.denied .countries span {
    font-family: 'content-font';
    font-size: 11px;
    color: rgba(255,255,255,0.88);
}


/* ==================================================
   ACTIONS
================================================== */

.denied .actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* ==================================================
   BUTTON
================================================== */

.denied .purchase-button {
    position: relative;
    overflow: hidden;
}

.denied .purchase-button {
    padding: 14px 22px;
}

.denied .purchase-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.denied .purchase-button {
    background:
        linear-gradient(
            135deg,
            #8e0e00,
            #c91f16 35%,
            #e9401b 68%,
            #ff7b00
        );
    border-radius: 999px;
    box-shadow:
        0 12px 30px rgba(233,64,27,0.34),
        0 0 20px rgba(255,123,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.18);
}

.denied .purchase-button {
    text-decoration: none;
}

.denied .purchase-button {
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.denied .purchase-button:hover {
    transform: translateY(-2px);
}

.denied .purchase-button:hover {
    box-shadow:
        0 16px 34px rgba(233,64,27,0.42),
        0 0 24px rgba(255,123,0,0.22);
}


/* ==================================================
   BUTTON TEXT
================================================== */

.denied .purchase-button .label,
.denied .purchase-button .price small {
    font-family: 'content-font';
    font-size: 14px;
    font-weight: 400;
    color: #fff;
}

.denied .purchase-button .price {
    padding-left: 14px;
}

.denied .purchase-button .price {
    border-left: 1px solid rgba(255,255,255,0.22);
}

.denied .purchase-button .price {
    font-family: 'bold-font';
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}


/* ==================================================
   SECONDARY BUTTON
================================================== */

.denied.login-required .purchase-button.signup {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.08),
            rgba(255,255,255,0.04)
        );
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 10px 30px rgba(0,0,0,0.25);
}

.denied.login-required .purchase-button.signup:hover {
    border-color: rgba(255,120,0,0.22);
}

.denied.login-required .purchase-button.signup:hover {
    box-shadow:
        0 14px 30px rgba(0,0,0,0.35),
        0 0 20px rgba(255,123,0,0.10);
}


/* ==================================================
   BACKGROUND
================================================== */

.denied .background {
    position: relative;
    z-index: 1;
}

.denied .background picture,
.denied .background img {
    display: block;
}

.denied .background picture img,
.denied .background img {
    width: 100%;
    height: auto;
    min-height: 280px;
}

.denied .background picture img,
.denied .background img {
    object-fit: cover;
}

.denied .background picture img,
.denied .background img {
    filter:
        brightness(.58)
        saturate(1.05);
    transform: scale(1.02);
}

.denied.premium .background picture img,
.denied.premium .background img {
    min-height: 320px;
}

.denied.premium .background picture img,
.denied.premium .background img {
    filter:
        brightness(.56)
        saturate(1.05);
}


/* ==================================================
   RESPONSIVE
================================================== */

@media screen and (max-width: 768px) {

    .denied {
        border-radius: 14px;
    }

    .denied .content {
        padding: 22px;
        gap: 12px;
    }

    .denied .content h5 {
        font-size: 21px;
    }

    .denied .description {
        font-size: 12px;
    }

    .denied .purchase-button {
        padding: 12px 18px;
        gap: 10px;
    }

    .denied .purchase-button .label {
        font-size: 12px;
    }

    .denied .purchase-button .price {
        font-size: 16px;
    }

    .denied .background picture img,
    .denied .background img {
        min-height: 220px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

}

@media screen and (max-width: 480px) {

    .denied .content {
        padding: 18px;
        gap: 10px;
    }

    .denied .content h5 {
        font-size: 18px;
    }

    .denied .badge {
        padding: 6px 10px;
    }

    .denied .badge p {
        font-size: 8px;
    }

    .denied .actions {
        flex-direction: column;
    }

    .denied .actions .purchase-button {
        width: 100%;
        justify-content: center;
    }

    .denied .background picture img,
    .denied .background img {
        min-height: 180px;
    }

}