/* Configuraciones básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: sans-serif;
}
form {
    display: flex;
    flex-direction: column; gap: 10px;
}

/* Contenedor principal */
.login-container {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px; /* Tamaño máximo en escritorio */
    margin: 20px;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 0.5rem;
}

p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* Campos de entrada */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #007bff;
}

.separador {
            padding: 5px;
}

/* Botón */
.login-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
}

.login-btn:hover {
    background-color: #0056b3;
}

/* Enlaces inferiores */
.footer-links {
    margin-top: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
}

.footer-links a {
    color: #007bff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

        /* Estilo general para la tabla */
        table {
              border-collapse: collapse; /* Colapsa los bordes entre celdas */
              font-family: Arial, sans-serif; /* Fuente legible */
              text-align: center;
                }
        th, td {
              border: 1px solid #ddd; /* Borde gris claro */
              padding: 8px; /* Espaciado interno */
              text-align: center; /* Alineación del texto */
                }
                /* Estilo para encabezados (th) */
        th {
              background-color: #e6e6fa; /* Fondo gris claro para encabezados */
              color: #333;
            }
        tr:hover {
             background-color: #e9e9e9; /* Fondo al pasar el mouse */
            }
          a { text-decoration: none; }   
      .tabla-contenedor {
      height: 600px; /* Altura fija para el área desplazable */
      overflow-y: auto; /* Habilita la barra de scroll vertical */
      border: 0px solid #ccc;
    }
    .columna-oculta { display: none; }
    thead {
      position: sticky; /* Mantiene el encabezado fijo */
      top: 0;
      background-color: #e6e6fa;
    }          
            

/* Ajustes para pantallas pequeñas */
@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
        box-shadow: none; /* Opcional: diseño más plano en móvil */
    }
}