/* Cookie consent — SECRETRP.EU */
.cc-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 10050;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(14, 17, 26, 0.96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    color: #e8eaf0;
    font-family: 'Montserrat', system-ui, sans-serif;
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.cc-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cc-banner h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.cc-banner p {
    margin: 0 0 16px;
    color: #a0a6b5;
    font-size: 0.86rem;
    line-height: 1.55;
}

.cc-banner a {
    color: #9bb0ff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cc-banner a:hover {
    color: #c5d0ff;
}

.cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cc-btn {
    appearance: none;
    border: none;
    border-radius: 10px;
    padding: 11px 16px;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.cc-btn:hover {
    opacity: 0.92;
}

.cc-btn--primary {
    background: linear-gradient(135deg, #5865f2, #7c5cff);
    color: #fff;
}

.cc-btn--secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #e8eaf0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cc-btn--ghost {
    background: transparent;
    color: #a0a6b5;
    border: 1px solid transparent;
}

.cc-btn--ghost:hover {
    color: #e8eaf0;
    border-color: rgba(255, 255, 255, 0.12);
}

.cc-overlay {
    position: fixed;
    inset: 0;
    z-index: 10060;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cc-overlay.is-open {
    display: flex;
}

.cc-modal {
    width: min(560px, 100%);
    max-height: min(86vh, 720px);
    overflow: auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0e111a;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    color: #e8eaf0;
    font-family: 'Montserrat', system-ui, sans-serif;
}

.cc-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cc-modal-head h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.cc-close {
    appearance: none;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: #e8eaf0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.cc-modal-body {
    padding: 16px 20px 8px;
}

.cc-modal-body > p {
    margin: 0 0 16px;
    color: #a0a6b5;
    font-size: 0.85rem;
    line-height: 1.55;
}

.cc-cat {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.cc-cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cc-cat-head strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.cc-cat-head span {
    display: block;
    color: #a0a6b5;
    font-size: 0.78rem;
    line-height: 1.45;
    max-width: 360px;
}

.cc-switch {
    position: relative;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
}

.cc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cc-switch-slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #2a3040;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cc-switch-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.cc-switch input:checked + .cc-switch-slider {
    background: #5865f2;
}

.cc-switch input:checked + .cc-switch-slider::before {
    transform: translateX(20px);
}

.cc-switch input:disabled + .cc-switch-slider {
    opacity: 0.7;
    cursor: not-allowed;
}

.cc-modal-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    padding: 12px 20px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 560px) {
    .cc-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 16px;
    }

    .cc-actions .cc-btn {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
    }

    .cc-actions .cc-btn--primary {
        flex: 1 1 100%;
    }
}
