/* ═══════════════════════════════════════════════
   MMT QR Pro — Auth v3.5.0 — "Prismatic Dark"
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=Outfit:wght@400;500;600;700&display=swap');

.mmt-auth-wrap {
  min-height: 100vh;
  background: #03030a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow: hidden;
}

/* Ambient orbs */
.mmt-auth-wrap::before {
  content: '';
  position: fixed;
  top: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,255,136,.05) 0%, transparent 65%);
  pointer-events: none;
}
.mmt-auth-wrap::after {
  content: '';
  position: fixed;
  bottom: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167,139,250,.05) 0%, transparent 65%);
  pointer-events: none;
}

.mmt-auth-box {
  background: rgba(7,7,15,0.9);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 32px;
  padding: 52px 44px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

/* Prismatic top edge */
.mmt-auth-box::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(0,255,136,.6) 30%,
    rgba(167,139,250,.6) 70%,
    transparent
  );
}

/* Grid pattern */
.mmt-auth-box::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.01) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  border-radius: 32px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-bottom: 36px;
  position: relative; z-index: 1;
}
.logo img {
  width: 44px; height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,255,136,.2);
}
.logo span {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #f0f0fa;
}

h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #f0f0fa;
  letter-spacing: -.5px;
  position: relative; z-index: 1;
}

.subtitle {
  color: #7070a0;
  font-size: 15px;
  margin-bottom: 36px;
  line-height: 1.6;
  position: relative; z-index: 1;
}

.auth-message {
  padding: 13px 16px;
  border-radius: 14px;
  margin-bottom: 22px;
  font-size: 14px;
  text-align: center;
  position: relative; z-index: 1;
}
.auth-message.success {
  background: rgba(0,255,136,.08);
  color: #00ff88;
  border: 1px solid rgba(0,255,136,.2);
}
.auth-message.error {
  background: rgba(251,113,133,.1);
  color: #fb7185;
  border: 1px solid rgba(251,113,133,.25);
}

.fg {
  margin-bottom: 20px;
  text-align: left;
  position: relative; z-index: 1;
}
.fg label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #5a5a80;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.fg input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(3,3,10,.7);
  border: 1px solid #1a1a28;
  border-radius: 14px;
  color: #f0f0fa;
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.fg input:focus {
  border-color: #00ff88;
  box-shadow: 0 0 0 3px rgba(0,255,136,.08);
}

.mmt-auth-btn {
  width: 100%;
  padding: 16px;
  background: #00ff88;
  color: #030303;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s cubic-bezier(.34,1.56,.64,1);
  font-family: 'Outfit', sans-serif;
  position: relative; z-index: 1;
  box-shadow: 0 4px 24px rgba(0,255,136,.25);
}
.mmt-auth-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 36px rgba(0,255,136,.35);
}

.auth-links {
  margin-top: 26px;
  font-size: 14px;
  color: #7070a0;
  position: relative; z-index: 1;
}
.auth-links a {
  color: #00ff88;
  text-decoration: none;
  font-weight: 600;
}
.auth-links a:hover { text-decoration: underline; }
