body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}
h1 {
    text-align: center;
    color: #4285f4;
}
form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.form-group {
    margin-bottom: 15px;
}
.form-button {
    display: flex;
    justify-content: center;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}
input:valid {
    border-color: #4CAF50;
}
input:invalid {
    border-color: #f44336;
}
.error {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}
input:invalid + .error {
    display: block;
}
button {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 40%;
}
button:hover {
    background-color: #3367d6;
}
/* Estilo para teclas de atalho */
.tecla-atalho {
    text-decoration: underline;
    color: #4285f4;
}
/* Estilo para o elemento com foco */
input:focus, select:focus, textarea:focus, button:focus {
    outline: 3px solid #4285f4;
    box-shadow: 0 0 8px rgba(66, 133, 244, 0.6);
}
 /* Estilos para radio buttons */
 fieldset {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 15px;
    margin: 0;
}
legend {
    font-weight: bold;
    padding: 0 5px;
}
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}
.radio-option {
    display: flex;
    align-items: center;
}
.radio-option input[type="radio"] {
    width: auto;
    margin-right: 5px;
}
.radio-option label {
    display: inline;
    margin: 0;
    font-weight: normal;
}


