/* Fondo general */
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #2b61f6, #1230a9);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

/* Contenedor principal */
.login-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

/* Tarjeta */
.login-card {
  background: white;
  border-radius: 16px;
  padding: 30px 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  text-align: center;
}

/* Icono circular */
.icon-circle {
  background-color: #2563eb;
  width: 90px;
  height: 90px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  display: flex;
  align-items: center;   /* centra verticalmente */
  justify-content: center; /* centra horizontalmente */
}

.icon-circle input[type="image"] {
  width: 55px;  /* ajusta el tamaño del icono dentro del círculo */
  height: 55px;
  object-fit: contain;  /* mantiene la proporción */
  /* opcional si quieres efecto redondeado */
  border: none;
  background: none;
}

/* Título */
.login-card h2 {
  font-size: 1.2rem;
  color: #111827;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 24px;
}

/* Inputs */
label {
  display: block;
  text-align: left;
  font-size: 0.9rem;
  color: #111827;
  margin-bottom: 6px;
  font-weight: 500;
}

.input-group {
  position: relative;
  margin-bottom: 18px;
}

.input-group i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 18px;
}

.input-group input {
  width: 85%;
  padding: 10px 12px 10px 38px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.input-group input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Botón */
.btn {
  width: 100%;
  background-color: #111827;
  color: white;
  font-weight: 600;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 5px;
}

.btn:hover {
  background-color: #1e293b;
}

/* Enlace de contraseña */
.forgot {
  display: block;
  margin-top: 14px;
  font-size: 0.9rem;
  color: #2563eb;
  text-decoration: none;
}

.forgot:hover {
  text-decoration: underline;
}

/* Caja de usuarios de prueba */
.test-users {
  background: #eff6ff;
  border-radius: 8px;
  margin-top: 25px;
  padding: 14px;
  font-size: 0.9rem;
  text-align: left;
  color: #1e3a8a;
}

.test-users p {
  margin: 4px 0;
}
