/* Match Deals practice auth screens — aligned to approved mockups */
.md-auth-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f1f5f9;
  min-height: 100vh;
  margin: 0;
  color: #0f172a;
}
.md-auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  position: relative;
}
.md-auth-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 26px 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.md-auth-card.md-success {
  border-color: #a7f3d0;
}
.md-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.md-brand img {
  max-width: 140px;
  height: auto;
}
.md-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.md-brand-bar {
  width: 5px;
  height: 28px;
  background: #2563eb;
  border-radius: 2px;
}
.md-brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}
.md-auth-title {
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 8px;
}
.md-auth-sub {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin: 0 0 18px;
  line-height: 1.45;
}
.md-auth-sub b { color: #0f172a; }
.md-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin: 0 0 5px;
}
.md-input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.md-hint {
  font-size: 12px;
  color: #94a3b8;
  margin: -6px 0 12px;
}
.md-row-link {
  display: flex;
  justify-content: flex-start;
  margin: -4px 0 14px;
}
.md-row-link a,
a.md-forgot {
  font-size: 13px;
  color: #0f172a !important;
  font-weight: 800 !important;
  text-decoration: none;
}
.md-btn {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 12px;
  font-weight: 800;
  font-size: 15px;
  color: #fff !important;
  background: linear-gradient(90deg, #ff9b44, #f97373);
  cursor: pointer;
  display: block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
.md-btn:hover, .md-btn:focus {
  color: #fff !important;
  opacity: 0.95;
  text-decoration: none;
}
.md-linkbtn {
  display: block;
  text-align: center;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px;
  font-weight: 700;
  font-size: 13.5px;
  color: #0f172a !important;
  text-decoration: none;
  background: #fff;
  margin-top: 12px;
  box-sizing: border-box;
  cursor: pointer;
}
.md-linkbtn:hover { text-decoration: none; color: #0f172a !important; }
.md-back {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
}
.md-back:hover { color: #0f172a; text-decoration: none; }
.md-pwd-wrap { position: relative; }
.md-pwd-wrap .md-input { padding-right: 40px; margin-bottom: 12px; }
.md-pwd-wrap .md-eye {
  position: absolute;
  right: 12px;
  top: 12px;
  cursor: pointer;
  color: #64748b;
}
.md-otp-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}
.md-otp-row input {
  width: 44px;
  height: 48px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.md-otp-single {
  letter-spacing: 0.35em;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
}
.md-resend {
  margin-top: 12px;
  font-size: 12.5px;
  color: #64748b;
  text-align: center;
}
.md-resend a, .md-resend .md-resend-link {
  color: #2563eb !important;
  font-weight: 700;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.md-msg {
  font-size: 13px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
}
.md-msg-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.md-msg-ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.md-practice-banner {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fdba74;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  text-align: center;
}
.md-success-icon {
  font-size: 36px;
  color: #047857;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1;
}
.md-form-group { margin: 0; }
