/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
  background: #f4f6f9;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  color: #1f2937;
}

/* Encabezado */
h1 {
  color: #1e293b;
  font-weight: 600;
}

/* Contenedor de login */
.FormCajaLogin {
  width: 100%;
  height: 100vh;
  display: grid;
  place-items: center;
  background: url(fondo.jpg) no-repeat center center fixed;
  background-size: cover;
}

.FormLogin {
  background-color: #ffffff;
  padding: 2em;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.TextoCajas {
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 4px;
  text-align: left;
}

/* Inputs */
.CajaTexto {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background-color: #f9fafb;
  transition: 0.3s ease;
}
.CajaTexto:focus {
  outline: none;
  border-color: #2563eb;
  background-color: #ffffff;
}

/* Botones */
.BtnLogin,
.BtnRegistrar {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.BtnLogin {
  background-color: #2563eb;
  color: white;
}
.BtnLogin:hover {
  background-color: #1d4ed8;
}

.BtnRegistrar {
  background-color: #10b981;
  color: white;
}
.BtnRegistrar:hover {
  background-color: #059669;
}

/* Barra lateral */
.BarraLateral {
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background-color: #1e293b;
  color: white;
}

.BarraLateral ul {
  list-style: none;
  padding: 0;
  margin-top: 20%;
  font-size: 16px;
}

.BarraLateral li {
  padding: 12px 16px;
  transition: background 0.2s ease;
}
.BarraLateral li:hover {
  background-color: #334155;
}
.BarraLateral a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
}

/* Contenido principal */
.ContenedorPrincipal {
  margin-left: 200px;
  padding: 20px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .BarraLateral {
    width: 100%;
    position: relative;
    height: auto;
  }
  .ContenedorPrincipal {
    margin-left: 0;
  }
}

/* Tablas */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

th {
  background-color: #2563eb;
  color: white;
  text-transform: uppercase;
  font-weight: 600;
}

th,
td {
  padding: 14px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.ContenedorTabla {
  max-width: 1260px;
  margin: 0 auto;
}

/* Botones acciones */
.BotonesTeam,
.BotonesTeam1,
.BotonesTeam2,
.BotonesTeam3,
.BotonesTeam4,
.BotonesTeam5 {
  display: inline-block;
  background: #2563eb;
  padding: 10px 16px;
  border-radius: 6px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border: none;
  transition: transform 0.2s ease;
  margin: 5px;
}

.BotonesTeam1 { background-color: #10b981; }
.BotonesTeam2 { background-color: #2563eb; }
.BotonesTeam3 { background-color: #ef4444; }
.BotonesTeam4 { background-color: #11757A; }
.BotonesTeam5 { background-color: #B63C12; }

.BotonesTeam1:hover,
.BotonesTeam2:hover,
.BotonesTeam3:hover,
.BotonesTeam5:hover {
  transform: scale(1.05);
}

/* Popup */
.caja_popup2 {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.contenedor_popup {
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 400px;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
}

/* Buscador */
.ContBuscar {
  padding-top: 1%;
  text-align: center;
}
.CajaTextoBuscar {
  width: 300px;
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* Imagen responsive */
.responsive-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Elemento flotante (formulario o notificaciones) */
.flotante {
  position: fixed;
  top: 50px;
  right: 20px;
  background-color: white;
  padding: 16px;
  border: 1px solid #ccc;
  z-index: 1000;
  display: flex;
  align-items: center;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
