/* Cookie Consent Banner Styling */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: auto;
    width: 380px;
    max-width: calc(100% - 48px);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    z-index: 99999;
    padding: 20px;
    box-sizing: border-box;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.cookie-banner--hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.cookie-banner__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-banner__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #4b5563;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: left;
}

.cookie-banner__link {
    color: #111111;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.cookie-banner__link:hover {
    color: #374151;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-banner__btn {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.cookie-banner__btn--primary {
    background-color: #111111;
    color: #ffffff;
}

.cookie-banner__btn--primary:hover {
    background-color: #2b2b2b;
    transform: translateY(-1px);
}

.cookie-banner__btn--primary:active {
    transform: translateY(0);
}

.cookie-banner__btn--secondary {
    background-color: #f3f4f6;
    color: #4b5563;
}

.cookie-banner__btn--secondary:hover {
    background-color: #e5e7eb;
    color: #1f2937;
    transform: translateY(-1px);
}

.cookie-banner__btn--secondary:active {
    transform: translateY(0);
}

/* Mobile responsive style */
@media (max-width: 600px) {
    .cookie-banner {
        bottom: 16px;
        left: 16px;
        right: 16px;
        width: auto;
        max-width: calc(100% - 32px);
        padding: 16px;
    }
    
    .cookie-banner__actions {
        flex-direction: column;
    }
    
    .cookie-banner__btn {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
}

/* Shift WhatsApp widget up when cookie banner is active on mobile */
@media (max-width: 600px) {
    body.cookie-banner-active .exportimportgo-wa {
        bottom: 180px !important;
        transition: bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }
}
