/* assets/css/cookie_consent_style.css */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(3, 93, 33, 0.95);
    /* Verde escuro semi-transparente */
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    /* Z-index alto para ficar acima de tudo */
    display: none;
    /* INICIALMENTE ESCONDIDO PELO CSS */
    transform: translateY(100%);
    /* Começa fora da tela (para animação JS) */
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

#cookie-consent-banner.show {
    transform: translateY(0);
    opacity: 1;
}

#cookie-consent-banner p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: white;
    /* Garante que o texto seja branco */
}

#cookie-consent-banner a {
    color: #fecc4e;
    /* Link amarelo */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

#cookie-consent-banner a:hover {
    color: #fff;
    /* Branco no hover */
}

#cookie-consent-banner .cookie-buttons button {
    background-color: #fecc4e;
    /* Amarelo para o botão principal */
    color: #035d21;
    /* Texto verde no botão */
    border: 1px solid #fecc4e;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    margin: 0 8px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

#cookie-consent-banner .cookie-buttons button:hover {
    background-color: #fff;
    /* Fundo branco no hover */
    color: #035d21;
    /* Texto verde no hover */
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#cookie-consent-banner .cookie-buttons button#reject-cookies {
    background-color: transparent;
    color: white;
    /* Texto branco para rejeitar */
    border: 1px solid white;
    /* Borda branca */
}

#cookie-consent-banner .cookie-buttons button#reject-cookies:hover {
    background-color: rgba(255, 255, 255, 0.2);
    /* Fundo transparente branco no hover */
    color: white;
    transform: translateY(-2px);
}

/* Responsividade do banner */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 15px;
    }

    #cookie-consent-banner p {
        font-size: 0.85rem;
    }

    #cookie-consent-banner .cookie-buttons button {
        width: 100%;
        margin: 5px 0;
    }
}