/* ============================================================================
   Medical Coding Command — Auth UI (login / sign-up) styles
   ============================================================================ */
.mcc-auth-overlay {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  background: radial-gradient(circle at 15% -10%, #fff8e7 0, transparent 40%),
              radial-gradient(circle at 100% 0%, #eaf3f6 0, transparent 45%),
              #24485a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  padding: 20px;
}
.mcc-auth-card {
  width: min(420px, 94vw);
  background: #fff; border-radius: 20px; padding: 34px 34px 26px;
  box-shadow: 0 28px 70px rgba(0,0,0,.35);
}
.mcc-auth-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: #24485a; font-size: 1.05rem; margin-bottom: 20px;
}
.mcc-auth-mark {
  width: 30px; height: 30px; border-radius: 9px; background: #f2b84b; color: #6a4e12;
  display: grid; place-items: center; font-weight: 900; font-size: .85rem;
}
.mcc-auth-card h2 { margin: 0 0 6px; color: #1f2933; font-size: 1.45rem; }
.mcc-auth-sub { margin: 0 0 22px; color: #65717f; font-size: .95rem; }

.mcc-auth-card form { display: grid; gap: 14px; }
.mcc-auth-card label {
  display: grid; gap: 6px; font-size: .82rem; font-weight: 700; color: #35414d;
}
.mcc-auth-card input {
  padding: 12px 14px; border: 1.5px solid #d7dee3; border-radius: 12px;
  font-size: 1rem; font-family: inherit; color: #1f2933; background: #fbfcfd;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.mcc-auth-card input:focus {
  outline: none; border-color: #568ea3; box-shadow: 0 0 0 3px rgba(86,142,163,.2); background: #fff;
}
.mcc-auth-btn {
  margin-top: 4px; padding: 13px 16px; border: 0; border-radius: 999px;
  background: #305f72; color: #fff; font-weight: 800; font-size: 1rem; cursor: pointer;
  transition: background .12s ease;
}
.mcc-auth-btn:hover { background: #24485a; }
.mcc-auth-btn:disabled { opacity: .6; cursor: default; }

.mcc-auth-msg {
  padding: 10px 12px; border-radius: 10px; font-size: .88rem; font-weight: 600;
}
.mcc-auth-msg.is-err { background: #fdecec; color: #b3261e; border: 1px solid #e6a6a6; }
.mcc-auth-msg.is-ok  { background: #e9f6ee; color: #1f7a4d; border: 1px solid #a9d9bd; }

.mcc-auth-switch { margin-top: 18px; text-align: center; font-size: .92rem; color: #65717f; }
.mcc-auth-link {
  background: none; border: 0; color: #305f72; font-weight: 800; cursor: pointer;
  font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; font-family: inherit;
}
.mcc-auth-legal { margin: 20px 0 0; text-align: center; font-size: .76rem; color: #9aa6ae; line-height: 1.5; }
.mcc-auth-legal a { color: #568ea3; }

/* "Saved to your account" cloud toast */
.mcc-sync-flash {
  position: fixed; bottom: 18px; right: 18px; z-index: 11000;
  background: #24485a; color: #eaf1f4; font-family: Inter, system-ui, sans-serif;
  font-size: .85rem; font-weight: 600; padding: 9px 15px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.mcc-sync-flash.is-visible { opacity: 1; transform: translateY(0); }
