/* Login + registration only; scoped to avoid changing account/shop styling. */
.mgb-auth-layout{--auth-accent:#c99a35;--auth-accent-soft:#e8ca86;--auth-border:var(--line,#e4e7ec);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);width:min(1040px,100%);margin:0 auto;min-height:570px;overflow:hidden;border:1px solid var(--auth-border);border-radius:25px;background:var(--card,#fff);box-shadow:0 26px 70px rgba(15,23,42,.08)}
.mgb-auth-layout *{box-sizing:border-box}
.mgb-auth-visual{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:570px;padding:29px 33px;color:#fff;background:radial-gradient(circle at 85% 17%,rgba(217,183,112,.2),transparent 26%),radial-gradient(circle at 12% 79%,rgba(83,109,150,.27),transparent 38%),linear-gradient(136deg,#0c1320 0%,#182538 55%,#0c1523 100%);overflow:hidden}
.mgb-auth-visual:before,.mgb-auth-visual:after{content:"";position:absolute;pointer-events:none;border:1px solid rgba(229,199,127,.14);width:400px;height:400px;border-radius:50%}.mgb-auth-visual:before{right:-185px;top:70px}.mgb-auth-visual:after{right:-125px;top:128px}
.mgb-auth-visual-top,.mgb-auth-visual-bottom{z-index:1;display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:.17em;font-weight:750;color:#d9e0e9}.mgb-auth-visual-top .mgb-auth-star{color:#e1bd70;font-size:23px}.mgb-auth-visual-line{width:22px;height:1px;background:rgba(255,255,255,.35)}.mgb-auth-visual-bottom{justify-content:space-between;letter-spacing:.13em;color:#9ba9bb}
.mgb-auth-visual-body{position:relative;z-index:1;margin:30px 0 25px}.mgb-auth-round-mark{position:relative;display:grid;place-items:center;width:110px;height:110px;border:1px solid rgba(232,202,134,.55);border-radius:30px;transform:rotate(-7deg);margin-bottom:32px;background:linear-gradient(142deg,rgba(255,255,255,.12),rgba(255,255,255,.01));box-shadow:18px 18px 45px rgba(0,0,0,.18)}.mgb-auth-round-mark span{transform:rotate(7deg);color:#eed49b;font-size:35px;font-weight:850;letter-spacing:-.08em}.mgb-auth-round-mark i{position:absolute;inset:-10px;border:1px solid rgba(217,183,112,.17);border-radius:38px}
.mgb-auth-kicker{color:#e2bd72!important;font-size:10px!important;letter-spacing:.24em!important;font-weight:800!important;margin:0 0 15px!important}.mgb-auth-visual h2{color:#fff!important;font-size:clamp(30px,3.5vw,43px);line-height:1.13;letter-spacing:-.045em;margin:0 0 18px!important;font-weight:780}.mgb-auth-visual h2 em{font-style:normal;color:#e2bd72}.mgb-auth-visual-body>p:not(.mgb-auth-kicker){max-width:360px;line-height:1.8;color:#bec9d7;font-size:13px}
.mgb-auth-perks{display:flex;flex-wrap:wrap;gap:10px;margin-top:23px}.mgb-auth-perks span{font-size:10px;line-height:1.45;color:#f0e0b8;border:1px solid rgba(226,189,114,.27);border-radius:100px;padding:8px 10px;background:rgba(255,255,255,.04)}
.mgb-auth-form-side{padding:clamp(26px,4.3vw,56px);display:flex;flex-direction:column;justify-content:center;min-width:0}.mgb-auth-eyebrow{font-size:10px;letter-spacing:.2em;font-weight:800;color:#aa7d28;margin-bottom:10px}.mgb-auth-form-side h1{color:var(--text,#101828);font-size:clamp(28px,3vw,38px);letter-spacing:-.047em;line-height:1.2;margin:0 0 10px}.mgb-auth-lead{color:var(--muted,#667085);font-size:13px;line-height:1.75;margin:0 0 18px}.mgb-auth-tabs{display:flex;padding:4px;gap:4px;background:rgba(127,140,160,.08);border:1px solid var(--auth-border);border-radius:12px;margin-bottom:16px}.mgb-auth-tabs span,.mgb-auth-tabs a{display:flex;justify-content:center;align-items:center;flex:1;padding:11px 7px;border-radius:9px;font-size:12px;font-weight:800;text-align:center;color:var(--muted,#667085);text-decoration:none}.mgb-auth-tabs .active{color:var(--text,#101828);background:var(--card,#fff);box-shadow:0 3px 12px rgba(15,23,42,.07)}
.mgb-auth-form{gap:14px;margin-top:2px}.mgb-auth-form label{font-size:12px;gap:7px;color:var(--text,#101828)}.mgb-auth-form label small{font-size:10px;color:var(--muted,#667085);font-weight:500}.mgb-auth-form input{min-height:49px;border:1px solid var(--auth-border);border-radius:11px;padding:0 14px;background:var(--card,#fff);font-size:13px;color:var(--text,#101828);transition:border-color .16s,box-shadow .16s}.mgb-auth-form input:focus{border-color:var(--auth-accent);box-shadow:0 0 0 4px rgba(201,154,53,.12);outline:none}.mgb-auth-form input::placeholder{color:#98a2b3}.mgb-auth-password-control{display:flex;position:relative;align-items:center}.mgb-auth-password-control input{padding-right:80px}.mgb-auth-eye{position:absolute;right:7px;top:7px;bottom:7px;background:transparent;border:0;border-radius:7px;padding:0 9px;color:var(--muted,#667085);font:inherit;font-size:10px;font-weight:800;cursor:pointer}.mgb-auth-eye:hover{color:var(--auth-accent)}
.mgb-auth-submit{margin-top:4px;min-height:50px;width:100%;border-radius:11px;background:linear-gradient(125deg,#d8ae55,#b68732)!important;color:#131922!important;font-size:13px;font-weight:850;display:flex;justify-content:center;gap:10px;box-shadow:0 10px 20px rgba(181,135,50,.18);cursor:pointer}.mgb-auth-submit span{font-size:20px;line-height:1}.mgb-auth-submit:hover{filter:brightness(1.07);transform:translateY(-1px)}.mgb-auth-support{font-size:12px;text-align:right;margin:12px 0 0}.mgb-auth-support a,.mgb-auth-bottom-note a{color:#aa7d28;font-weight:800}.mgb-auth-bottom-note{font-size:12px;color:var(--muted,#667085);text-align:center;margin:19px 0 0}.mgb-auth-privacy{font-size:10px;color:var(--muted,#667085);text-align:center;margin:20px 0 0}.mgb-auth-fields-row{display:grid;grid-template-columns:1fr 1fr;gap:11px;min-width:0}.mgb-auth-fields-row label{min-width:0}.mgb-auth-fields-row input{min-width:0}.mgb-auth-hint{font-size:11px;color:var(--muted,#667085);padding:10px 12px;border:1px solid var(--auth-border);background:rgba(201,154,53,.06);border-radius:10px;line-height:1.55}.mgb-auth-hint span{color:var(--auth-accent);font-size:15px;padding-right:5px}.mgb-auth-form-side .account-alert{margin:4px 0 10px}
html[data-theme="dark"] .mgb-auth-layout{background:#111827;border-color:#2c394e;box-shadow:0 24px 70px rgba(0,0,0,.24)}html[data-theme="dark"] .mgb-auth-visual{border-right:1px solid #39445a}html[data-theme="dark"] .mgb-auth-tabs .active{background:#212d40;color:#fff}html[data-theme="dark"] .mgb-auth-eyebrow,html[data-theme="dark"] .mgb-auth-support a,html[data-theme="dark"] .mgb-auth-bottom-note a{color:#e2bd72}html[data-theme="dark"] .mgb-auth-form input{background:#0d131c;color:#f8fafc;border-color:#344054}
@media(max-width:900px){.mgb-auth-layout{grid-template-columns:.78fr 1fr}.mgb-auth-visual{padding:27px 24px}.mgb-auth-form-side{padding:30px 25px}.mgb-auth-fields-row{grid-template-columns:1fr}}
@media(max-width:700px){.account-main:has(.mgb-auth-layout){padding-top:20px}.mgb-auth-layout{grid-template-columns:1fr;border-radius:18px}.mgb-auth-visual{min-height:170px;padding:20px 24px}.mgb-auth-visual-body{margin:15px 0 0}.mgb-auth-round-mark,.mgb-auth-perks,.mgb-auth-visual-bottom,.mgb-auth-visual-body>p:not(.mgb-auth-kicker){display:none}.mgb-auth-kicker{margin:0 0 5px!important}.mgb-auth-visual h2{font-size:25px;margin:0!important}.mgb-auth-visual h2 br{display:none}.mgb-auth-form-side{padding:25px 21px 30px}.mgb-auth-fields-row{grid-template-columns:1fr}.mgb-auth-visual-top{font-size:9px}}
@media(prefers-reduced-motion:reduce){.mgb-auth-submit,.mgb-auth-form input{transition:none}}

/* Giriş və qeydiyyat: dekorativ MG nişanı əvəzinə saytda artıq olan rəsmi logo.
   Fayl: /assets/logo-mobile-gallery.png. Loqo şəklinə toxunulmur. */
html .mgb-auth-layout .mgb-auth-round-mark {
  width: 120px;
  height: 120px;
  border: 0;
  border-radius: 50%;
  transform: none;
  background: transparent url('/assets/logo-mobile-gallery.png?v=20261011-auth-own-logo-1') center center / contain no-repeat;
  box-shadow: none;
  margin-bottom: 24px;
}
html .mgb-auth-layout .mgb-auth-round-mark > span,
html .mgb-auth-layout .mgb-auth-round-mark > i {
  display: none;
}
@media (max-width: 700px) {
  html .mgb-auth-layout .mgb-auth-round-mark {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 0 12px;
  }
}

/* Light mode: left auth panel should be white. Dark mode keeps the original dark look. */
html:not([data-theme="dark"]) .mgb-auth-layout{
  background:#ffffff;
}
html:not([data-theme="dark"]) .mgb-auth-visual{
  color:#101828;
  background:
    radial-gradient(circle at 85% 17%, rgba(217,183,112,.10), transparent 26%),
    radial-gradient(circle at 12% 79%, rgba(83,109,150,.08), transparent 38%),
    linear-gradient(180deg,#ffffff 0%, #fbfcfe 100%);
  border-right:1px solid #e7ebf0;
}
html:not([data-theme="dark"]) .mgb-auth-visual:before,
html:not([data-theme="dark"]) .mgb-auth-visual:after{
  border-color:rgba(201,154,53,.18);
}
html:not([data-theme="dark"]) .mgb-auth-visual-top,
html:not([data-theme="dark"]) .mgb-auth-visual-bottom{
  color:#667085;
}
html:not([data-theme="dark"]) .mgb-auth-visual-top .mgb-auth-star{
  color:#d1a24b;
}
html:not([data-theme="dark"]) .mgb-auth-visual-line{
  background:rgba(16,24,40,.16);
}
html:not([data-theme="dark"]) .mgb-auth-kicker{
  color:#c08b2b !important;
}
html:not([data-theme="dark"]) .mgb-auth-visual h2{
  color:#101828 !important;
}
html:not([data-theme="dark"]) .mgb-auth-visual h2 em{
  color:#c08b2b;
}
html:not([data-theme="dark"]) .mgb-auth-visual-body>p:not(.mgb-auth-kicker){
  color:#667085;
}
html:not([data-theme="dark"]) .mgb-auth-perks span{
  color:#8a6320;
  border-color:rgba(201,154,53,.24);
  background:rgba(201,154,53,.06);
}

html[data-theme="dark"] .mgb-auth-visual{
  color:#fff;
  background:
    radial-gradient(circle at 85% 17%,rgba(217,183,112,.2),transparent 26%),
    radial-gradient(circle at 12% 79%,rgba(83,109,150,.27),transparent 38%),
    linear-gradient(136deg,#0c1320 0%,#182538 55%,#0c1523 100%);
}
html[data-theme="dark"] .mgb-auth-visual:before,
html[data-theme="dark"] .mgb-auth-visual:after{
  border-color:rgba(229,199,127,.14);
}
html[data-theme="dark"] .mgb-auth-visual-top,
html[data-theme="dark"] .mgb-auth-visual-bottom{
  color:#d9e0e9;
}
html[data-theme="dark"] .mgb-auth-visual-bottom{
  color:#9ba9bb;
}
html[data-theme="dark"] .mgb-auth-visual-line{
  background:rgba(255,255,255,.35);
}
html[data-theme="dark"] .mgb-auth-visual h2{
  color:#fff !important;
}
html[data-theme="dark"] .mgb-auth-visual h2 em,
html[data-theme="dark"] .mgb-auth-kicker{
  color:#e2bd72 !important;
}
html[data-theme="dark"] .mgb-auth-visual-body>p:not(.mgb-auth-kicker){
  color:#bec9d7;
}
html[data-theme="dark"] .mgb-auth-perks span{
  color:#f0e0b8;
  border-color:rgba(226,189,114,.27);
  background:rgba(255,255,255,.04);
}
