.cookie-banner {
    position: fixed;
    bottom: 64px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    background-color: #fbe9c5;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    font-family: Arial, sans-serif;
    border:solid 1px #ffcc00;
}

.cookie-banner h2 {
    margin-top: 0;
    font-size: 1.2em;
    color: #333;
}

.cookie-banner p {
    font-size: 0.9em;
    color: #666;
}

.cookie-banner a {color: #333;cursor: pointer;}

.cookie-banner a:hover{text-decoration: underline;}

.cookie-buttons {
    margin-top: 15px;
    text-align: center;
}

.cookie-buttons button {
    margin: 10px 5px;
    padding: 14px 20px;
    border: none;
    border-left: 8px solid #5a5037;
    border-radius: 0;
    box-sizing: border-box;
    background-color: #bdada6;
    color: #512f34;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: 0.95em;
    background-image: linear-gradient(to right, #5a5037 50%, #bdada6 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.7s ease;
    text-align: center;
}

.cookie-buttons button:hover {
    color: #fff;
    background-position: left bottom;
    text-decoration: none;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.cookie-popup {
    display: none;
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    padding: 20px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    overflow-y: auto;
    max-height: 80vh;
    transition: top 0.5s ease;
}
.cookie-popup.show {
    top: 50%;
    transform: translate(-50%, -50%);
}
.popup-content {
    text-align: left;
}

.popup-content h2 {
    font-size: 1.5em;
    margin-top: 0;
    color: #bc6645;
}

.popup-content p {
    font-size: 0.9em;
    color: #666;
}

.cookie-option {
    margin-bottom: 15px;
}

.cookie-option input {
    margin-right: 10px;
}

.popup-buttons {
    text-align: right;
}

.popup-buttons button {
    padding: 10px 20px;
    border: none;
    background-color: #bc6645;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    font-size: 0.9em;
}

.popup-buttons button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    .cookie-banner {
        width: 90%;
    }

    .cookie-popup {
        width: 90%;
    }
}
