/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 2vw;
    left: 50%;
    transform: translateX(-50%);
    width: 70vw;
    max-width: 900px;
    background-color: #FFFFFF;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 1vw 1.8vw;
    border-radius: 16px;
    border: 1px solid rgba(119, 159, 238, 0.2);

    /* Fade-in slide-up animation */
    animation: slideUpFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(150%);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.cookie-consent-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    gap: 2vw;
}

.cookie-consent-content {
    flex: 1;
}

.cookie-consent-text {
    font-family: "Jost", Arial, sans-serif;
    font-weight: 400;
    font-size: 1vw;
    line-height: 140%;
    color: #535458;
    margin: 0;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 1.2vw;
    flex-shrink: 0;
}

.cookie-link {
    font-family: "Jost", Arial, sans-serif;
    font-size: 0.95vw;
    font-weight: 500;
    color: #779FEE;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.cookie-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.cookie-btn {
    font-family: "Jost", Arial, sans-serif;
    font-weight: 500;
    font-size: 0.95vw;
    padding: 0.6vw 1.4vw;
    border-radius: 0.73vw;
    border: solid;
    border-width: 0.13vw;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1vw;
}

/* Both buttons look identical for GDPR compliance */
.cookie-btn-reject,
.cookie-btn-accept {
    background-color: transparent;
    color: #535458;
    border-color: #0F0F10;
}

.cookie-btn-reject:hover,
.cookie-btn-accept:hover {
    background-color: #0F0F10;
    color: #F0F0F2;
    border-color: #0F0F10;
}

/* Mobile Responsive Styles */
@media only screen and (hover: none) and (pointer: coarse),
(max-width: 768px) {
    .cookie-consent-banner {
        width: 88vw;
        max-width: none;
        padding: 4vw 5vw;
        bottom: 4vw;
        border-radius: 20px;
    }

    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
        gap: 3.5vw;
    }

    .cookie-consent-text {
        font-size: 3.5vw;
        text-align: center;
        font-weight: 400;
    }

    .cookie-consent-actions {
        flex-direction: column;
        gap: 3vw;
    }

    .cookie-link {
        font-size: 3.2vw;
        text-align: center;
    }

    .cookie-btn {
        font-size: 3.5vw;
        padding: 3vw 5vw;
        width: 100%;
        border-radius: 3vw;
        border-width: 0.5vw;
        line-height: 3.5vw;
    }
}

/* Tablet Styles */
@media only screen and (min-width: 481px) and (max-width: 1024px) {
    .cookie-consent-banner {
        width: 85vw;
        padding: 2vw 2.5vw;
        bottom: 3vw;
        border-radius: 18px;
    }

    .cookie-consent-container {
        flex-direction: row;
        align-items: center;
        gap: 2vw;
    }

    .cookie-consent-actions {
        flex-direction: row;
        gap: 1.5vw;
    }

    .cookie-consent-text {
        font-size: 2vw;
    }

    .cookie-link {
        font-size: 1.8vw;
    }

    .cookie-btn {
        font-size: 1.8vw;
        padding: 1.2vw 2.5vw;
        border-radius: 1.5vw;
        border-width: 0.3vw;
        line-height: 1.8vw;
        width: auto;
    }
}
