/* ══════════════════════════════════════════════════════════
   OPERATIK PRIVACY CHILE - ESTILOS COMPACTOS Y MINIMALISTAS
   ══════════════════════════════════════════════════════════ */

/* BANNER FLOTANTE COMPACTO (ESQUINA INFERIOR DERECHA) */
.op-compact-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    width: calc(100% - 40px);
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
    z-index: 999999;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #cbd5e1;
    animation: op-slide-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes op-slide-in {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.op-compact-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.op-compact-pill {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #67e8f9;
}

.op-compact-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.op-compact-close:hover { color: #ffffff; }

.op-compact-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.35rem 0;
}

.op-compact-desc {
    font-size: 0.82rem;
    line-height: 1.45;
    color: #94a3b8;
    margin: 0 0 1rem 0;
}

.op-compact-link {
    color: #38bdf8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.op-compact-btns {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.op-btn-min {
    padding: 0.55rem 0.95rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.op-btn-primary {
    background: #F26822;
    color: #ffffff;
}

.op-btn-primary:hover {
    background: #e0530f;
}

.op-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.op-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.op-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    flex: none;
}

.op-btn-outline:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

/* ══════════════════════════════════════════════════════════
   MODAL DE PREFERENCIAS COMPACTO
   ══════════════════════════════════════════════════════════ */
.op-privacy-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 13, 24, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.op-modal-compact {
    background: #0A1628;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    max-width: 480px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    font-family: 'Inter', system-ui, sans-serif;
    color: #cbd5e1;
}

.op-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.op-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0.35rem 0 0 0;
}

.op-modal-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.op-modal-body { padding: 1.25rem 1.5rem; }

.op-category-item-min {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.85rem;
}

.op-category-item-min:last-child { margin-bottom: 0; }

.op-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.op-category-header h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.op-text-green { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; color: #10b981; }
.op-text-blue { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; color: #38bdf8; }

.op-category-desc {
    font-size: 0.78rem;
    line-height: 1.4;
    color: #94a3b8;
    margin: 0;
}

/* SWITCH COMPACTO */
.op-switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
}

.op-switch input { opacity: 0; width: 0; height: 0; }

.op-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: 0.25s;
    border-radius: 34px;
}

.op-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.25s;
    border-radius: 50%;
}

input:checked + .op-slider {
    background-color: #06b6d4;
}

input:checked + .op-slider:before {
    transform: translateX(18px);
}

.op-switch.disabled { opacity: 0.5; cursor: not-allowed; }
.op-switch.disabled .op-slider { cursor: not-allowed; }

.op-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ══════════════════════════════════════════════════════════
   BOTÓN FLOTANTE DISCRETO (MINIMALISTA, ESQUINA INFERIOR IZQUIERDA)
   ══════════════════════════════════════════════════════════ */
.op-floating-discrete-btn {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 99990;
    background: rgba(10, 22, 40, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
    opacity: 0.85;
}

.op-floating-discrete-btn svg {
    color: #06b6d4;
}

.op-floating-discrete-btn:hover {
    opacity: 1;
    background: #0A1628;
    border-color: #06b6d4;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    .op-compact-banner {
        bottom: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
        width: auto;
    }
}
