body {
    background-image: url(../img/fundo.gif);
    font-family: verdana;
    margin: 0;
    padding: 0;
}

h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="email"],
select {
    width: 45%;
    padding: 0.1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 0.2rem;
    &:hover {
        border-color: rgb(1, 77, 45);
        box-shadow: 0 0 0 3px rgba(81, 229, 44, 0.2);
        outline: none;
    }
}

.feedback {
    margin-top: -0.8rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.disponivel {
    color: green;
}

.indisponivel {
    color: red;
}

button,
input[type="submit"],
input[type="reset"] {
    color: white;
    padding: 0.3rem 1.2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"] {
    background-color: darkgreen;
    &:hover {
        background-color: #479247;
    }
    &:disabled {
        background-color: #ccc; /* cinza claro */
        color: #666; /* texto escuro */
        cursor: not-allowed; /* ícone de "proibido" */
        border: 1px solid #999;
        opacity: 0.7;
    }
}

input[type="reset"] {
    background-color: #e60d2a;
    &:hover {
        background-color: #da5667;
    }
}
.formulario-cadastro {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fefefe;
    padding: 5px;
    border-radius: 20px;
}

article.form-row {
    display: flex;
    margin-bottom: 0.5rem;
}

.form-row {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 0.2rem;
}

input.erro {
    border: 2px solid red;
}

small {
    font-size: 0.9rem;
}

.input-inline label {
    margin-right: 1rem;
}
