/* Reset y configuración global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #0A1F44;
    color: #000000;
    padding: 20px;
}

/* Botón regresar */
.btn-regresar {
    position: fixed;
    top: 10px;
    left: 20px;
    padding: 12px 22px;
    background-color: #1E3A8A;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 1rem;
}

.btn-regresar:hover {
    background-color: #2563EB;
    transform: scale(1.05);
}

/* Contenedor principal del formulario */
.container {
    width: 90%;
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.container:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

h1 {
    text-align: center;
    color: #1E3A8A;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: normal;
}

/* Estilos de los inputs y selects */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
    color: #1E3A8A;
    font-weight: normal;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #60A5FA;
    border-radius: 8px;
    font-size: 1rem;
    background: #F8FAFC;
    color: #000000;
    transition: border 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #2563EB;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
}

/* Botón de envío */
.button {
    background: linear-gradient(90deg, #1E3A8A, #2563EB);
    color: white;
    padding: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    display: block;
    width: 100%;
    text-align: center;
    transition: background 0.3s, transform 0.2s;
    font-size: 1.1rem;
}

.button:hover {
    background: linear-gradient(90deg, #2563EB, #3B82F6);
    transform: translateY(-2px);
}

.button:active {
    transform: scale(0.95);
}

/* Responsividad */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 20px auto;
    }

    .btn-regresar {
        top: 5px;
        left: 10px;
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }

    .button {
        font-size: 1rem;
        padding: 12px;
    }
}
