/* cookie-consent.css */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Arimo', sans-serif;
    border-top: 1px solid #eaeaea;
}

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-text-wrapper {
    flex: 1 1 auto;
    max-width: 600px;
}

.cookie-text-wrapper p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.cookie-text-wrapper a, .btn-cookie-link {
    color: #7c2a66;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex: 0 0 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.6rem 1rem;
    font-weight: 600;
    border: 2px solid #7c2a66;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-color: transparent;
    color: #7c2a66;
    font-family: inherit;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-cookie:hover,
.btn-cookie:focus {
    background-color: #7c2a66;
    color: #fff;
    text-decoration: none;
}

.btn-cookie-link {
    border: none;
    background-color: transparent;
    text-decoration: underline;
    padding: 0.6rem 0.5rem;
}

.btn-cookie-link:hover, .btn-cookie-link:focus {
    background-color: transparent;
    color: #551d45;
    text-decoration: underline;
}


.cookie-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Arimo', sans-serif;
}

.cookie-modal-content {
    background: #fff;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin: 0;
    color: #7c2a66;
    font-size: 1.5rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #555;
    line-height: 1;
}

.cookie-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
}

.cookie-table th, .cookie-table td {
    border: 1px solid #ccc;
    padding: 1rem;
    text-align: left;
    font-size: 0.95rem;
    color: #444;
}

.cookie-table th {
    background-color: #f9f9f9;
    font-weight: bold;
}

.cookie-config-cell {
    text-align: center;
    vertical-align: middle;
}

.cookie-chk {
    width: 25px;
    height: 25px;
    border: 2px solid #ccc;
    cursor: pointer;
    accent-color: #7c2a66;
}

.nec-text {
    font-size: 0.8rem;
    color: #777;
    text-transform: uppercase;
    display: block;
    text-align: center;
    font-weight: bold;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
}

/* Responsiveness */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: stretch;
    }

    .btn-cookie {
        flex: 1 1 45%;
    }

    .cookie-table th, .cookie-table td {
        display: block;
        width: 100%;
        border-bottom: none;
    }

    .cookie-table tr {
        display: block;
        border-bottom: 2px solid #ccc;
        margin-bottom: 1rem;
    }
}