/* Estilos do Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    z-index: 1000;
    transition: bottom 0.5s ease-in-out;
    border-top: 3px solid #007bff;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner p {
    margin: 0 0 1rem 0;
    color: #333;
    max-width: 800px;
    line-height: 1.6;
}

.cookie-banner a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

/* Botões de Cookies */
.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
}

.settings-btn:hover {
    background: #e9ecef;
}

.accept-btn {
    background: #007bff;
    color: white;
}

.accept-btn:hover {
    background: #0056b3;
}

/* Modal de Configurações */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.cookie-settings {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-settings.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    color: black;
}

.cookie-settings h3 {
    margin: 0 0 1.5rem 0;
    color: #333;
    font-size: 1.5rem;
}

/* Opções de Cookies */
.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.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: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #007bff;
}

input:disabled + .slider {
    background-color: #e9ecef;
    cursor: not-allowed;
}

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

/* Responsividade */
@media (max-width: 768px) {
    .cookie-banner {
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .cookie-settings {
        width: 95%;
        padding: 1.5rem;
    }
    
    .cookie-option {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
} 