/*
    Rifa VCA - Estilos para Componentes Reutilizáveis
*/

/* === BARRA DE PROGRESSO === */
.progress-bar {
    background-color: #e9ecef;
    border-radius: 25px;
    margin: 1rem 0;
    overflow: hidden;
    height: 20px;
}

.progress-bar .progress {
    background: linear-gradient(45deg, var(--azul), var(--verde));
    color: var(--branco);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    transition: width 0.5s ease-in-out;
}

/* === MODAL PIX === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--branco);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.75rem;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
}

.close-button:hover {
    color: var(--preto);
}

#qrcode {
    margin: 1.5rem auto;
    display: flex;
    justify-content: center;
}

.modal-content p {
    margin-bottom: 0.5rem;
}

.modal-content strong {
    font-size: 1.2rem;
}
