/* css/style.css */
body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
}

.container {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Importante para o padding não aumentar o tamanho total */
}

button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

.error-message {
    color: red;
    font-size: 0.9em;
    text-align: center;
    margin-top: 10px;
    min-height: 1.2em; /* Para evitar que o layout pule quando a mensagem aparece/some */
}

p {
    text-align: center;
    font-size: 0.9em;
    margin-top: 15px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Adicionar ao final de css/style.css */
.voucher-section h3 {
    margin-bottom: 15px;
    color: #333;
}

#createVoucherForm div {
    margin-bottom: 15px;
}

#createVoucherForm label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
}

#createVoucherForm input[type="number"],
#createVoucherForm textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: sans-serif; /* Para herdar a fonte */
}

#createVoucherForm textarea {
    resize: vertical; /* Permite redimensionamento vertical */
}

#voucherMessage.success-message {
    color: green;
}

#voucherMessage.error-message {
    color: red;
}
/* Adicionar ao final de css/style.css */
#voucherTable th, #voucherTable td {
    border-bottom: 1px solid #eee;
    padding: 8px;
    text-align: left;
}

#voucherTable th {
    background-color: #f0f0f0;
    font-weight: bold;
}

#voucherTable tr:nth-child(even) { /* Estilo para linhas pares, se desejar */
    /* background-color: #f9f9f9; */
}
