.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centraliza horizontalmente e verticalmente */
    padding: 20px;
    border-radius: 8px;
    width: 70%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.modal-header img {
    width: 90%;
    margin-top: -40px;
}

#qrcode-modal {
    margin-top: 0px;
}

.modal-header h2 {
    font-size: 30px;
    font-weight: 300;
    margin-top: -20px;
    margin-bottom: 0px;
}

#valor_qrcode {
    display: flex;
    align-items: start;
    padding-top: 5px;
}

.modal-body h3 {
    position: relative;
    display: flex;
    color: green;
    font-size: 40px;
    margin-top: 10px;
    justify-content: center;
    align-items: center;
    height:50px;
}

h3 span {
    font-size: 22px;
    margin-bottom: -10px;
}

#valor_mes_virgula {
    display: flex;
    height: 100%;
}

#valor_mes_virgula p{
    margin: 0px;
    font-size: 18px;
}

#valor_mes {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

#valor_mes p {
    margin-bottom: -5px;
}

.modal-body button {
    margin-top: 0px;
    background-color: #ffcc00;
    border: none;
    width: 80%;
    height: 50px;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-body button:hover {
    opacity: 0.9;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

#mes {
    font-weight: 300;
}

#validade {
    margin-top: -30px;
    margin-bottom: 20px;
}

#validade p{
    margin-top: 0px;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 400;
}

#data_validade {
    font-size: 17px !important;
    font-weight: 500 !important;
}

#saldo {
    color: #000;
    font-size: 12px;
    font-weight: 300;
    top: 0;
    left: 26%;
    position: absolute;
}