/* Archivo: estilos.css */

/* Estilo general de la página */
body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #1e1e1e;
    color: #00ff00;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Contenedor del formulario */
.container {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    max-width: 600px;
    width: 100%;
}

h2 {
    color: #00ff00;
    text-align: center;
}

/* Estilos de los campos del formulario */
form label {
    display: block;
    margin-top: 10px;
    color: #00ff00;
}

form input, form select, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    background-color: #333;
    border: 1px solid #00ff00;
    color: #00ff00;
    border-radius: 4px;
}

form input[type="date"], form input[type="number"] {
    color: #00ff00;
}

form input[type="number"] {
    -moz-appearance: textfield;
}

form input::-webkit-outer-spin-button,
form input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

form button {
    background-color: #00ff00;
    color: #1e1e1e;
    padding: 10px 15px;
    margin-top: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

form button:hover {
    background-color: #00e600;
}

/* Estilo para los botones de limpiar y cancelar */
.botones-formulario {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.botones-formulario button {
    width: 48%;
}

/* Estilo para listas desplegables con búsqueda */
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    background-color: #333;
    border: 1px solid #00ff00;
    color: #00ff00;
    border-radius: 4px;
    appearance: none;
}

select:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}

/* Responsividad para dispositivos móviles */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    form label, form input, form select, form textarea, form button {
        font-size: 14px;
    }
}
