:root {
    --entornowp-cc-bg: #0b1120;
    --entornowp-cc-accent: #ff7161;
    --entornowp-cc-accent-soft: #ff9776;
    --entornowp-cc-text: #f8fafc;
    --entornowp-cc-muted: #94a3b8;
    --entornowp-cc-font-title: 'Sora', sans-serif;
    --entornowp-cc-font-body: 'Manrope', sans-serif;
}

.entornowp-cc-banner,
.entornowp-cc-modal__panel {
    font-family: var(--entornowp-cc-font-body);
    color: var(--entornowp-cc-text);
    background: var(--entornowp-cc-bg);
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}

.entornowp-cc-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 999999;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 22px;
    border-radius: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.entornowp-cc-banner[hidden] {
    display: none;
}

.entornowp-cc-banner__text {
    margin: 0;
    flex: 1 1 260px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--entornowp-cc-muted);
}

.entornowp-cc-banner__text a {
    color: var(--entornowp-cc-accent);
    text-decoration: underline;
}

.entornowp-cc-banner__actions,
.entornowp-cc-modal__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Reject and Accept share the same size/weight on purpose (AEPD: rejecting
   must be exactly as easy/prominent as accepting) — only "Configurar" is a
   visually lighter, tertiary action. */
.entornowp-cc-btn {
    font-family: var(--entornowp-cc-font-title);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.entornowp-cc-btn--solid {
    background: linear-gradient(135deg, var(--entornowp-cc-accent), var(--entornowp-cc-accent-soft));
    color: #2b0f08;
}

.entornowp-cc-btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .25);
    color: var(--entornowp-cc-text);
}

.entornowp-cc-btn--ghost {
    background: transparent;
    color: var(--entornowp-cc-muted);
    text-decoration: underline;
    padding-left: 4px;
    padding-right: 4px;
}

.entornowp-cc-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(3, 7, 18, .6);
}

.entornowp-cc-modal[hidden] {
    display: none;
}

.entornowp-cc-modal__panel {
    width: 100%;
    max-width: 460px;
    border-radius: 18px;
    padding: 28px;
    max-height: 85vh;
    overflow-y: auto;
}

.entornowp-cc-modal__panel h2 {
    font-family: var(--entornowp-cc-font-title);
    margin: 0 0 18px;
    font-size: 19px;
}

.entornowp-cc-toggle {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    cursor: pointer;
}

.entornowp-cc-toggle:first-of-type {
    border-top: none;
}

.entornowp-cc-toggle input {
    margin-top: 4px;
    accent-color: var(--entornowp-cc-accent);
}

.entornowp-cc-toggle small {
    display: block;
    color: var(--entornowp-cc-muted);
    font-weight: 400;
    margin-top: 2px;
}

.entornowp-cc-modal__actions {
    margin-top: 20px;
}

.entornowp-cc-reopen {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 999998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .12);
    background: var(--entornowp-cc-bg);
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, .6);
}

.entornowp-cc-reopen[hidden] {
    display: none;
}

@media (max-width: 600px) {
    .entornowp-cc-banner {
        flex-direction: column;
        align-items: stretch;
    }
    .entornowp-cc-banner__actions {
        justify-content: stretch;
    }
    .entornowp-cc-banner__actions .entornowp-cc-btn {
        flex: 1;
    }
}
