/* =========================================================
   QRAVM V7.21 - HESAP / GİRİŞ / ÜYELİK TEMA UYUMU
   Mantık değil yalnız yeni QRAVM tema katmanı.
   ========================================================= */
:root{
  --qa-red:#f3133e;--qa-red2:#ff3153;--qa-navy:#0d141c;--qa-navy2:#122235;
  --qa-blue:#126bff;--qa-bg:#f4f7fb;--qa-card:#fff;--qa-line:#e3e9f0;--qa-text:#101828;--qa-muted:#718096;
}
html,body{max-width:100%;overflow-x:hidden}
.qauth-body,.customer-account-body{margin:0;background:var(--qa-bg)!important;color:var(--qa-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.qauth-body .qlegend-header,.customer-account-body .qlegend-header{position:sticky;top:0;z-index:9000}
.qauth-body .qlegend-nav-inner,.customer-account-body .qlegend-nav-inner{max-width:1180px!important}

/* LOGIN */
.qauth-shell{width:min(1180px,calc(100% - 32px))!important;min-height:calc(100vh - 76px)!important;margin:0 auto!important;padding:42px 0 54px!important;display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(420px,.75fr)!important;gap:18px!important;align-items:stretch!important}
.qauth-intro{min-height:560px!important;padding:54px!important;box-sizing:border-box!important;border-radius:26px!important;background:radial-gradient(circle at 82% 15%,rgba(243,19,62,.22),transparent 28%),radial-gradient(circle at 8% 88%,rgba(18,107,255,.18),transparent 32%),linear-gradient(145deg,#0b1724,#132940)!important;color:#fff!important;display:flex!important;flex-direction:column!important;justify-content:center!important;overflow:hidden!important;position:relative!important}
.qauth-intro:after{content:"Q";position:absolute;right:-48px;bottom:-125px;font-size:360px;font-weight:950;line-height:1;color:rgba(255,255,255,.035);pointer-events:none}
.qauth-intro .eyebrow{color:#59e1cf!important;font-size:10px!important;letter-spacing:1.5px!important;font-weight:950!important}
.qauth-intro h1{margin:14px 0 18px!important;font-size:58px!important;line-height:.98!important;letter-spacing:-2px!important;color:#fff!important}
.qauth-intro h1 em{font-style:normal!important;color:#ff3557!important}
.qauth-intro p{max-width:580px!important;margin:0!important;color:#c8d5e3!important;font-size:15px!important;line-height:1.7!important}
.qauth-benefits{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:30px!important}
.qauth-benefits span{padding:13px 15px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:12px!important;background:rgba(255,255,255,.06)!important;color:#fff!important;font-size:12px!important;font-weight:800!important}
.qauth-card{align-self:center!important;padding:32px!important;border:1px solid var(--qa-line)!important;border-radius:26px!important;background:#fff!important;box-shadow:0 22px 60px rgba(13,32,53,.10)!important}
.qauth-tabs{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:4px!important;padding:5px!important;margin-bottom:28px!important;background:#f0f3f6!important;border-radius:13px!important}
.qauth-tabs a{min-height:42px!important;padding:0 10px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:9px!important;color:#576579!important;font-size:11px!important;font-weight:900!important;text-decoration:none!important}
.qauth-tabs a.active{background:#fff!important;color:var(--qa-red)!important;box-shadow:0 4px 13px rgba(22,38,56,.07)!important}
.qauth-card>.eyebrow,.qauth-register-head>.eyebrow{color:var(--qa-red)!important;font-size:9px!important;font-weight:950!important;letter-spacing:1.4px!important}
.qauth-card h2{margin:7px 0 6px!important;font-size:30px!important;letter-spacing:-.7px!important}
.qauth-card p.muted{margin:0 0 22px!important;color:var(--qa-muted)!important;font-size:12px!important;line-height:1.55!important}
.qauth-login-form{gap:14px!important}
.qauth-login-form label,.qauth-form label{font-size:10px!important;font-weight:850!important;color:#354357!important}
.qauth-login-form input,.qauth-login-form select,.qauth-form input:not([type=checkbox]),.qauth-form select,.qauth-form textarea{box-sizing:border-box!important;width:100%!important;min-height:46px!important;margin-top:6px!important;padding:10px 12px!important;border:1px solid #dbe3eb!important;border-radius:11px!important;background:#fff!important;color:#101828!important;outline:0!important}
.qauth-login-form input:focus,.qauth-form input:focus,.qauth-form select:focus,.qauth-form textarea:focus{border-color:#ff6a82!important;box-shadow:0 0 0 3px rgba(243,19,62,.08)!important}
.password-field{position:relative!important}.password-field input{padding-right:70px!important}.password-field button{position:absolute!important;right:7px!important;top:12px!important;height:34px!important;border:0!important;background:transparent!important;color:var(--qa-blue)!important;font-weight:850!important;cursor:pointer!important}
.qauth-login-submit,.qauth-form>.btn.primary{min-height:48px!important;border:0!important;border-radius:11px!important;background:linear-gradient(135deg,var(--qa-red),var(--qa-red2))!important;color:#fff!important;box-shadow:0 12px 24px rgba(243,19,62,.18)!important;font-weight:950!important}
.qauth-links{display:flex!important;justify-content:space-between!important;gap:12px!important;margin-top:18px!important}.qauth-links a{color:#126bff!important;font-size:10px!important;font-weight:850!important}

/* REGISTER */
.qauth-register-shell{width:min(1180px,calc(100% - 32px))!important;margin:0 auto!important;padding:34px 0 56px!important}
.qauth-register-head{text-align:left!important;margin:0 0 16px!important;padding:28px 32px!important;border-radius:24px!important;background:linear-gradient(135deg,#0c1826,#142d45)!important;color:#fff!important}
.qauth-register-head h1{margin:7px 0 5px!important;font-size:36px!important;color:#fff!important;letter-spacing:-1px!important}.qauth-register-head p{margin:0 0 18px!important;color:#bbcad8!important;font-size:12px!important}
.qauth-register-head .qauth-tabs{max-width:720px!important;margin:0!important}.qauth-register-head .qauth-tabs a.active{color:var(--qa-red)!important}
.qauth-register-card{padding:28px 30px!important;border:1px solid var(--qa-line)!important;border-radius:24px!important;background:#fff!important;box-shadow:0 18px 50px rgba(21,43,66,.07)!important}
.qauth-role-summary{display:flex!important;align-items:center!important;gap:14px!important;padding:0 0 20px!important;margin-bottom:20px!important;border-bottom:1px solid #edf1f5!important}
.qauth-role-summary>span{width:50px;height:50px;display:grid;place-items:center;border-radius:14px;background:#fff0f3;font-size:24px!important}.qauth-role-summary h2{margin:0 0 4px!important;font-size:23px!important}.qauth-role-summary p{margin:0!important;color:var(--qa-muted)!important;font-size:11px!important}
.qauth-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important}.qauth-form .span-2{grid-column:1/-1!important}
.qauth-address-title{display:flex!important;align-items:center!important;gap:10px!important;margin-top:8px!important;padding:13px 14px!important;border-radius:12px!important;background:#f7f9fc!important;border:1px solid #e5ebf1!important}
.qauth-address-title>span{font-size:20px!important}.qauth-address-title b,.qauth-address-title small{display:block!important}.qauth-address-title small{margin-top:2px!important;color:#8290a2!important;font-size:9px!important}
.location-detect-card{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:12px!important;padding:14px!important;border:1px solid #dce8f5!important;border-radius:13px!important;background:#f6fbff!important}
.location-detect-card>span{font-size:20px!important}.location-detect-card b,.location-detect-card small{display:block!important}.location-detect-card small{font-size:9px!important;color:#718096!important}.location-detect-card .btn{min-height:38px!important;padding:0 14px!important}
.qauth-address-details{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:12px!important}
.qauth-form label.check{display:flex!important;align-items:flex-start!important;gap:9px!important;padding:10px 12px!important;border:1px solid #e4eaf0!important;border-radius:10px!important;background:#fafbfd!important}
.qauth-form label.check input[type=checkbox]{width:17px!important;height:17px!important;min-height:17px!important;flex:0 0 17px!important;margin:1px 0 0!important;accent-color:var(--qa-red)!important}
.qauth-form label.check span{font-size:9px!important;line-height:1.4!important}.qauth-form label.check small{display:block!important;margin-top:2px!important;color:#7c899b!important}

/* ACCOUNT */
.customer-account-body{padding-top:0!important}
.customer-account-wrap{width:min(1180px,calc(100% - 32px))!important;margin:0 auto!important;padding:24px 0 56px!important}
.customer-account-body .premium-account-hero.qcustomer-hero{border-radius:24px!important;overflow:hidden!important;background:radial-gradient(circle at 90% 10%,rgba(243,19,62,.18),transparent 26%),linear-gradient(135deg,#0c1927,#123657)!important;box-shadow:0 18px 46px rgba(17,36,56,.12)!important}
.customer-account-body .qcustomer-quick-nav a,.customer-account-body .qcustomer-stats article,.customer-account-body .panel{border-radius:16px!important;border-color:#e3e9ef!important;box-shadow:0 7px 22px rgba(18,39,60,.04)!important}
.customer-account-body .qcustomer-quick-nav a:hover{transform:translateY(-1px)!important;border-color:#ccd9e7!important}
.customer-account-body .qcustomer-section-intro span,.customer-account-body .panel-kicker{color:var(--qa-red)!important}
.customer-account-body .btn.primary{background:linear-gradient(135deg,var(--qa-red),var(--qa-red2))!important;border-color:transparent!important}
.customer-account-body .qcustomer-order-card{border-left-color:var(--qa-red)!important}
.customer-account-body .qcustomer-status{border-radius:999px!important}

.qauth-body .qsite-premium-footer,.customer-account-body .qsite-premium-footer{margin-top:0!important}
.qauth-body .qsite-pwa-install[hidden],.customer-account-body .qsite-pwa-install[hidden]{display:none!important}
.qauth-body .qsite-footer-rail,.customer-account-body .qsite-footer-rail{box-sizing:border-box!important}
.qauth-body .qsite-scroll-top,.customer-account-body .qsite-scroll-top{z-index:9500!important}

@media(max-width:900px){
  .qauth-shell{grid-template-columns:1fr!important;padding:18px 0 36px!important}.qauth-intro{min-height:auto!important;padding:30px!important}.qauth-intro h1{font-size:42px!important}.qauth-card{padding:24px!important}
  .qauth-register-shell{padding:18px 0 40px!important}.qauth-register-head,.qauth-register-card{padding:22px!important}.qauth-form{grid-template-columns:1fr!important}.qauth-form .span-2{grid-column:1!important}.qauth-address-details{grid-template-columns:1fr!important}.location-detect-card{grid-template-columns:auto 1fr!important}.location-detect-card .btn{grid-column:1/-1!important;width:100%!important}
}
@media(max-width:620px){
  .qauth-shell,.qauth-register-shell,.customer-account-wrap{width:min(100% - 18px,1180px)!important}
  .qauth-intro{padding:24px!important;border-radius:19px!important}.qauth-intro h1{font-size:35px!important}.qauth-intro p{font-size:13px!important}
  .qauth-card,.qauth-register-card,.qauth-register-head{border-radius:18px!important;padding:18px!important}.qauth-tabs{grid-template-columns:1fr!important}.qauth-tabs a{min-height:38px!important}
  .qauth-links{flex-direction:column!important}.qauth-register-head h1{font-size:29px!important}
}

/* V7.23 - Üyelik merkezi üst kutu / alt kayıt kartı aynı genişlik */
.qauth-register-head,
.qauth-register-card{
  width:min(900px,100%)!important;
  max-width:900px!important;
  box-sizing:border-box!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.qauth-register-head{
  margin-bottom:16px!important;
}
@media(max-width:950px){
  .qauth-register-head,
  .qauth-register-card{
    width:100%!important;
    max-width:none!important;
  }
}

/* =========================================================
   V7.24 - İşletme + Kurye kayıt ekranı tema eşitleme
   Normal Üye ile aynı 900px kolon / aynı merkez ekseni.
   ========================================================= */
.qauth-register-body.qauth-type-business .qauth-register-head,
.qauth-register-body.qauth-type-business .qauth-register-card,
.qauth-register-body.qauth-type-courier .qauth-register-head,
.qauth-register-body.qauth-type-courier .qauth-register-card{
  width:min(900px,100%)!important;
  max-width:900px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* İşletme formundaki ek alanlar iki kolon ritmini bozmasın. */
.qauth-type-business .qauth-form>label,
.qauth-type-courier .qauth-form>label{
  min-width:0!important;
}
.qauth-type-business .qauth-form select,
.qauth-type-business .qauth-form input,
.qauth-type-business .qauth-form textarea,
.qauth-type-courier .qauth-form select,
.qauth-type-courier .qauth-form input,
.qauth-type-courier .qauth-form textarea{
  max-width:100%!important;
  box-sizing:border-box!important;
}

/* Rolü görsel olarak ayır ama ana QRAVM dilini koru. */
.qauth-type-business .qauth-role-summary>span{
  background:#fff0f3!important;
  color:#f3133e!important;
}
.qauth-type-courier .qauth-role-summary>span{
  background:#edf6ff!important;
  color:#126bff!important;
}
.qauth-type-business .qauth-tabs a.active{
  color:#f3133e!important;
}
.qauth-type-courier .qauth-tabs a.active{
  color:#126bff!important;
}

/* İşletme/Kurye adres blokları da kart genişliğine tam otursun. */
.qauth-type-business .qauth-address-title,
.qauth-type-business .location-detect-card,
.qauth-type-business .qauth-location-map,
.qauth-type-business .qauth-address-details,
.qauth-type-courier .qauth-address-title,
.qauth-type-courier .location-detect-card,
.qauth-type-courier .qauth-location-map,
.qauth-type-courier .qauth-address-details{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}

/* Kurye araç/plaka satırı ve işletme adı/sektör satırı dengeli. */
@media(min-width:701px){
  .qauth-type-business .qauth-form,
  .qauth-type-courier .qauth-form{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  }
}

/* Mobilde üç hesap tipi de birebir aynı davranır. */
@media(max-width:950px){
  .qauth-register-body.qauth-type-business .qauth-register-head,
  .qauth-register-body.qauth-type-business .qauth-register-card,
  .qauth-register-body.qauth-type-courier .qauth-register-head,
  .qauth-register-body.qauth-type-courier .qauth-register-card{
    width:100%!important;
    max-width:none!important;
  }
}
