:root{--navy:#081a36;--green:#00776c;--bg:#f2f8f6;--line:#d7e4e0;--muted:#7c8796}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--navy);background:var(--bg);padding-bottom:94px;-webkit-font-smoothing:antialiased}
.account-header{height:70px;padding:0 24px;background:#fff;border-bottom:1px solid #e2eae7;display:flex;align-items:center}
.account-header .brand{display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:151px;min-width:151px;height:47px;padding:4px 8px;border-radius:10px;background:#fff url('/rehbi-logo.png?v=brand18') center/contain no-repeat;overflow:hidden}
.account-header .brand img{display:none!important}
.account-page{width:min(720px,calc(100% - 30px));margin:0 auto;padding:24px 0 36px}
.panel{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 8px 24px rgba(8,58,50,.025)}
.business-panel{padding:24px 25px 26px}
.store-illustration{width:232px;max-width:68%;margin:13px auto 3px}
.store-illustration svg{display:block;width:100%;height:auto}
.business-copy{text-align:center;font-size:21px;line-height:1.35;font-weight:400;color:#0b2040;margin:5px 0 24px}
.primary-action,.secondary-action{appearance:none;width:100%;min-height:64px;border-radius:16px;font:inherit;font-size:20px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:17px;letter-spacing:-.3px}
.primary-action{border:0;background:#2e8178;color:#fff}
.secondary-action{margin-top:13px;border:1px solid #e0e6e4;background:#fafbfb;color:#075f57}
.search-icon{width:27px;height:27px;border:4px solid currentColor;border-radius:50%;position:relative;display:inline-block}
.search-icon:after{content:"";position:absolute;width:12px;height:4px;background:currentColor;right:-9px;bottom:-5px;transform:rotate(45deg);border-radius:4px}
.plus{font-size:39px;font-weight:300;line-height:.5}
.inactive{cursor:default;pointer-events:none}

/* WhatsApp giriş kartı */
.login-panel{margin-top:24px;padding:24px 25px 22px}
.phone-field{width:100%;height:62px;border:1px solid #d6dfdd;border-radius:14px;background:#fff;display:flex;align-items:center;padding:0 16px;gap:9px;box-shadow:0 1px 2px rgba(8,58,50,.02)}
.flag{font-size:25px;line-height:1;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.country-arrow{font-size:24px;font-weight:700;color:#0b2040;line-height:1;transform:translateY(-2px)}
.country-code{font-size:18px;font-weight:700;color:#0b2040;white-space:nowrap}
.phone-field input{min-width:0;flex:1;height:100%;padding:0 0 0 4px;border:0;outline:0;background:transparent;color:#0b2040;font:inherit;font-size:18px;letter-spacing:.2px}
.phone-field input::placeholder{color:#8c99a8;opacity:1}
.whatsapp-login{appearance:none;width:100%;min-height:62px;margin-top:15px;padding:0 18px;border:0;border-radius:14px;background:#00796d;color:#fff;display:flex;align-items:center;justify-content:center;gap:11px;font:inherit;font-size:18px;font-weight:800;letter-spacing:-.2px;cursor:default}
.wa-icon{width:28px;height:28px;display:block;flex:0 0 28px;color:#fff}
.login-legal{max-width:520px;margin:17px auto 0;text-align:center;color:#74808e;font-size:14px;line-height:1.5}
.login-legal span{color:#00776c;font-weight:700}

/* ortak mobil menüyü ana sayfadaki dosya üretir */
.account-bottom-nav{display:none!important}

@media(max-width:700px){
  .account-header{height:62px;padding:0 16px}
}
@media(max-width:600px){
  .account-header .brand{width:126px;min-width:126px;height:40px;padding:3px 6px}
  .account-page{width:calc(100% - 28px);padding-top:18px}
  .panel{border-radius:22px}
  .business-panel{padding:20px 19px 24px}
  .store-illustration{width:205px;margin-top:10px}
  .business-copy{font-size:19px;margin:4px 0 21px}
  .primary-action,.secondary-action{min-height:59px;font-size:18px;border-radius:14px;gap:14px}
  .search-icon{width:23px;height:23px;border-width:3px}
  .login-panel{margin-top:20px;padding:19px}
  .phone-field{height:58px;padding:0 13px;gap:8px;border-radius:13px}
  .flag{font-size:23px}
  .country-arrow{font-size:21px}
  .country-code{font-size:16px}
  .phone-field input{font-size:17px}
  .whatsapp-login{min-height:58px;margin-top:14px;border-radius:13px;font-size:17px;padding:0 12px}
  .wa-icon{width:26px;height:26px;flex-basis:26px}
  .login-legal{font-size:13px;margin-top:15px;padding:0 3px}
}

/* WhatsApp OTP doğrulama */
.otp-panel,.account-panel{margin-top:20px;padding:24px 25px 22px}
.otp-title{margin:0 0 7px;text-align:center;font-size:22px;color:#075f57}.otp-copy{margin:0;text-align:center;color:#74808e;font-size:14px;line-height:1.5}.otp-copy strong{color:#0b2040}
.otp-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin:22px 0 15px}.otp-box{width:100%;min-width:0;height:58px;border:1px solid #d6dfdd;border-radius:12px;background:#fff;text-align:center;font-size:24px;font-weight:800;color:#0b2040;outline:0}.otp-box:focus{border-color:#00776c;box-shadow:0 0 0 3px rgba(0,119,108,.1)}
.otp-actions{display:flex;justify-content:center;gap:18px;margin-top:13px}.text-btn{border:0;background:transparent;color:#00776c;font:inherit;font-size:14px;font-weight:700;padding:4px;cursor:pointer}.form-msg{min-height:20px;margin:11px 0 0;text-align:center;color:#c73535;font-size:13px}.form-msg.ok{color:#00776c}
.whatsapp-login:disabled{opacity:.68}.account-panel h2{margin:0 0 13px;font-size:24px;color:#075f57}.account-list{border-top:1px solid #dce7e3}.account-row{width:100%;min-height:58px;border:0;border-bottom:1px solid #dce7e3;background:transparent;text-align:left;color:#0b2040;font:inherit;font-size:17px;padding:0 3px;display:flex;align-items:center;justify-content:space-between}.account-row .chev{color:#98a4ad;font-size:28px}.account-row.logout{color:#e02323;font-weight:700}.account-phone{margin:0 0 16px;color:#74808e;font-size:14px}
@media(max-width:600px){.otp-panel,.account-panel{padding:20px 19px}.otp-grid{gap:7px}.otp-box{height:52px;font-size:21px;border-radius:11px}.otp-title{font-size:20px}}

/* v8: doğrulanmış hesap + WhatsApp numarasından işletme eşleştirme */
.matched-business-panel{margin-top:20px;padding:20px 22px}
.matched-kicker{font-size:18px;font-weight:800;color:#087162;margin-bottom:12px}
.matched-business{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #e1ebe8}
.matched-business:first-child{border-top:0;padding-top:2px}
.matched-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;color:#1877f2;flex:0 0 34px}.matched-icon svg{width:34px;height:34px;display:block;filter:drop-shadow(0 2px 5px rgba(24,119,242,.18))}
.matched-info{min-width:0;display:flex;flex-direction:column;gap:3px}
.matched-info strong{font-size:16px;color:#0b2040;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.matched-info span{font-size:13px;color:#7b8793;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.matched-note{margin:12px 0 0;padding-top:12px;border-top:1px solid #e1ebe8;font-size:12.5px;line-height:1.5;color:#7b8793}


/* v10: giriş yapılmış fakat numarası hiçbir işletmeyle eşleşmeyen kullanıcı */
.secondary-action{text-decoration:none}
.business-panel.new-business-only .store-illustration{width:190px;max-width:58%;margin-top:4px}
.business-panel.new-business-only .business-copy{margin-top:2px;margin-bottom:20px;color:#516170;font-size:18px}
.business-panel.new-business-only .secondary-action{margin-top:0;background:#08776c;color:#fff;border-color:#08776c}
.business-panel.new-business-only .plus{color:#fff}
@media(max-width:600px){
  .business-panel.new-business-only .store-illustration{width:170px}
  .business-panel.new-business-only .business-copy{font-size:16px;line-height:1.45}
}


/* v38: giriş butonu aktif, doğrulama geçici hata mesajı */
.whatsapp-login{cursor:pointer}
.whatsapp-login:disabled{opacity:.72;cursor:wait}
.form-msg:not(.ok){color:#c73535}

/* v42: işletme aksiyonları aktif */
.primary-action:not(.inactive),
.secondary-action:not(.inactive){cursor:pointer;pointer-events:auto}
.primary-action:not(.inactive):active,
.secondary-action:not(.inactive):active{transform:translateY(1px)}

#claimBusinessBtn,#addBusinessBtn{text-decoration:none}

/* v44 - işletme aksiyonları kesin aktif */
#claimBusinessBtn,#addBusinessBtn{
  position:relative;
  z-index:5;
  pointer-events:auto!important;
  cursor:pointer!important;
}

/* v48 - Sabit Türkiye telefon kodu */
.fixed-country-code{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  font-weight:800;
  color:#173a40;
  letter-spacing:.01em;
}
.phone-country .fixed-country-code,
.phone-input .fixed-country-code,
.phone-field .fixed-country-code{
  margin-right:10px;
}
