/* ==========================================================
   CHATSEXOGRATIS - COOKIE CONSENT
   ========================================================== */

.cc-hidden {
    display: none !important;
}

.cc-banner {
    position: fixed;
    z-index: 99990;

    left: 22px;
    bottom: 22px;

    width: min(430px, calc(100vw - 32px));

    padding: 24px;

    border: 1px solid rgba(238, 36, 145, .35);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(22, 14, 26, .98),
            rgba(10, 8, 13, .98)
        );

    box-shadow:
        0 24px 70px rgba(0,0,0,.55);

    color: #fff;

    backdrop-filter: blur(18px);
}

.cc-banner h3 {
    margin: 0 0 10px;

    font-size: 1.18rem;
    line-height: 1.2;
}

.cc-banner p {
    margin: 0;

    color: #c8bdcb;

    font-size: .91rem;
    line-height: 1.55;
}

.cc-banner a {
    color: #ff3c9f;
    text-decoration: underline;
}

.cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 18px;
}

.cc-btn {
    appearance: none;

    min-height: 42px;

    padding: 10px 14px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 11px;

    background: #1a151d;

    color: #fff;

    font: inherit;
    font-size: .84rem;
    font-weight: 750;

    cursor: pointer;

    transition:
        transform .15s ease,
        border-color .15s ease,
        background .15s ease;
}

.cc-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.25);
}

.cc-btn-primary {
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #f6248e,
            #ca23d7
        );
}

.cc-btn-ghost {
    background: transparent;
}


/* BOTÓN FLOTANTE */

.cc-reopen {
    position: fixed;
    z-index: 99980;

    left: 20px;
    bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 1px solid rgba(246,36,142,.45);
    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #19121c,
            #0b090d
        );

    box-shadow:
        0 12px 30px rgba(0,0,0,.45);

    color: #ff369a;

    cursor: pointer;
}

.cc-reopen svg {
    width: 23px;
    height: 23px;
}

.cc-reopen:hover {
    border-color: #f6248e;

    transform:
        translateY(-1px);
}


/* OVERLAY */

.cc-overlay {
    position: fixed;
    z-index: 100000;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(4, 3, 6, .82);

    backdrop-filter:
        blur(8px);
}


/* MODAL */

.cc-modal {
    width: min(620px, 100%);

    max-height: calc(100vh - 40px);
    overflow-y: auto;

    padding: 28px;

    border: 1px solid rgba(246,36,142,.35);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #171019,
            #0b090d
        );

    box-shadow:
        0 30px 90px rgba(0,0,0,.7);

    color: #fff;
}

.cc-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 22px;
}

.cc-modal-head h2 {
    margin: 0;

    font-size: 1.45rem;
}

.cc-close {
    appearance: none;

    border: 0;
    background: transparent;

    color: #c9becb;

    font-size: 1.65rem;
    line-height: 1;

    cursor: pointer;
}

.cc-intro {
    margin: 0 0 22px;

    color: #c9becb;

    font-size: .93rem;
    line-height: 1.6;
}

.cc-category {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;

    padding: 18px 0;

    border-top:
        1px solid rgba(255,255,255,.08);
}

.cc-category:first-of-type {
    border-top: 0;
}

.cc-category strong {
    display: block;

    margin-bottom: 4px;
}

.cc-category p {
    margin: 0;

    color: #a99dab;

    font-size: .84rem;
    line-height: 1.45;
}

.cc-required {
    align-self: center;

    padding: 6px 9px;

    border-radius: 999px;

    background: rgba(246,36,142,.12);

    color: #ff54aa;

    font-size: .75rem;
    font-weight: 800;
}


/* SWITCH */

.cc-switch {
    position: relative;

    align-self: center;

    display: inline-block;

    width: 48px;
    height: 26px;
}

.cc-switch input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}

.cc-slider {
    position: absolute;

    inset: 0;

    border-radius: 999px;

    background: #39313c;

    cursor: pointer;

    transition: .2s;
}

.cc-slider::before {
    content: "";

    position: absolute;

    width: 20px;
    height: 20px;

    left: 3px;
    top: 3px;

    border-radius: 50%;

    background: white;

    transition: .2s;
}

.cc-switch input:checked + .cc-slider {
    background:
        linear-gradient(
            135deg,
            #f6248e,
            #c522da
        );
}

.cc-switch input:checked + .cc-slider::before {
    transform:
        translateX(22px);
}

.cc-links {
    margin-top: 18px;

    color: #aca0af;

    font-size: .84rem;
}

.cc-links a {
    color: #ff49a4;
}

.cc-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 22px;
}


@media (max-width: 640px) {

    .cc-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;

        width: auto;

        padding: 20px;
    }

    .cc-actions,
    .cc-modal-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cc-btn {
        width: 100%;
    }

    .cc-modal {
        padding: 22px 18px;
    }

    .cc-reopen {
        left: 14px;
        bottom: 14px;

        width: 46px;
        height: 46px;
    }
}
