/* Centered, prominent cookie consent banner styles */
.cc-window, .cc-banner {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    bottom: auto !important;
    right: auto !important;
    max-width: 720px;
    width: calc(100% - 48px);
    z-index: 99999 !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.35) !important;
    padding: 22px 24px !important;
    min-height: 160px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.cc-window .cc-message {
    font-size: 16px !important;
    line-height: 1.6 !important;
    display: block !important;
    margin-bottom: 12px !important;
    text-align: left !important;
}

.cc-window .cc-compliance .cc-btn {
    padding: 10px 18px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

.cc-window .cc-compliance {
    display: flex !important;
    gap: 12px !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
}

.cc-window .cc-link {
    display: block !important;
    text-align: center !important;
    margin-top: 8px !important;
    text-decoration: underline !important;
}

/* Overlay behind the banner */
.cc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.7);
    z-index: 99998; /* below modal (99999), above site UI */
}

/* Lock scroll when banner is open */
body.cc-lock {
    overflow: hidden !important;
}

@media (min-width: 992px) {
    .cc-window { padding: 28px 32px !important; min-height: 180px !important; }
    .cc-window .cc-message { font-size: 17px !important; margin-bottom: 14px !important; }
}

/* Tablet and down: keep margins and avoid full-width look */
@media (max-width: 991.98px) {
    .cc-window, .cc-banner {
        max-width: 520px !important;
        width: 90% !important;
    }
    .cc-window .cc-compliance { justify-content: center !important; }
}

/* Small phones: narrower modal so it is not edge-to-edge */
@media (max-width: 480px) {
    .cc-window, .cc-banner {
        max-width: 340px !important;
        width: 88% !important;
        padding: 16px 14px !important;
        min-height: 150px !important;
    }
    .cc-window .cc-message { font-size: 15px !important; margin-bottom: 12px !important; }
}


