/* ========================================
   RUBANGISA HEALTHCARE — COOKIE NOTICE
   Premium, minimal consent banner
======================================== */
.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 20000;
    display: none;
    align-items: center;
    gap: 22px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 18px 20px 18px 22px;
    color: #f7f5ef;
    background: rgba(9, 31, 24, 0.97);
    border: 1px solid rgba(212, 160, 23, 0.45);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255,255,255,.03) inset;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: 'Inter', Arial, sans-serif;
}

.cookie-banner.is-visible {
    display: flex;
    animation: cookieSlideUp .35s ease both;
}

.cookie-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.cookie-title {
    margin: 0 0 5px;
    color: #e4aa27;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
}

.cookie-text {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    line-height: 1.55;
}

.cookie-text a {
    color: #e4aa27;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 9px;
}

.cookie-btn {
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(228,170,39,.7);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn.accept {
    color: #09271e;
    background: #e4aa27;
}

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

.cookie-btn.reject {
    color: #fff;
    background: transparent;
    border-color: rgba(255,255,255,.35);
}

.cookie-btn.reject:hover {
    border-color: #e4aa27;
    color: #e4aa27;
}

.cookie-settings {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 19999;
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(212,160,23,.55);
    border-radius: 50%;
    color: #e4aa27;
    background: rgba(9,31,24,.94);
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
    cursor: pointer;
    font-size: 16px;
}

.cookie-settings.is-visible {
    display: flex;
}

.cookie-settings:hover {
    background: #0b5d46;
}

@keyframes cookieSlideUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        gap: 13px;
        padding: 15px;
        border-radius: 15px;
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-title {
        font-size: 14px;
    }

    .cookie-text {
        font-size: 12px;
        line-height: 1.5;
    }

    .cookie-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .cookie-btn {
        width: 100%;
        min-height: 39px;
        padding: 8px 10px;
    }

    .cookie-settings {
        left: 12px;
        bottom: 12px;
    }
}
