.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 24px;
    width: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    /* Added transition properties */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Added hide animation class */
.cookie-popup.hide-popup {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

/* Rest of your existing CSS remains the same */
.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.cookie-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-link {
    color: #3b3b3b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #000000;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

.accept-btn, .reject-btn {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accept-btn {
    background-color: white;
    color: black;
}

.accept-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.reject-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.reject-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .cookie-popup {
        width: calc(100% - 40px);
        bottom: 20px;
        right: 20px;
        padding: 20px;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .accept-btn, .reject-btn {
        width: 100%;
        padding: 12px;
    }
}

@media screen and (max-width: 480px) {
    .cookie-popup {
        width: calc(100% - 20px);
        bottom: 10px;
        right: 10px;
        padding: 16px;
    }

    .cookie-title {
        font-size: 1.1rem;
    }

    .cookie-text {
        font-size: 0.85rem;
    }
}

/* Animation */
@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-popup {
    animation: slideIn 0.5s ease-out;
}