/* URBI — Login ligero (sin AdminLTE completo) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body.login-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(145deg, #0a1628 0%, #0f2744 42%, #1e3a5f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  color: #1e293b;
}

.login-box {
  width: 100%;
  max-width: 400px;
}

.login-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.login-card-head {
  padding: 28px 24px 16px;
  text-align: center;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid #e2e8f0;
}

.login-card-head a {
  display: inline-block;
  text-decoration: none;
}

.login-card-head img {
  max-width: 200px;
  width: 100%;
  height: auto;
}

.login-card-body {
  padding: 24px;
}

.login-box-msg {
  margin: 0 0 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #475569;
}

.alert-warning {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 16px;
}

.input-group {
  display: flex;
  width: 100%;
  margin-bottom: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.form-control {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  min-width: 0;
  background: transparent;
}

.input-group-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: #f8fafc;
  color: #64748b;
  border-left: 1px solid #e2e8f0;
}

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.login-remember input {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
}

.btn-login {
  border: none;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-login:active {
  transform: translateY(0);
}

.login-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 420px) {
  .login-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-login {
    width: 100%;
    padding: 13px;
  }
}
