/* Fixed corner card, same pattern as .report-incident-btn (static/css/global.css): always
   floats over the page, never part of the document flow, so it never pushes the footer
   down or needs extra reserved space. Anchored bottom-right (the report button owns
   bottom-left) so it doesn't collide with the footer's centered content either. */
.cookie-consent-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    width: 360px;
    max-width: calc(100vw - 40px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.5;
}

.cookie-consent-text {
    margin: 0;
}

.cookie-consent-text p {
    margin: 0;
}

.cookie-consent-link {
    color: #c084fc;
    text-decoration: underline;
    white-space: nowrap;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    flex: 1;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #334155;
    white-space: nowrap;
}

.cookie-btn-reject {
    background: transparent;
    color: #e2e8f0;
}

.cookie-btn-reject:hover {
    background: #334155;
}

.cookie-btn-accept {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background: #7c3aed;
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
        max-width: none;
    }
}
