.cookie-consent-hidden {
    display: none !important;
}

.cookie-consent-fab {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1190;
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    background: #111827;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    font-size: 0.85rem;
    line-height: 1;
}

.cookie-consent-fab:hover {
    background: #1f2937;
}

.cookie-consent-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 4rem;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(17, 24, 39, 0.97);
    color: #fff;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.cookie-consent-banner.is-visible {
    display: flex;
}

.cookie-consent-banner__content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.cookie-consent-banner__content a {
    color: #d4e8ff;
}

.cookie-consent-banner__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: none;
}

.cookie-consent-modal.is-visible {
    display: block;
}

.cookie-consent-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.cookie-consent-modal__panel {
    position: relative;
    width: min(720px, calc(100% - 2rem));
    margin: 7vh auto 0;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    max-height: 86vh;
    overflow: auto;
}

.cookie-consent-modal__header,
.cookie-consent-modal__footer {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #ececec;
}

.cookie-consent-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-consent-modal__header h2 {
    margin: 0;
    font-size: 1.15rem;
}

.cookie-consent-modal__body {
    padding: 0.5rem 1.2rem 1.2rem;
}

.cookie-consent-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid #efefef;
    padding: 0.9rem 0;
}

.cookie-consent-row strong {
    display: block;
}

.cookie-consent-row p {
    margin: 0.2rem 0 0;
    color: #4b5563;
    font-size: 0.92rem;
}

.cookie-consent-modal__footer {
    border-bottom: 0;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-gated-hint {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .cookie-consent-fab {
        left: 0.6rem;
        bottom: 0.6rem;
    }

    .cookie-consent-banner {
        left: 0.6rem;
        right: 0.6rem;
        bottom: 3.5rem;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-banner__actions {
        justify-content: stretch;
    }

    .cookie-consent-banner__actions .btn {
        flex: 1 1 auto;
    }

    .cookie-consent-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
