body {
    font-family: sans-serif; /* More modern font */
    background-color: #f7f7f7; /* Lighter background */
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 400px; /* Narrower container */
    width: 100%;
    background-color: #fff;
    padding: 30px; /* More padding */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Stronger shadow */
}

h1, h2 {
    color: #333;
    text-align: center; /* Center-align headings */
    margin-bottom: 1rem;
}
h2{
    font-size: 1.2rem;
    margin-top: 0;
}

.section {
    margin-bottom: 25px; /* More space between sections */
    border-bottom: none;  /*Removed the line*/
    padding-bottom: 0;   /*Removed the padding*/
}

label {
    display: block; /* Labels above inputs */
    margin-bottom: 6px; /* Space between label and input */
    font-weight: bold;
    color: #555; /* Slightly darker label color */
    font-size: 0.9rem;
}
/* Style for the checkbox label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between checkbox and label text */
    margin-bottom: 10px;
    cursor: pointer;
}
input[type="checkbox"]{
  margin: 0;
  width: auto;
}


input[type="date"],
input[type="number"],
select {
    width: 100%;
    padding: 10px; /* More padding inside inputs */
    margin-bottom: 15px; /* More space below inputs */
    border: 1px solid #ccc; /* Lighter border */
    border-radius: 5px; /* Rounded input corners */
    box-sizing: border-box;
    font-size: 0.9rem;
}

/* Remove the up and down arrows for number input */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"]{
     -moz-appearance: textfield;
     appearance: textfield;
}

select {
    appearance: none; /* Remove default dropdown arrow */
   -webkit-appearance: none;
   -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1.41 0L6 4.58L10.59 0L12 1.41L6 7.41L0 1.41L1.41 0z'/%3E%3C/svg%3E"); /* Custom dropdown arrow (SVG) */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 8px;
    padding-right: 30px; /* Space for the custom arrow */

}


.alerta {
    color: red;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.resultado {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 0.9rem;
}

button {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 5px;
    font-size: 0.9rem;
}

button:hover {
    background-color: #3e8e41;
}