/* Overlay do modal */
#io-acompanhar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 99999;

    /* ❌ remove centralização vertical */
    display: block;

    /* trava scroll da página de trás */
    overflow: hidden;
}

/* Caixa do modal */
#io-acompanhar-modal {
    background: #fff;
    padding: 20px;

    width: 420px;
    max-width: 95%;

    /* 🔥 comportamento correto */
    max-height: 90vh;
    overflow-y: auto;

    /* começa do topo, com margem */
    margin: 5vh auto;

    border-radius: 8px;
    box-sizing: border-box;
}

/* Inputs e botões */
#io-acompanhar-modal input,
#io-acompanhar-modal button {
    width: 100%;
    margin-bottom: 10px;
}

/* Ajuste para telas muito baixas */
@media (max-height: 600px) {
    #io-acompanhar-modal {
        max-height: 85vh;
        margin: 3vh auto;
    }
}

.io-status {
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
    font-weight: bold;
    text-align: center;
}

.io-status.pago {
    background: #d4edda;
    color: #155724;
}

.io-status.pendente {
    background: #fff3cd;
    color: #856404;
}

.io-status.sem {
    background: #eee;
    color: #555;
}

.io-btn-pagar,
.io-btn-boleto {
    display: block;
    text-align: center;
    padding: 10px;
    margin-top: 8px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.io-btn-pagar {
    background: #007cba;
    color: #fff;
}

.io-btn-boleto {
    background: #6c757d;
    color: #fff;
}
.io-status-box {
    margin: 15px 0;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

.io-status.sem {
    background: #f1f1f1;
    color: #555;
}

.io-status.pago {
    background: #e6f7ec;
    color: #1e7e34;
    font-weight: bold;
}

.io-status.pendente {
    background: #fff3cd;
    color: #856404;
}

.io-btn-pagar,
.io-btn-boleto {
    display: block;
    margin-top: 8px;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.io-btn-pagar {
    background: #c8235d;
    color: #fff;
}

.io-btn-boleto {
    background: #444;
    color: #fff;
}
