/* Overlay */
.cookie-overlay {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 258;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-in-out;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@supports (backdrop-filter: blur(8px)) {
    .element {
        background-color: rgba(255, 255, 255, 0.6);
    }
}

.cookie-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Banner */
.cookie-banner {
    position: relative;
    background: white;
    border-radius: 16px;
    border: 1px solid #CCC;
    padding: 40px;
    max-width: 896px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

.cookie-banner-content {
    display: flex;
    gap: 24px
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}



/* Icon */
.cookie-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #5E0E08;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.cookie-icon svg {
    stroke: #5E0E08;
    opacity: 1;
}

/* Close button */
.cookie-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.cookie-close:hover {
    background: #f0f0f0;
    color: #333;
}

/* Title */
.cookie-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    font-family: 'Cairo', sans-serif !important;
}

/* Text */
.cookie-text {
    font-size: 15px;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0 0 24px 0;
    font-family: 'Cairo', sans-serif !important;
}

/* Buttons */
.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    min-width: 110px;
    padding: 7px 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Cairo', sans-serif !important;
}

.cookie-btn-accept {
    background: #5E0E08;
    color: white;
}

.cookie-btn:hover,
.cookie-btn:focus,
.cookie-btn-accept:hover {
    background: #5E0E08;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

.cookie-btn-refuse {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
}

.cookie-btn-refuse:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
    color: #333;
}

/* Responsive */
@media (max-width: 600px) {
    .cookie-banner {
        padding: 30px 24px;
        margin: 20px;
    }

    .cookie-title {
        font-size: 20px;
    }

    .cookie-text {
        font-size: 14px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}