/* Container do Widget */
.rating-widget {
    display: flex;
    flex-direction: row; /* Empilha estrelas e botão */
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

/* Estrelas e Texto */
.rating-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-info {
    color: rgba(78, 81, 83, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-rate-open {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;	
    /* Aumentamos a opacidade do fundo e da borda para dar corpo ao botão */
    /*background: rgba(6, 35, 53, 0.25);*/
	background:rgba(255, 255, 255, 0.8);
    color: rgba(6, 35, 53, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animação mais elástica */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-rate-open:hover {
    background: #ffffff;
    color: var(--primary); /* Usa a cor do seu sistema no texto ao carregar */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: #ffffff;
}

/* Ícone com pulso sutil para atrair o olhar sem incomodar */
.btn-rate-open i {
    width: 18px;
    height: 18px;
    stroke-width: 2.5px;
}

.btn-rate-open:active {
    transform: translateY(0);
}

/* Ícone dentro do botão (opcional) */
.btn-rate-open i {
    width: 16px;
    height: 16px;
}
.rating-widget { display: flex; align-items: center; gap: 15px; }
.star-icon { width: 18px; color: #94a3b8; }
.star-filled { color: #facc15; fill: #facc15; }

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); display: flex; align-items: center; justify-content: center; z-index: 9999;
}
.modal-content {
    background: white; padding: 30px; border-radius: 20px; text-align: center; max-width: 400px;
}
.modal-stars { display: flex; justify-content: center; gap: 10px; margin: 20px 0; }
.star-vote { width: 35px; height: 35px; cursor: pointer; color: #cbd5e1; transition: 0.2s; }
.star-vote:hover { color: #facc15; transform: scale(1.2); }
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rating-widget {
    animation: fadeInUp 0.8s ease-out forwards;
}
/* No seu CSS do Modal */

.modal-overlay.active {
    opacity: 1;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}/* O fundo escuro do modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999; /* Garante que fique acima de TUDO */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

/* Quando o modal ganha a classe .active */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* A caixa branca com as estrelas */
.modal-content {
	color:rgba(78,81,83,0.8);
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 400px;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* Estrelas dentro do Modal */
.star-vote {
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: #cbd5e1;
    transition: transform 0.2s, color 0.2s;
    margin: 0 5px;
}

.star-vote:hover {
    color: #facc15;
    fill: #facc15;
    transform: scale(1.2);
}

/* Botão de fechar (X) */
.modal-close-x {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
}/* CSS Document */

