.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: black;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    font-family: 'General Sans', sans-serif;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
    padding-right: 20px;
    font-size: 14px;
    line-height: 1.5;
    display: none; /* Texto removido do HTML */
}

.cookie-text a {
    color: #fff;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: 'General Sans', sans-serif;
    transition: all 0.2s ease;
}

.cookie-btn-accept {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.cookie-btn-accept:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-settings {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.cookie-btn-settings:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0px;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cookie-settings-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.cookie-settings-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.cookie-settings-description {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.cookie-settings-options {
    margin-bottom: 20px;
}

.cookie-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-toggle {
    margin-right: 15px;
}

.cookie-option-info {
    flex: 1;
}

.cookie-option-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
}

.cookie-option-description {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.cookie-settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-settings-save {
    background-color: #D71921;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookie-settings-save:hover {
    background-color: #b5141b;
}

/* Responsividade */
@media (max-width: 768px) {
    .cookie-consent-banner {
        flex-direction: row;
        padding: 15px;
        justify-content: flex-start;
    }
    
    .cookie-text {
        padding-right: 0;
        margin-bottom: 0;
        text-align: center;
        display: none; /* Mantém texto escondido */
    }
    
    .cookie-buttons {
        width: auto;
        justify-content: flex-start;
        margin-left: 0;
    }
    
    .cookie-settings-content {
        width: 95%;
        padding: 20px;
    }
}

/* Switch toggle para as opções de cookies */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.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: #D71921;
}

input:focus + .slider {
    box-shadow: 0 0 1px #D71921;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Desabilitar opção necessária */
.switch.disabled {
    opacity: 0.7;
    pointer-events: none;
}

