#cookie-consent-notice {
    background-color: rgba(236, 239, 241, 0.8);
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-notice-content {
    display: inline-block;
    text-align: left;
}

.cookie-message {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    text-align: center;
}


.cookie-message p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #39327a;    
}


.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 5px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
}

.cookie-policy-link {        
    color: #0073aa;
    cursor: pointer;
    text-decoration: none;
}

.cookie-buttons button:hover{
    background-color: #005177;
}

@media (max-width: 600px) {
    .cookie-message {
        display: block;
        text-align: center;
    }

    .cookie-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .cookie-buttons button {
        width: 100%;
    }

    .cookie-buttons button:nth-child(1),
    .cookie-buttons button:nth-child(2) {
         grid-column: span 1;
    }
     
    .cookie-buttons button:nth-child(3) {
        grid-column: span 2;
    }
}


/* -------------------------- */
/* Modal styles */
.cookie-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}
.cookie-modal-content {
    background-color: #333;
    border-radius: 8px;
    width: 60%;
    display: flex;
    color: #fff;
}
.cookie-modal-sidebar {
    width: 25%;
    background-color: #444;
    padding: 20px;
}
.cookie-modal-sidebar ul {
    list-style-type: none;
    padding: 0;
}
.cookie-modal-sidebar ul li a {
    display: block;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    background-color: #222;
    margin-bottom: 5px;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.cookie-modal-sidebar ul li a:hover, .cookie-modal-sidebar ul li a.active {
    background-color: #0073aa;
}
.cookie-modal-body {
    width: 75%;
    padding: 20px;
}
.cookie-section {
    display: none;
}
.cookie-section.active {
    display: block;
}

button[type="submit"], #close-modal {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}
button[type="submit"]:hover, #close-modal:hover {
    background-color: #005f8d;
}

.cookie-modal-content h2 {
    margin-bottom: 20px;
    color: white;
}

.cookie-modal-content form label {
    display: block;
    margin-bottom: 10px;
}

.cookie-modal-content button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}

.cookie-modal-content button:hover {
    background-color: #005177;
}


@media (max-width: 600px) {
    .cookie-modal {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 400px;
        z-index: 9999;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        background-color: rgba(0, 0, 0, 0.5);        
    }
    .cookie-modal-content {
        background-color: #333;
        border-radius: 8px;
        width: 90%;
        color: #fff;
    }
    .cookie-modal-sidebar {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }
    .cookie-modal-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .cookie-modal-sidebar ul li {
        flex: 1 1 45%;
        margin-bottom: 10px;
        text-align: center;
    }

    .cookie-modal-sidebar ul li a {
        padding: 5px;
        font-size: 14px;        
    }
    
    .cookie-modal-body {
        clear: both;
        padding: 20px;
        width: 100%;
    }
    
    .cookie-section {
        display: none;
    }
    
    .cookie-section.active {
        display: block;
    }
    
    form button {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .cookie-modal-content {
        display: flex;
        flex-direction: column;
    }
    
    .cookie-modal-sidebar {
        margin-bottom: 10px;
    }
    
    .cookie-modal-body {
        padding: 10px;
    }
    
    form button {
        margin-bottom: 5px;
    }
}
