/* Cookie Consent Popup Styles */

.cookie-consent-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(255, 255, 255);
    color: #2271b1;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.3s ease-in-out;
}

.border-btn {
    background-color: transparent;   /* No background */
    color: white;                    /* Text color */
    border: 2px solid white;         /* White border */
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-consent-popup.top {
    bottom: auto;
    top: 0;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-consent-content p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.accept-btn {
    background-color: #2271b1;
    color: white;
}

.accept-btn:hover {
    background-color: #196cb1;
}

.reject-btn {
    background-color: #ffffff;
    border: #2271b1 solid 2px;
    color: #2271b1;
}
.reject-btn:hover {
    background-color: #1967a6;
}

/* Responsive design */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-consent-popup {
        padding: 15px;
    }

    .cookie-consent-content p {
        font-size: 13px;
    }

    .cookie-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .cookie-consent-buttons {
        width: 100%;
        gap: 10px;
    }

    .cookie-btn {
        flex: 1;
    }
}

/* Hidden state */
.cookie-consent-popup.hidden {
    display: none;
}
