/* Estilos base para todos los inputs */
input, textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

/* Estilos para el foco (cuando el usuario hace clic) */
input:focus, textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Estilos para inputs de tipo botón o submit */
input[type="button"],
input[type="submit"],
input[type="reset"] {
    background-color: #007BFF;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Estilos para inputs de tipo checkbox y radio */
input[type="checkbox"],
input[type="radio"] {
    margin-right: 5px;
}

/* Estilos para inputs de tipo checkbox y radio al estar seleccionados */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    border-color: #007BFF;
}

/* Estilos para etiquetas asociadas a inputs (por ejemplo, labels) */
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Estilos específicos para un input con la clase "estilo-especial" */
.estilo-especial {
    background-color: #f9f9f9;
    border: 2px solid #ddd;
    padding: 12px;
    border-radius: 8px;
}
