.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    padding: 16px;
    background: rgba(5, 5, 12, 0.72);
    backdrop-filter: blur(10px);
}

.cookie-consent-card {
    max-width: 1120px;
    margin: 0 auto;
    background: #111323;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.cookie-consent-text strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.cookie-consent-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
    line-height: 1.5;
}

.cookie-consent-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.cookie-consent-links a {
    color: #a78bfa;
    font-size: 0.88rem;
    text-decoration: none;
}

.cookie-consent-links a:hover {
    text-decoration: underline;
}

.cookie-preferences {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.cookie-preferences label {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.cookie-btn,
.cookie-inline-btn {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.cookie-btn:hover,
.cookie-inline-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn-primary {
    background: var(--cor-primaria-dinamica, #7c4dff);
    color: #fff;
}

.cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.cookie-inline-btn {
    background: var(--cor-primaria-dinamica, #7c4dff);
    color: #fff;
    font-size: 0.85rem;
}

.ad-consent-placeholder {
    padding: 18px;
    text-align: center;
    border-radius: 14px;
    background: rgba(124, 77, 255, 0.08);
    border: 1px dashed rgba(124, 77, 255, 0.35);
}

.ad-consent-placeholder p {
    font-size: 0.9rem;
    color: #777;
}

@media (max-width: 768px) {
    .cookie-consent-card {
        grid-template-columns: 1fr;
    }

    .cookie-consent-actions {
        justify-content: stretch;
    }

    .cookie-btn {
        width: 100%;
    }
}