/* =======================================
   BITPOINTER – BOOTSTRAP COOKIE CONSENT
   DSGVO-konform, 4-sprachig, CI-angepasst
   Neon Pulse Edition – Final Version
=========================================== */

/* Overlay - standardmäßig versteckt */
#bp-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.65);
    display: none !important;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    visibility: hidden !important;
}

/* Overlay versteckt - mit höchster Priorität */
#bp-overlay[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
}

/* Overlay sichtbar - nur wenn explizit display: flex gesetzt wird */
#bp-overlay[style*="display: flex"],
#bp-overlay.bp-overlay-visible {
    display: flex !important;
    visibility: visible !important;
}

/* Modal + Settings Panels */
#bp-modal,
#bp-settings {
    background: #111827;
    color: #e5e7eb;
    border-radius: 14px;
    padding: 25px;
    width: 90%;
    max-width: 480px;
    animation: fadeIn 0.3s ease-out;
    position: relative;
    z-index: 1000000;
    pointer-events: auto;
}

/* Settings Panel standardmäßig versteckt */
#bp-settings {
    display: none;
}

/* NEON LIGHT + NEON PULSE */
#bp-modal,
#bp-settings {
    border: 2px solid rgba(0, 255, 255, 0.35);
    box-shadow:
        0 0 8px rgba(0, 255, 255, 0.35),
        0 0 15px rgba(0, 128, 255, 0.25),
        0 0 25px rgba(0, 128, 255, 0.15);
    animation: bpPulse 4s ease-in-out infinite;
}

@keyframes bpPulse {
    0% {
        box-shadow:
            0 0 8px rgba(0, 255, 255, 0.35),
            0 0 15px rgba(0, 128, 255, 0.25),
            0 0 25px rgba(0, 128, 255, 0.15);
    }
    50% {
        box-shadow:
            0 0 12px rgba(0, 255, 255, 0.55),
            0 0 22px rgba(0, 128, 255, 0.35),
            0 0 38px rgba(0, 128, 255, 0.25);
    }
    100% {
        box-shadow:
            0 0 8px rgba(0, 255, 255, 0.35),
            0 0 15px rgba(0, 128, 255, 0.25),
            0 0 25px rgba(0, 128, 255, 0.15);
    }
}

/* Buttons */
.bp-btn {
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1000001;
}

/* Accept (Gradient) */
#bp-accept, #bp-save-settings {
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    color: #fff;
}

/* Decline */
#bp-decline, #bp-settings-cancel {
    background: #374151;
    color: #e5e7eb;
}

/* Logo */
#bp-logo {
    max-width: 180px;
    max-height: 50px;
    margin-bottom: 12px;
}

/* Title brighter */
#bp-modal h4,
#bp-settings h4 {
    color: #ffffff;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

