/* /assets/css/cookie-consent.css */
:root {
    --cookie-laranja: #D98209;
    --cookie-verde: #005657;
    --cookie-cinza-escuro: #232323;
    --cookie-cinza-claro: #3b3b3b;
    --cookie-texto: #ffffff;
}

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--cookie-cinza-escuro);
    color: var(--cookie-texto);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
    z-index: 10000;
    font-family: 'Poppins', sans-serif;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    display: none;
}

.cookie-consent-banner.active {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}
.cookie-consent-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}
.cookie-consent-text a {
    color: var(--cookie-laranja);
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
    background-color: var(--cookie-laranja);
    color: var(--cookie-texto);
}

.cookie-btn.primary {
    background-color: var(--cookie-laranja);
    color: var(--cookie-texto);
}
.cookie-btn.primary:hover {
    background-color: var(--cookie-verde);
}

.cookie-btn.secondary {
    background-color: var(--cookie-cinza-claro);
    color: var(--cookie-texto);
}
.cookie-btn.secondary:hover {
    background-color: #555;
}


/* Modal de Preferências */
.cookie-preferences-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-preferences-modal-overlay.active {
    opacity: 1;
}

.cookie-preferences-modal {
    background: var(--cookie-cinza-escuro);
    color: var(--cookie-texto);
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-preferences-modal-overlay.active .cookie-preferences-modal {
    transform: scale(1);
}

.cookie-modal-header {
    border-bottom: 1px solid var(--cookie-cinza-claro);
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.cookie-modal-header h3 {
    font-family: 'Woodford Bourne', sans-serif;
    margin: 0;
    color: var(--cookie-texto);
}
.cookie-modal-header p {
    font-size: 14px;
    margin: 10px 0 0 0;
    color: #ccc;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: var(--cookie-cinza-claro);
}
.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cookie-category-header label {
    font-weight: bold;
    cursor: pointer;
}
.cookie-category-header .switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.cookie-category-header .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--cookie-laranja);
}
input:disabled + .slider {
    background-color: #333;
    cursor: not-allowed;
}
input:checked + .slider:before {
    transform: translateX(20px);
}
.cookie-category p {
    font-size: 13px;
    margin: 10px 0 0;
    color: #ccc;
    line-height: 1.5;
}

.cookie-modal-footer {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}