/* ============================================================
   MedBridge — role-based entry (login). Extends styles.css
   ============================================================ */

.mb-login {
  height: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--bg);
  overflow: auto;
}
@media (max-width: 920px) { .mb-login { grid-template-columns: 1fr; } }

/* ---- left brand panel ---- */
.lg-brand {
  position: relative;
  background:
    radial-gradient(120% 90% at 0% 0%, #16424E 0%, rgba(22,66,78,0) 55%),
    linear-gradient(160deg, #0E2A33 0%, #0B2027 60%, #0E2A33 100%);
  color: #DCEAEC;
  padding: 56px 56px 44px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}
@media (max-width: 920px) { .lg-brand { display: none; } }
.lg-brand::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0);
  background-size: 22px 22px; pointer-events: none;
}
.lg-mark {
  display: flex; align-items: center; gap: 12px; position: relative; z-index: 1;
}
.lg-mark .m {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(150deg, var(--primary), #15A0A8);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 16px rgba(14,124,134,.55);
}
.lg-mark b { font-size: 20px; font-weight: 700; letter-spacing: -.3px; color: #fff; }
.lg-mark span { font-size: 12px; color: #84A2AC; display: block; margin-top: -2px; }

.lg-hero { position: relative; z-index: 1; margin-top: auto; padding-top: 48px; }
.lg-hero h1 {
  font-size: 34px; line-height: 1.18; font-weight: 700; letter-spacing: -.6px;
  color: #fff; max-width: 460px;
}
.lg-hero h1 em { font-style: normal; color: #4FD1C5; }
.lg-hero p {
  font-size: 14px; line-height: 1.65; color: #A9C2C7; margin-top: 18px; max-width: 440px;
}

.lg-stats { display: flex; gap: 30px; margin-top: 30px; position: relative; z-index: 1; flex-wrap: wrap; }
.lg-stat .v { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.lg-stat .l { font-size: 11.5px; color: #84A2AC; margin-top: 3px; max-width: 130px; line-height: 1.4; }

.lg-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; position: relative; z-index: 1; }
.lg-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10);
  font-size: 11.5px; font-weight: 600; color: #C3D6D9;
}
.lg-chip svg { color: #4FD1C5; }

.lg-foot { position: relative; z-index: 1; margin-top: 30px; font-size: 11px; color: #5E7A82; }

/* ---- right entry panel ---- */
.lg-entry {
  padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 620px; width: 100%; margin: 0 auto;
}
.lg-entry-head { margin-bottom: 26px; }
.lg-entry-head .eyebrow {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); margin-bottom: 8px;
}
.lg-entry-head h2 { font-size: 25px; font-weight: 700; letter-spacing: -.4px; }
.lg-entry-head p { font-size: 13.5px; color: var(--text-3); margin-top: 6px; }

.lg-roles { display: flex; flex-direction: column; gap: 11px; }
.lg-role {
  display: flex; align-items: center; gap: 15px;
  padding: 15px 16px; border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--sh-sm); text-align: left;
  transition: border-color .14s, box-shadow .14s, transform .08s;
}
.lg-role:hover { border-color: var(--primary-mid); box-shadow: var(--sh-md); }
.lg-role:active { transform: translateY(1px); }
.lg-role .r-ic {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--primary);
  background: var(--primary-light);
}
.lg-role .r-main { flex: 1; min-width: 0; }
.lg-role .r-name { font-size: 14.5px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.lg-role .r-view { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.lg-role .r-persona {
  font-size: 11.5px; color: var(--text-2); margin-top: 6px;
  display: flex; align-items: center; gap: 7px;
}
.lg-role .r-persona .pdot { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; font-weight: 700; color: #fff; }
.lg-role .r-go { color: var(--text-3); flex-shrink: 0; transition: transform .14s, color .14s; }
.lg-role:hover .r-go { color: var(--primary); transform: translateX(3px); }

.lg-tag {
  font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 5px; background: var(--surface-3); color: var(--text-3);
}
.lg-tag.gov { background: var(--info-bg); color: var(--info); }
.lg-tag.clin { background: var(--primary-light); color: var(--primary-dark); }

.lg-note {
  margin-top: 22px; font-size: 11.5px; color: var(--text-3); line-height: 1.6;
  display: flex; align-items: flex-start; gap: 8px;
}
.lg-note svg { color: var(--primary); flex-shrink: 0; margin-top: 1px; }
