/* Estilos gerais para os formulários */
form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

form input[type="text"],
form input[type="date"],
form input[type="number"],
form select {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

form button[type="submit"] {
    display: inline-block;
    padding: 10px 20px;
    font-size: 15px;
    color: #fff;
    background-color: #8D0000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button[type="submit"]:hover {
    background-color: #414141;
}

#boleto-result,
#quiosque-result,
#convite-result {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    /* background-color: #fff; */
}

#convidados h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #8D0000;
}

#convidados label {
    font-weight: normal;
}

.formulario-result {
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 14px;
    color: #fff; /* Texto branco por padrão */
}

.formulario-result.success {
    background-color: #28a745; /* Verde para sucesso */
}

.formulario-result.error {
    background-color: #dc3545; /* Vermelho para erro */
}

.formulario-result.processing {
    background-color: #ffc107; /* Amarelo para indicar que está processando */
    color: #333; /* Cor do texto */
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}

#lista-boletos {
    margin-top: 20px;
}

.boletos-vazio {
    margin: 16px 0 0;
    color: #555;
}

.tabela-boletos {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    background: #fff;
}

.tabela-boletos th,
.tabela-boletos td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.tabela-boletos th {
    background: #f1f1f1;
    color: #333;
}

.btn-baixar-boleto {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    color: #fff;
    background-color: #8D0000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-baixar-boleto:hover:not(:disabled) {
    background-color: #414141;
}

.btn-baixar-boleto:disabled {
    opacity: 0.7;
    cursor: default;
}

