/* Auth pages — dark + gold to match Elementor landing kit */
:root {
  --mm-gold: #ffbe0b;
  --mm-bg: #05050a;
  --mm-panel: #12121c;
  --mm-line: rgba(255, 190, 11, 0.22);
  --mm-muted: #a7a7cd;
  --mm-text: #ffffff;
  --AppColor: #ffbe0b !important;
  --oColor: rgba(255, 190, 11, 0.55) !important;
  --wbColor: #12121c !important;
}

body.elementor-default,
body {
  background: var(--mm-bg) !important;
  color: var(--mm-text);
}

.mm-auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 48px;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(255, 190, 11, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(43, 43, 107, 0.35), transparent 50%),
    #05050a;
}

.mm-auth-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 36px 32px 40px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 190, 11, 0.18) !important;
  background: linear-gradient(160deg, #161622 0%, #0e0e16 100%) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55) !important;
  color: var(--mm-text) !important;
  animation: mmAuthIn 0.55s ease both;
}

#ulogin.mm-auth-card,
#usignup.mm-auth-card,
#uforgot_password.mm-auth-card,
.tpik.mm-auth-card,
.tpikk.mm-auth-card {
  background: linear-gradient(160deg, #161622 0%, #0e0e16 100%) !important;
}

@keyframes mmAuthIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.mm-auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 22px;
  gap: 10px;
}

.mm-auth-brand img {
  max-height: 52px;
  width: auto;
}

.mm-auth-brand .mm-auth-eyebrow {
  margin: 0;
  color: var(--mm-gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mm-auth-card h3,
.mm-auth-card h4,
.mm-auth-card .ttc,
.mm-auth-card .ttd,
.mm-auth-card .tfs,
.mm-auth-card .fw-bold,
.mm-auth-card label,
.mm-auth-card p,
.mm-auth-card ih,
.mm-auth-card font {
  color: var(--mm-text) !important;
}

.mm-auth-card h3 {
  font-size: 34px;
  margin-bottom: 6px;
}

.mm-auth-card h4 {
  color: var(--mm-muted) !important;
  font-size: 19px;
  font-weight: 500 !important;
}

.mm-auth-card .tfs,
.mm-auth-card .ttc,
.mm-auth-card .ttd {
  font-size: 15px !important;
}

.mm-auth-card .form-control,
.mm-auth-card .iform {
  font-size: 16px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.mm-auth-card .input-group-text i {
  font-size: 18px;
}

.mm-auth-card a,
.mm-auth-card .wrapfp,
.mm-auth-card .wrapsup,
.mm-auth-card .wrapcs {
  color: var(--mm-gold) !important;
  text-decoration: none;
}

.mm-auth-card a:hover {
  color: #ffd45a !important;
}

.mm-auth-card .card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.mm-auth-card .input-group-text,
.mm-auth-card .iform,
.mm-auth-card .form-control,
.mm-auth-card select.form-control {
  background: #0a0a12 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.mm-auth-card .form-control::placeholder {
  color: rgba(167, 167, 205, 0.75) !important;
}

.mm-auth-card .input-group-text i,
.mm-auth-card .text-muted {
  color: var(--mm-gold) !important;
}

.mm-auth-card .bprimary,
.mm-auth-card .btn-primary {
  background: linear-gradient(135deg, #ffbe0b 0%, #e6a800 100%) !important;
  border: 0 !important;
  color: #111 !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 15px 18px !important;
  font-size: 18px !important;
  box-shadow: 0 8px 24px rgba(255, 190, 11, 0.28) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mm-auth-card .bprimary:hover,
.mm-auth-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 190, 11, 0.4) !important;
  color: #111 !important;
}

.mm-auth-card .bi-arrow-left-square {
  color: var(--mm-gold) !important;
}

.mm-auth-card .cCaptcha {
  overflow: visible;
}
.mm-auth-card .cCaptcha > div {
  width: 200px;
  min-width: 200px;
  height: 60px;
  overflow: hidden;
}
.mm-auth-card .cCaptcha img {
  width: 200px !important;
  height: 60px !important;
  max-width: none !important;
}
.mm-auth-card .cCaptcha input[type=text] {
  border-color: rgba(255, 190, 11, 0.35) !important;
  color: #fff !important;
  background: #0a0a12 !important;
}

.mm-auth-card .form-check-input {
  background-color: #0a0a12;
  border-color: rgba(255, 190, 11, 0.45);
}

.mm-auth-card .form-check-input:checked {
  background-color: var(--mm-gold);
  border-color: var(--mm-gold);
}

.mm-auth-foot {
  margin-top: 18px;
  text-align: center;
  color: var(--mm-muted);
  font-size: 15px;
}

.mm-auth-foot a {
  color: var(--mm-gold) !important;
}

.mm-auth-stage {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(320px, 1.15fr);
  gap: 36px;
  align-items: center;
}
.mm-auth-stage .mm-auth-card {
  max-width: none;
}
.mm-auth-aside h2 {
  margin: 18px 0 10px;
  color: #fff;
  font-size: 40px;
  line-height: 1.12;
  font-weight: 700;
}
.mm-auth-aside p {
  margin: 0;
  color: var(--mm-muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 360px;
}
.mm-auth-logo img {
  height: 46px;
  width: auto;
  display: block;
}
.mm-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mm-auth-fields .ttd,
.mm-auth-fields .lh {
  color: var(--mm-muted) !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.mm-auth-card .input-group {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a12;
}
.mm-auth-card .input-group:focus-within {
  border-color: rgba(255, 190, 11, 0.55);
}
.mm-auth-card .input-group .form-control,
.mm-auth-card .input-group .input-group-text,
.mm-auth-card .input-group select.form-control,
.mm-auth-card .input-group textarea.form-control {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.mm-auth-card textarea.form-control {
  min-height: 140px;
  line-height: 1.55;
  resize: none;
}
.mm-auth-card .alert {
  border: 0;
  border-radius: 12px;
  margin-bottom: 14px;
}
.mm-auth-card .alert-danger {
  background: rgba(255, 90, 90, 0.12) !important;
  color: #ffb4b4 !important;
}
.mm-auth-card .alert-info {
  background: rgba(255, 190, 11, 0.12) !important;
  color: #ffbe0b !important;
}
.mm-auth-note {
  text-align: center;
  padding: 16px 14px;
  border-radius: 12px;
  background: rgba(255, 190, 11, 0.12);
  color: #fff;
  line-height: 1.5;
}
.mm-auth-card h3 {
  font-size: 28px;
}
.mm-auth-card h4 {
  font-size: 15px !important;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .mm-auth-stage {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .mm-auth-aside h2 {
    font-size: 28px;
  }
}
@media (max-width: 640px) {
  .mm-auth-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .mm-auth-card {
    padding: 22px 16px 28px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-auth-card { animation: none; }
}
