/* =========================
   CONSENTIMENTO HIKORA
========================= */

.consent-overlay {
    position: fixed;
    inset: 0;

    z-index: 99998;

    background: rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(2px);
}

.consent-box {
    position: fixed;

    left: 50%;
    bottom: 24px;

    transform: translateX(-50%);

    z-index: 99999;

    width: min(92%, 720px);

    padding: 22px 24px;

    background: #151518;

    border: 1px solid #29292f;
    border-radius: 14px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55);
}

.consent-title {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 800;
}

.consent-text {
    margin: 0;

    color: #a1a1aa;

    font-size: 13px;
    line-height: 1.65;
}

.consent-text a {
    color: #a78bfa;

    text-decoration: none;
}

.consent-text a:hover {
    text-decoration: underline;
}

.consent-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 12px;

    margin-top: 20px;
}

.consent-button {
    min-width: 110px;

    padding: 11px 18px;

    border: 0;
    border-radius: 7px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 700;
}

.consent-reject {
    color: #d4d4d8;

    background: #27272a;
}

.consent-reject:hover {
    background: #333338;
}

.consent-accept {
    color: #ffffff;

    background: #8b5cf6;
}

.consent-accept:hover {
    background: #7c3aed;
}


/*
   Não exibir espaços de publicidade
   antes do consentimento.
*/

html:not([data-hikora-consent="accepted"])
.ad-slot {
    display: none !important;
}


@media (max-width: 600px) {

    .consent-box {
        bottom: 12px;

        padding: 20px;

        border-radius: 12px;
    }

    .consent-actions {
        flex-direction: column-reverse;
    }

    .consent-button {
        width: 100%;
    }
}
