/* ===============================
   Z-INDEX STACK (Highest → Lowest)
================================ */
#cookieModal { z-index: 4000; }
#cookieReopen { z-index: 3500; }
#activityModal { z-index: 3000; }
#privacyPopup { z-index: 2500; }
#cookieBanner { z-index: 2400; }

/* ===============================
   COOKIE BANNER (BOTTOM)
================================ */
#cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: #fff;
    padding: 20px;
    display: none;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.3);
}

#cookieBanner p {
    margin: 0;
    max-width: 60%;
}

#cookieBanner button {
    border: none;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 8px;
}

#acceptAll { background: #c30606; color: #fff; }
#rejectAll { background: #000; color: #fff; }
#cookieSettingsBtn { background: #444; color: #fff; }

/* ===============================
   COOKIE MODAL (CENTER)
================================ */
#cookieModal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
}

#cookieModal.show {
    display: flex;
}

#cookieModalContent {
    background: #fff;
    width: 90%;
    max-width: 550px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.35);
}

.cookie-toggle {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #ddd;
}

/* ===============================
   FLOATING REOPEN BUTTON
================================ */
#cookieReopen {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f1c40f;
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* ===============================
   PRIVACY POLICY BOTTOM POPUP
================================ */
#privacyPopup {
    position: fixed;
    bottom: -200px;
    left: 0;
    width: 100%;
    background: #111;
    color: #fff;
    padding: 20px;
    transition: bottom 0.5s ease;
}

#privacyPopup.active {
    bottom: 0;
}

.privacy-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#privacyPopup a {
    color: #c30606;
    font-weight: bold;
    text-decoration: none;
}

#privacyAccept {
    background: #c30606;
    border: none;
    padding: 10px 20px;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}