/* ======== GENERAL ======== */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family: 'Segoe UI', Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f4f7fc;
}

/* ======== COLUMNA IZQUIERDA ======== */
.left-container {
  width: 45%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-container .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ======== COLUMNA DERECHA (LOGIN) ======== */
.login-container {
  width: 55%;
  max-width: 420px;
  background-color: #fff;
  border-radius: 12px;
  padding: 40px 50px;
  margin: auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Imagen superior (ícono o logo) */
.login-container img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #007bff;
  padding: 10px;
  margin-bottom: 15px;
}

/* ======== TEXTOS ======== */
.login-container h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
  text-align: center;
}

.subtitle {
  font-size: 15px;
  color: #555;
  text-align: center;
  margin-bottom: 25px;
}

/* ======== FORMULARIO ======== */
form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Inputs */
input[type="email"],
input[type="password"] {
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  transition: border-color 0.3s;
  width: 100%;
}

input:focus {
  outline: none;
  border-color: #007bff;
}

/* ======== RECORDARME Y OLVIDASTE CONTRASEÑA ======== */
.remember {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #333;
}

.forgot-password {
  text-align: right;
  font-size: 14px;
}

.forgot-password a {
  color: #007bff;
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

/* ======== BOTÓN ======== */
button {
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 5px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #005ce6;
}

/* ======== REGISTRO ======== */
.register-link {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
  color: #444;
}

.register-link a {
  color: #007bff;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 900px) {
  body {
    flex-direction: column;
  }
  .left-container {
    display: none;
  }
  .login-container {
    width: 90%;
    max-width: 400px;
    margin: 40px 0;
  }
}


        body { font-family: Arial, sans-serif; background-color: #f4f4f4; margin: 20px; color: #333; }
        .container { max-width: 900px; margin: auto; background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
        h1, h2 { text-align: center; }
        .form-container { border: 1px solid #ddd; padding: 20px; margin-bottom: 25px; border-radius: 5px; background: #f9f9f9; }
        .form-group { margin-bottom: 15px; }
        label { display: block; margin-bottom: 5px; font-weight: bold; }
        input[type="text"], input[type="email"], input[type="password"], select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
        .btn { padding: 10px 15px; border: none; border-radius: 4px; color: #fff; cursor: pointer; }
        .btn-primary { background-color: #007bff; }
        .btn-success { background-color: #28a745; }
        .text-danger { color: #dc3545; font-size: 0.9em; }
        .alert-success { padding: 10px; background-color: #d4edda; color: #155724; border-radius: 4px; margin-bottom: 15px; }
        .alert-danger { padding: 10px; background-color: #f8d7da; color: #721c24; border-radius: 4px; margin-bottom: 15px; }
        table { width: 100%; border-collapse: collapse; margin-top: 20px; }
        th, td { border: 1px solid #ddd; padding: 10px; text-align: left; }
        th { background-color: #f2f2f2; }
        .actions a { margin-right: 10px; text-decoration: none; font-weight: bold; }
        .filter-controls { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
        .filter-btn { text-decoration: none; padding: 8px 15px; border: 1px solid #ccc; background-color: #f8f9fa; color: #333; border-radius: 5px; }
        .filter-btn.active { background-color: #007bff; color: white; border-color: #007bff; }
        .inactive-row { background-color: #f8f9fa; opacity: 0.6; }
        .inactive-row td { text-decoration: line-through; }
        .actions a.reactivate { color: #28a745; }
        .actions a.deactivate { color: #ffc107; }
        .actions a.delete { color: #dc3545; }
        .actions a.edit { color: #007bff; }
