/* Estilização do overlay (fundo escurecido) */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Estilização da barra de consentimento */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1000;
    animation: fadeIn 0.5s ease-in-out;
}

/* Animação de fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Estilização do texto */
.cookie-consent p {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

/* Link da política de cookies */
.cookie-consent a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.cookie-consent a:hover {
    text-decoration: underline;
}

/* Botões */
.cookie-consent button {
    border: none;
    padding: 5px 15px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease-in-out;
    width: 100px;
}

/* Botão aceitar */
#aceitar-cookies {
    background-color: #28a745;
    color: white;
}

#aceitar-cookies:hover {
    background-color: #218838;
}

/* Botão recusar */
#recusar-cookies {
    background-color: #dc3545;
    color: white;
}

#recusar-cookies:hover {
    background-color: #c82333;
}

/* Responsividade */
@media (max-width: 480px) {
    .cookie-consent {
        width: 95%;
        padding: 15px;
    }

    .cookie-consent p {
        font-size: 13px;
    }

    .cookie-consent button {
        font-size: 13px;
        padding: 8px 12px;
    }
}