/* Estilização geral da modal */
#modalPagamento .modal-content {
    background: white;
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    font-family: Arial, sans-serif;
}

/* Container dos totais com formato losango estilizado */
.valor-boxes {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 10px;
}


.valor-total {
    background: #ff4d4d; /* vermelho */
}

.valor-ja-pago {
    background: #4CAF50; /* verde */
}

.falta-pagar {
    background: #FFA500; /* laranja */
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    padding: 15px;
    border-radius: 10px;
    font-size: 20px;
    color: black;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

/* Campos de pagamento */
form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 16px;
}

form select,
form input[type="number"],
form textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}

select {
    background-color: #f9f9f9;
}

#troco {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    background: #f0f0f0;
    padding: 10px;
    display: inline-block;
    border-radius: 8px;
    margin-top: 10px;
}

/* Botões */
form button {
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
}

form button:hover {
    background: #218838;
}

/* Botão de voltar */
a[href*="ver_pedido.php"] {
    display: inline-block;
    padding: 10px 18px;
    background: #6c757d;
    color: white;
    border-radius: 10px;
    font-size: 15px;
    text-decoration: none;
}


.botoes-acao {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.botoes-acao form,
.botoes-acao button {
    margin: 0;
}

.botoes-acao button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Estilos individuais para manter as cores */
.btn-pagamento {
    background-color: #28a745;
    color: white;
}

.btn-fechar {
    background-color: #dc3545;
    color: white;
}

.btn-imprimir {
    background-color: #007bff;
    color: white;
}

.btn-voltar {
    background-color: #6c757d;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.btn-voltar:hover {
    background-color: #5a6268;
}




.linha-superior {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.linha-inferior {
    display: flex;
    justify-content: center;
    width: 100%;
}





.valores-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    justify-content: space-between;
    flex-wrap: wrap;
}

.valor-box {
    transform: rotate(45deg);
    position: relative;
    width: 100px;
    height: 100px;
}

.valor-box span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) ;
    display: block;
    font-size: 16px;
}


.valor-box .valor {
    font-size: 20px;
}

.amarelo {
    background-color: #f0ad4e;
}

.vermelho {
    background-color: #d9534f;
}

.verde {
    background-color: #5cb85c;
}


