.cookie-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #000;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    border: 1px solid #fff;
    max-width: 90%;
    width: 800px; /* Adjust width as needed */
    text-align: start;
    border-radius: 8px; /* Optional for rounded corners */
}

.cookie-popup p {
    padding: 10px;
}

.cookie-popup-content {
    margin-bottom: 20px;
}

.cookie-popup-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cookie-popup-buttons button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px; /* Optional for rounded buttons */
    flex: 1; /* Ensure equal width */
    max-width: 200px; /* Optional maximum width */
}

#accept-all-cookies {
    background-color: #4CAF50;
    color: #000;
}

#only-necessary-cookies,
#cookie-settings {
    background-color: #fce674;
    color: #000;
}

.cookie-settings-panel {
    display: none;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.cookie-settings-panel label {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 10px 0;
}

.cookie-settings-panel button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border-radius: 4px; /* Optional for rounded buttons */
}

/* Responsive adjustments */
@media (min-width: 600px) {
    .cookie-popup-buttons {
        flex-direction: row;
    }
}

@media (min-width: 800px) {
    .cookie-popup {
        max-width: 70%;
        width: 500px;
    }
}
