/* Cookie consent banner */
#cookie-consent-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 100000;
    display: none;
    max-width: 720px;
    margin: 0 auto;
    padding: 18px 20px;
    border-radius: 16px;
    background: #FFFFFF;
    border: 1px solid #D8E0DC;
    box-shadow: 0 18px 50px rgba(20, 32, 28, 0.18);
    color: #095650;
    font-family: Inter, system-ui, -apple-system, sans-serif;
}

#cookie-consent-banner.is-visible {
    display: block;
    animation: cookieSlideUp 0.35s ease;
}

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

.cookie-consent-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.cookie-consent-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ECFDF5;
    color: #095650;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.cookie-consent-copy {
    flex: 1;
    min-width: 220px;
}

.cookie-consent-copy h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    color: #095650;
}

.cookie-consent-copy p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #6B7872;
}

.cookie-consent-copy a {
    color: #095650;
    font-weight: 600;
    text-decoration: none;
}

.cookie-consent-copy a:hover {
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}

.cookie-consent-actions button {
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.cookie-consent-actions button:hover {
    transform: translateY(-1px);
}

.cookie-btn-allow {
    background: #095650;
    color: #FFFFFF;
    box-shadow: 0 6px 16px rgba(9, 86, 80, 0.25);
}

.cookie-btn-allow:hover {
    background: #0F766E;
}

.cookie-btn-essential {
    background: #F3F6F5;
    color: #095650;
    border: 1px solid #D8E0DC !important;
}

.cookie-btn-essential:hover {
    background: #E8EEEC;
}

@media (max-width: 640px) {
    #cookie-consent-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 16px;
    }

    .cookie-consent-actions {
        width: 100%;
        margin-left: 0;
    }

    .cookie-consent-actions button {
        flex: 1;
        justify-content: center;
    }
}
