/* =====================================================================
   MALL MISR — VENDOR GATE (بوابة التجار)  |  brand-login.css  v6
   Luxury split login — green #0E9F6E / gold #D4AF37 / Cairo
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
  --mm-green: #0E9F6E;
  --mm-green-2: #0B7C56;
  --mm-green-deep: #073B2A;
  --mm-green-ink: #0A2E21;
  --mm-gold: #D4AF37;
  --mm-gold-2: #B8962E;
  --mm-ivory: #FAF9F4;
  --mm-ink: #17251F;
  --mm-line: #E9E5D8;
  --mm-arabesque: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1.2'%3E%3Cpath d='M42 6l10 26 26 10-26 10-10 26-10-26-26-10 26-10z'/%3E%3Ccircle cx='42' cy='42' r='14'/%3E%3Cpath d='M0 42h18M66 42h18M42 0v18M42 66v18'/%3E%3C/g%3E%3C/svg%3E");
}

html, body { min-height: 100vh; }
body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif !important;
  background: var(--mm-ivory) !important;
  color: var(--mm-ink) !important;
  letter-spacing: 0 !important;
}
::selection { background: var(--mm-gold); color: #1C1605; }

/* ===== التخطيط المقسوم ===== */
.main { background: var(--mm-ivory) !important; }
.auth-wrapper {
  min-height: 100vh !important;
  background: var(--mm-ivory) !important;
}
.auth-wrapper-left {
  background:
    var(--mm-arabesque),
    linear-gradient(155deg, #0E9F6E 0%, #0B7C56 45%, #073B2A 100%) !important;
  background-size: 84px 84px, cover !important;
  border-radius: 0 !important;
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.auth-wrapper-left::before { background: none !important; }
.auth-wrapper-left::after {
  content: "";
  position: absolute;
  top: 26px; bottom: 26px;
  inset-inline: 26px;
  border: 1.5px solid rgba(212, 175, 55, .35);
  border-radius: 20px;
  pointer-events: none;
}
.auth-left-cont {
  text-align: center !important;
  padding: 48px 40px !important;
  position: relative;
  z-index: 2;
}
.auth-left-cont a.mb-5 { margin-bottom: 28px !important; justify-content: center; }
.auth-left-cont img { filter: brightness(1.06) drop-shadow(0 10px 26px rgba(0,0,0,.35)); }
.auth-left-cont .title {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  line-height: 1.9 !important;
  margin-top: 26px !important;
}
.auth-left-cont .title .c1 {
  color: var(--mm-gold) !important;
  font-weight: 900 !important;
}
/* شارات الثقة تحت العنوان */
.auth-left-cont .mmv-trust {
  margin-top: 30px;
  display: grid;
  gap: 12px;
  text-align: start;
}
.auth-left-cont .mmv-trust-item {
  color: rgba(255, 255, 255, .92);
  font-weight: 600;
  font-size: 14.5px;
  padding-inline-start: 34px;
  position: relative;
  line-height: 1.8;
}
.auth-left-cont .mmv-trust-item::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: rgba(212, 175, 55, .18);
  border: 1px solid rgba(212, 175, 55, .5);
  color: var(--mm-gold);
  font-weight: 900;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

/* ===== الجهة اليمنى (الفورم) ===== */
.auth-wrapper-right {
  background: var(--mm-ivory) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-wrapper-form {
  width: 100%;
  max-width: 440px;
  background: var(--mm-white) !important;
  border: 1px solid var(--mm-line);
  border-radius: 24px !important;
  box-shadow: 0 24px 60px -22px rgba(23, 37, 31, .22) !important;
  padding: 40px 34px !important;
  margin: 32px 18px;
}
.auth-wrapper-form::before { content: none !important; }
.auth-wrapper-form .display-4 {
  color: var(--mm-green-ink) !important;
  font-weight: 900 !important;
  font-size: 30px !important;
}
.auth-wrapper-form .h4 {
  color: #5F6E66 !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
}
.input-label { font-weight: 700 !important; color: var(--mm-ink) !important; }
.form-control, .form-control-lg {
  border-radius: 13px !important;
  border: 1.5px solid var(--mm-line) !important;
  min-height: 50px;
  font-size: 14.5px !important;
  color: var(--mm-ink) !important;
  background: #fff !important;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-control:focus {
  border-color: var(--mm-green) !important;
  box-shadow: 0 0 0 4px rgba(14, 159, 110, .12) !important;
}
.input-group-merge .input-group-text {
  background: #fff !important;
  border: 1.5px solid var(--mm-line) !important;
  color: #9AA6A0 !important;
}
.text--primary { color: var(--mm-green-2) !important; font-weight: 700; }
.btn-primary, button[type="submit"], .btn.btn-primary.btn-block {
  background: linear-gradient(135deg, #0E9F6E 0%, #0A7A55 100%) !important;
  border: 0 !important;
  border-radius: 14px !important;
  min-height: 52px;
  font-weight: 800 !important;
  font-size: 16px !important;
  color: #fff !important;
  box-shadow: 0 14px 30px -10px rgba(14, 159, 110, .55) !important;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-2px); color: #fff !important; }
.form-check-input:checked { background-color: var(--mm-green) !important; border-color: var(--mm-green) !important; }
a { color: var(--mm-gold-2) !important; }
a:hover { color: var(--mm-green-2) !important; }
img[src*="captcha"] { border-radius: 12px !important; border: 1px solid var(--mm-line) !important; }

/* شعار مول مصر — اللوجو الرسمي */
.mmv-brand-word {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
  font-size: 26px;
}
.mmv-brand-word .dot { color: var(--mm-gold); }

/* ===== موبايل ===== */
@media (max-width: 991px) {
  .auth-wrapper-left { min-height: 34vh; }
  .auth-wrapper-left::after { inset: 14px; }
  .auth-left-cont { padding: 34px 22px !important; }
  .auth-left-cont .title { font-size: 18px !important; }
  .auth-left-cont .mmv-trust { display: none; }
  .auth-wrapper-form { padding: 28px 20px !important; margin: 20px 12px; }
}

/* =====================================================================
   MALL MISR — SUPER ADMIN GATE  |  v7  (scoped: .mm-admin-auth)
   Full-bleed deep green · glass form · floating icons — NO white card
   ===================================================================== */
.auth-wrapper.mm-admin-auth {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background:
    var(--mm-arabesque),
    radial-gradient(900px 480px at 12% -8%, rgba(212,175,55,.16), transparent 55%),
    radial-gradient(1100px 600px at 105% 110%, rgba(14,159,110,.35), transparent 60%),
    linear-gradient(160deg, #0B4A34 0%, #073B2A 45%, #031E15 100%) !important;
  background-size: 84px 84px, auto, auto, cover !important;
  position: relative;
  overflow: hidden;
}
.auth-wrapper.mm-admin-auth .auth-wrapper-left { display: none !important; }
.auth-wrapper.mm-admin-auth .auth-wrapper-right {
  background: transparent !important;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.auth-wrapper.mm-admin-auth .auth-wrapper-form {
  position: relative; z-index: 3;
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(212,175,55,.32) !important;
  border-radius: 28px !important;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 44px 100px -34px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.09) !important;
  padding: 42px 38px !important;
  margin: 88px 18px;
}
.mm-admin-auth .mm-admin-brand { text-align: center; margin-bottom: 18px; user-select: none; }
.mm-admin-auth .mm-admin-brand img {
  width: 185px;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.45));
}
.mm-admin-auth .auth-wrapper-form .display-4 {
  color: #fff !important; text-align: center; font-weight: 900 !important; font-size: 26px !important;
}
.mm-admin-auth .auth-wrapper-form .h3,
.mm-admin-auth .auth-wrapper-form .text-body {
  color: rgba(255,255,255,.62) !important; text-align: center; font-size: 13.5px !important;
}
.mm-admin-auth .form-label { color: rgba(255,255,255,.82) !important; font-weight: 600 !important; }
.mm-admin-auth .form-control, .mm-admin-auth .form-control-lg {
  background: rgba(255,255,255,.07) !important;
  border: 1.5px solid rgba(255,255,255,.16) !important;
  color: #fff !important;
  border-radius: 14px !important;
  transition: all .18s ease;
}
.mm-admin-auth .form-control::placeholder { color: rgba(255,255,255,.35) !important; }
.mm-admin-auth .form-control:focus {
  background: rgba(255,255,255,.1) !important;
  border-color: var(--mm-gold) !important;
  box-shadow: 0 0 0 4px rgba(212,175,55,.18) !important;
  color: #fff !important;
}
.mm-admin-auth .changePassTarget a { color: rgba(255,255,255,.55) !important; }
.mm-admin-auth .changePassTarget a:hover { color: var(--mm-gold) !important; }
.mm-admin-auth label[for="termsCheckbox"] { color: rgba(255,255,255,.75) !important; }
.mm-admin-auth .form-check-input { background-color: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); }
.mm-admin-auth .form-check-input:checked { background-color: var(--mm-gold) !important; border-color: var(--mm-gold) !important; }
.auth-wrapper.mm-admin-auth .btn-primary {
  background: linear-gradient(135deg, #EFCF5A 0%, #D4AF37 55%, #B8962E 100%) !important;
  color: #201904 !important;
  border-radius: 15px !important;
  box-shadow: 0 18px 40px -12px rgba(212,175,55,.5) !important;
  font-weight: 900 !important;
}
.auth-wrapper.mm-admin-auth .btn-primary:hover {
  transform: translateY(-2px); filter: brightness(1.05); color: #201904 !important;
}
.mm-admin-auth img[src*="captcha"] { border-radius: 12px !important; }
.mm-admin-auth a { color: var(--mm-gold) !important; }

/* الأيقونات العايمة حوالين الفورم */
.mm-floats { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.mmf {
  position: absolute;
  width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.55);
  animation: mmFloat 5.5s ease-in-out infinite;
}
.mmf svg { width: 28px; height: 28px; }
.mmf.mm-gold { border-color: rgba(212,175,55,.45); background: rgba(212,175,55,.12); }
.mmf.mm-green { border-color: rgba(14,159,110,.5); background: rgba(14,159,110,.14); }
.mmf:nth-child(odd) { animation-duration: 6.5s; animation-delay: -2s; }
.mmf:nth-child(3n) { animation-duration: 7.5s; animation-delay: -4s; }
@keyframes mmFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}
.mmf-1 { top: 15%; left: 13%; }
.mmf-2 { top: 22%; right: 11%; }
.mmf-3 { top: 52%; left: 7%; }
.mmf-4 { bottom: 18%; right: 13%; }
.mmf-5 { bottom: 11%; left: 19%; }
.mmf-6 { top: 7%; right: 33%; }
.mmf-7 { top: 46%; right: 6%; }
.mmf-8 { bottom: 26%; left: 12%; }
@media (max-width: 991px) {
  .mmf-3, .mmf-5, .mmf-6, .mmf-7, .mmf-8 { display: none; }
  .mmf { width: 46px; height: 46px; border-radius: 14px; }
  .mmf svg { width: 21px; height: 21px; }
  .mmf-1 { top: 9%; left: 5%; }
  .mmf-2 { top: 13%; right: 5%; }
  .mmf-4 { bottom: 9%; right: 7%; }
  .auth-wrapper.mm-admin-auth .auth-wrapper-form { margin: 60px 16px; padding: 30px 20px !important; }
}
@media (prefers-reduced-motion: reduce) { .mmf { animation: none !important; } }

/* =====================================================================
   MALL MISR — VENDOR GATE REDESIGN  |  v8  (scoped: .mm-vendor-auth)
   Full-bleed deep green · centered glass card · floating icons
   marketing copy preserved as gold trust chips
   ===================================================================== */
.auth-wrapper.mm-vendor-auth {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background:
    var(--mm-arabesque),
    radial-gradient(900px 480px at 12% -8%, rgba(212,175,55,.16), transparent 55%),
    radial-gradient(1100px 600px at 105% 110%, rgba(14,159,110,.35), transparent 60%),
    linear-gradient(160deg, #0B4A34 0%, #073B2A 45%, #031E15 100%) !important;
  background-size: 84px 84px, auto, auto, cover !important;
  position: relative;
  overflow: hidden;
}
.auth-wrapper.mm-vendor-auth .auth-wrapper-left { display: none !important; }
.auth-wrapper.mm-vendor-auth .auth-wrapper-right {
  background: transparent !important;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.auth-wrapper.mm-vendor-auth .auth-wrapper-form {
  position: relative; z-index: 3;
  width: 100%;
  max-width: 620px;
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(212,175,55,.32) !important;
  border-radius: 28px !important;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 44px 100px -34px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.09) !important;
  padding: 38px 40px !important;
  margin: 84px 18px;
}
.mm-vendor-auth .mm-admin-brand { text-align: center; margin-bottom: 14px; user-select: none; }
.mm-vendor-auth .mm-admin-brand img {
  width: 170px;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.45));
}
.mm-vendor-auth .mmv-title {
  color: #fff !important;
  text-align: center;
  font-weight: 900 !important;
  font-size: 24px !important;
  margin: 6px 0 2px;
  letter-spacing: 0 !important;
}
.mm-vendor-auth .mmv-sub {
  color: rgba(233,198,75,.95) !important;
  text-align: center;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  margin-bottom: 16px;
}
.mm-vendor-auth .mmv-trust {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin: 0 0 18px;
}
.mm-vendor-auth .mmv-trust-item {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.88) !important;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 7px 13px;
  display: inline-flex; align-items: center; gap: 7px;
  line-height: 1.4;
}
.mm-vendor-auth .mmv-trust-item::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mm-gold);
  box-shadow: 0 0 9px rgba(212,175,55,.85);
  flex: 0 0 auto;
}
.mm-vendor-auth .mmv-divider {
  height: 1px; margin: 0 0 20px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.4), transparent);
}
.mm-vendor-auth .auth-wrapper-form .display-4 {
  color: #fff !important; text-align: center; font-weight: 900 !important; font-size: 23px !important;
}
.mm-vendor-auth .auth-wrapper-form .h4 {
  color: rgba(255,255,255,.62) !important; text-align: center; font-size: 13.5px !important; font-weight: 500 !important;
}
.mm-vendor-auth .input-label { color: rgba(255,255,255,.82) !important; font-weight: 600 !important; width: 100%; }
.mm-vendor-auth .form-control, .mm-vendor-auth .form-control-lg {
  background: rgba(255,255,255,.07) !important;
  border: 1.5px solid rgba(255,255,255,.16) !important;
  color: #fff !important;
  border-radius: 14px !important;
  transition: all .18s ease;
}
.mm-vendor-auth .form-control::placeholder { color: rgba(255,255,255,.35) !important; }
.mm-vendor-auth .form-control:focus {
  background: rgba(255,255,255,.1) !important;
  border-color: var(--mm-gold) !important;
  box-shadow: 0 0 0 4px rgba(212,175,55,.18) !important;
  color: #fff !important;
}
.mm-vendor-auth .input-group-merge .form-control { border-start-end-radius: 0 !important; border-end-end-radius: 0 !important; }
.mm-vendor-auth .input-group-append .input-group-text {
  background: rgba(255,255,255,.07) !important;
  border: 1.5px solid rgba(255,255,255,.16) !important;
  border-start-start-radius: 0 !important; border-end-start-radius: 0 !important;
  color: rgba(255,255,255,.6) !important;
}
.mm-vendor-auth .input-group-text:hover { color: var(--mm-gold) !important; }
.mm-vendor-auth label[for="termsCheckbox"] { color: rgba(255,255,255,.75) !important; }
.mm-vendor-auth .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--mm-gold) !important; border-color: var(--mm-gold) !important;
}
.mm-vendor-auth .text--primary { color: var(--mm-gold) !important; font-weight: 700; }
.mm-vendor-auth .text--primary:hover { color: #EACB62 !important; }
.auth-wrapper.mm-vendor-auth .btn--primary {
  background: linear-gradient(135deg, #EFCF5A 0%, #D4AF37 55%, #B8962E 100%) !important;
  color: #201904 !important;
  border: none;
  border-radius: 15px !important;
  box-shadow: 0 18px 40px -12px rgba(212,175,55,.5) !important;
  font-weight: 900 !important;
  font-size: 15.5px;
  padding: 11px 22px;
  transition: all .18s ease;
}
.auth-wrapper.mm-vendor-auth .btn--primary:hover {
  transform: translateY(-2px); filter: brightness(1.06); color: #201904 !important;
}
.mm-vendor-auth img[src*="captcha"] { border-radius: 12px !important; }
.mm-vendor-auth .default-captcha-container input { direction: ltr; text-align: center; }
.mm-vendor-auth a { color: var(--mm-gold) !important; }
.mm-vendor-auth .card-footer {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: rgba(255,255,255,.8) !important;
  border-radius: 14px !important;
}
@media (max-width: 991px) {
  .auth-wrapper.mm-vendor-auth .auth-wrapper-form { margin: 60px 16px; padding: 30px 20px !important; }
  .mm-vendor-auth .mmv-trust-item { font-size: 10.5px; padding: 6px 10px; }
}
