/* Student login — mobile-first */
.erp-sl-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(16, 185, 129, 0.22), transparent 55%),
    radial-gradient(900px 500px at 110% 10%, rgba(14, 165, 233, 0.2), transparent 50%),
    linear-gradient(180deg, #ecfdf5 0%, #f0f9ff 45%, #f8fafc 100%);
  color: #0f172a;
}

.erp-sl-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  position: relative;
}

.erp-sl-glow {
  position: absolute;
  inset: auto 10% 8% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.16);
  filter: blur(20px);
  pointer-events: none;
}

.erp-sl-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.28);
  padding: 1.5rem 1.35rem 1.25rem;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.erp-sl-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.erp-sl-brand img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.18);
}

.erp-sl-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #059669;
}

.erp-sl-brand h1 {
  margin: 0.1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 700;
}

.erp-sl-loc {
  margin: 0.15rem 0 0;
  color: #64748b;
  font-size: 0.82rem;
}

.erp-sl-head h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
}

.erp-sl-head p {
  margin: 0.35rem 0 1.15rem;
  color: #64748b;
  font-size: 0.92rem;
}

.erp-sl-field {
  margin-bottom: 0.95rem;
}

.erp-sl-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.erp-sl-input {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #dbe4ee;
  background: #f8fafc;
  border-radius: 14px;
  padding: 0 0.75rem;
  min-height: 50px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.erp-sl-input:focus-within {
  background: #fff;
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

.erp-sl-icon {
  color: #64748b;
  display: inline-flex;
}

.erp-sl-input input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  min-width: 0;
  font-size: 1rem;
  color: #0f172a;
}

.erp-sl-toggle {
  border: 0;
  background: transparent;
  color: #64748b;
  padding: 0.25rem;
  display: inline-flex;
}

.erp-sl-submit {
  width: 100%;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 14px;
  min-height: 52px;
  background: linear-gradient(135deg, #059669, #0ea5e9);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 12px 24px -12px rgba(5, 150, 105, 0.7);
}

.erp-sl-submit.is-loading {
  opacity: 0.85;
}

.erp-sl-switch,
.erp-sl-alt,
.erp-sl-foot {
  text-align: center;
  margin: 1rem 0 0;
  color: #64748b;
  font-size: 0.86rem;
}

.erp-sl-switch a,
.erp-sl-alt {
  color: #047857;
  font-weight: 600;
  display: inline-block;
}

.erp-sl-choose {
  display: grid;
  gap: 0.7rem;
}

.erp-sl-pick {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 16px;
  padding: 0.8rem;
  color: inherit;
}

.erp-sl-pick-avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #047857;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}

.erp-sl-pick-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.erp-sl-pick-copy {
  flex: 1;
  min-width: 0;
}

.erp-sl-pick-copy strong,
.erp-sl-pick-copy small {
  display: block;
}

.erp-sl-pick-copy small {
  color: #64748b;
  margin-top: 0.15rem;
}

@media (min-width: 768px) {
  .erp-sl-card {
    padding: 2rem 2rem 1.5rem;
  }
}
