/* ewan-v3.css: design layer loaded AFTER ewan-v2.css. Remove its <link> to roll back. */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Outfit:wght@500;600&display=swap');
:root{--navy:#0B1F3A;--navy2:#10294A;--line:#E2E8F0;--r:12px}
body,button,input,select,textarea{font-family:'IBM Plex Sans Arabic','Cairo',sans-serif!important}
h1,h2,h3,.ph-title,.sec-title,.h-title,.side-title,.auth-title,.nav-name,.f-title,.pkg-name,.stat-num,.p-num{font-family:'IBM Plex Sans Arabic','Tajawal',sans-serif!important;letter-spacing:0!important}
body{background:#F1F5F9}
#canvas,.pkg-glow{display:none!important}
/* no gradient text */
.nav-name,.ph-title span,.sec-title span,.side-title span,.h-title span,.h-title em{background:none!important;-webkit-text-fill-color:currentColor!important;color:#06B6D4!important}
.nav-name{color:#fff!important}
/* nav: solid navy */
nav{background:var(--navy)!important;backdrop-filter:none!important;border-bottom:1px solid #23394a!important}
.nav-links a{color:#b7c6cf!important;font-size:.9rem!important;border-bottom:2px solid transparent!important}
.nav-links a:hover,.nav-links a.active{color:#fff!important;border-color:#06B6D4!important}
.nav-login-btn{color:#fff!important;border:1px solid #3a5366!important;border-radius:10px!important}
.nav-reg-btn{background:#0891B2!important;color:#fff!important;border-radius:10px!important}
.nav-toggle span{background:#fff!important}
@media(max-width:768px){.nav-links{background:var(--navy)!important;box-shadow:none!important}.nav-links a{border-bottom:1px solid #23394a!important}}
.nav-gem{background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 38'><path d='M2 38V22C2 12 14 8 22 1c8 7 20 11 20 21v16' fill='none' stroke='%2306B6D4' stroke-width='3' stroke-linejoin='round'/><path d='M7 38V24C7 17 16 14 22 8c6 6 15 9 15 16v14' fill='none' stroke='%2367E8F9' stroke-width='1.5'/><rect x='15' y='19' width='14' height='4' rx='1' fill='white'/><rect x='15' y='25' width='14' height='4' rx='1' fill='white'/><rect x='15' y='31' width='14' height='4' rx='1' fill='white'/></svg>") center/contain no-repeat!important;box-shadow:none!important;width:42px!important;height:36px!important;font-size:0!important;border-radius:0!important}
/* buttons: flat */
.btn-gold,.auth-btn,.pkg-btn,.nav-reg-btn{background:#0891B2!important;color:#fff!important;box-shadow:none!important;border-radius:10px!important;font-weight:600!important}
.btn-gold::after{display:none!important}
.btn-gold:hover,.auth-btn:hover:not(:disabled),.pkg-btn:hover{background:#0E7490!important;transform:none!important;box-shadow:none!important;opacity:1!important}
.btn-outline{border:1.5px solid #cbd5e1!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important}
/* cards: flat, no lift or glow */
.card-base,.feat-card,.stat-card,.testi-card,.t-card,.pbox,.vip-box,.cta-box,.cat,.us,.sb{box-shadow:none!important}
.card-base,.feat-card,.stat-card,.t-card,.pbox{background:#fff!important;border:1px solid var(--line)!important;border-radius:14px!important}
.card-base:hover,.feat-card:hover,.t-card:hover{transform:none!important;border-color:#0891B2!important;box-shadow:none!important}
.page-hero{background:var(--navy);color:#fff;padding:4rem 1.2rem 3.2rem!important}
.page-hero::before{display:none!important}
.ph-badge{background:transparent!important;border:1px solid #3a5366!important;color:#67E8F9!important}
.ph-sub{color:#b7c6cf!important}
.ph-title{color:#fff}
.sec-eye{color:#0891B2!important;letter-spacing:.5px!important;text-transform:none!important;font-size:.85rem!important}
.sec-title{font-weight:700!important}
/* forms */
.f-group input,.f-group select,.f-group textarea{background:#fff!important;border:1.5px solid #cbd5e1!important;border-radius:10px!important}
.f-group input:focus,.f-group select:focus,.f-group textarea:focus{border-color:#0891B2!important;box-shadow:0 0 0 3px rgba(8,145,178,.12)!important}
.auth-side{background:var(--navy)!important;border:none!important;color:#fff}
.auth-side::before{display:none!important}
.auth-side .side-sub,.auth-side .perk{color:#b7c6cf!important}
.side-title{color:#fff}
.side-badge{background:transparent!important;border:1px solid #3a5366!important;color:#67E8F9!important}
.perk-dot{background:#06B6D4!important}
/* footer */
footer{background:#081528!important}
.float-wa,.wa-btn{box-shadow:none!important}
.pkg::before{display:none!important}
.pkg{background:#fff!important;box-shadow:none!important;border:1px solid var(--line)!important;border-radius:16px!important}
.ahram{border:2px solid #0891B2!important;transform:none!important}
.pkg-name,.p-num,.ahram .pkg-name,.pharaoh .pkg-name{background:none!important;-webkit-text-fill-color:currentColor!important;color:#0B1F3A!important}
.ahram .pkg-btn,.pharaoh .pkg-btn,.nile .pkg-btn{background:#0891B2!important;color:#fff!important}
.pkg-btn::after{display:none!important}
.best-badge,.t-sw.active{background:#0891B2!important;color:#fff!important}
.vip-box{background:#F1F5F9!important;border:1px solid var(--line)!important}
.pkg-glow{display:none!important}
/* polish: small purposeful motion, focus states, spacing */
a,button,.btn-gold,.btn-outline,.nav-links a,.pkg,.card-base,.feat-card,.t-card{transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .12s ease}
.btn-gold:active,.auth-btn:active,.pkg-btn:active,.nav-reg-btn:active{transform:translateY(1px)!important}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #06B6D4;outline-offset:2px}
.pkg:hover{border-color:#0891B2!important}
.f-err.show{color:#B91C1C}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
/* app: mobile fixes (CSS only) */
@media(max-width:900px){
  .sb:not(.open){visibility:hidden;transition:transform .25s ease,visibility 0s linear .25s}
  .sb.open{visibility:visible}
  #tickets-tbl{min-width:560px}.tbl-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
  #tickets-tbl td,#tickets-tbl th{padding:.55rem .7rem}
}
/* app: round 2 (from QA screenshots) */
.psb-step::after{left:auto!important;right:50%!important}
.ck-opt-d{unicode-bidi:plaintext;text-align:right}
.sb-sec{font-size:.72rem!important;letter-spacing:.6px!important;color:#8CA3B5!important}
@media(max-width:768px){
  body{padding-bottom:84px}
  .pay-steps-bar{gap:0}.psb-lbl{font-size:.66rem!important;line-height:1.35;text-align:center}
  .psb-step{min-width:0}
}
@media(max-width:600px){
  .ck-opts.c2{grid-template-columns:minmax(0,1fr)!important}
  .ck-opt-d{white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:560px){
  .tb-title{font-size:.92rem!important;white-space:nowrap}
  .tb-r{gap:.4rem}
  .tb-r a,.tb-r button{white-space:nowrap;font-size:.72rem!important;padding:.32rem .55rem!important}
}
/* round 3: peer UI lessons (CSS only) */
.ck-opt{border-radius:16px;transition:border-color .18s,box-shadow .18s,background-color .18s}
.ck-opt.on{border-color:#0891B2!important;background:rgba(8,145,178,.07)!important;box-shadow:0 4px 14px rgba(11,31,58,.08)}
.ck-opt.on .ck-opt-tick{background:#0891B2!important;border-color:#0891B2!important}
.ck-price{font-size:1.35rem;font-weight:800;color:#0B1F3A}
.ck-price small{font-size:.75rem;font-weight:600;color:#64748B}
.vf-input:focus,input:focus,select:focus,textarea:focus{border-color:#0891B2!important;box-shadow:0 0 0 3px rgba(8,145,178,.15)!important;outline:none}
input:invalid:not(:placeholder-shown):not(:focus){border-color:#DC2626}
.sb a.on,.sb a.active,.sb .on{border-inline-start:3px solid #06B6D4}
.sb a{transition:background-color .15s,color .15s}
/* round 4: public pages */
.inp-ico{opacity:1!important;width:30px;height:30px;display:grid!important;place-items:center;background:rgba(8,145,178,.1);border-radius:9px;right:.55rem!important;font-size:.85rem!important}
.inp-wrap input{padding-right:3rem!important}
.best-badge{background:#0891B2!important;color:#fff!important;border-radius:999px;box-shadow:none!important;background-image:none!important}
.pkg{border-radius:18px}
.ahram .pkg-btn{background:#0891B2!important;color:#fff!important}
.ahram .pkg-btn:hover{background:#0E7490!important}
.nile .pkg-btn,.pharaoh .pkg-btn{background:transparent!important;color:#0E7490!important;border:1.5px solid #0891B2!important}
/* round 5: remove purple, faint labels, chat bubble color */
.pharaoh,.pharaoh:hover{border-color:rgba(8,145,178,.2)!important;box-shadow:none}
.pharaoh::before{background:none!important}
.pharaoh .pkg-glow{background:none!important}
.pharaoh .pkg-tier,.pharaoh .pkg-name,.vip-t strong{color:#0B1F3A!important;background:none!important;-webkit-text-fill-color:#0B1F3A!important}
.pharaoh .pkg-tier{-webkit-text-fill-color:#0E7490!important;color:#0E7490!important}
.vip-box{background:rgba(8,145,178,.07)!important;border:1px solid rgba(8,145,178,.2)!important;background-image:none!important}
.f-title,.f-sec-t,.form-sec-t{color:#64748B!important}
#ewan-chat-root [class*="launcher"],#ewan-chat-root [id*="toggle"],#ewan-chat-root [id*="fab"],#ewan-chat-root button:first-child{background:#0891B2!important;background-image:none!important}
.auth-label{color:#64748B!important}
/* round 6: QA round 2 */
.sb{scrollbar-width:thin;scrollbar-color:rgba(140,163,181,.35) transparent}
.sb::-webkit-scrollbar{width:4px}.sb::-webkit-scrollbar-thumb{background:rgba(140,163,181,.35);border-radius:4px}
@media(max-width:560px){
  .tb{gap:.4rem;padding-inline:.7rem!important}
  .tb-l{min-width:0;gap:.4rem;flex:0 1 auto}
  .tb-title{font-size:.85rem!important;overflow:hidden;text-overflow:ellipsis;max-width:34vw}
  .tb-r{min-width:0;flex:1 1 auto;gap:.4rem;justify-content:flex-end}
  .tb-r>div:first-child{min-width:0;flex:1 1 auto}
  #gsearch{width:100%!important;min-width:0!important;max-width:100%!important}
  .wa-chip{font-size:0!important;padding:.4rem .5rem!important;gap:0;flex:0 0 auto}
  .wa-chip::before{content:"💬";font-size:1rem}
  .notif-btn{flex:0 0 auto}
  #ewan-chat-fab{width:46px!important;height:46px!important;bottom:14px!important}
  body{padding-bottom:84px}
}
/* round 7: wa-chip icon only */
@media(max-width:560px){
  .tb-r .wa-chip,.tb-r .wa-chip *{font-size:0!important;line-height:0!important}
  .tb-r .wa-chip{width:38px;height:38px;justify-content:center;padding:0!important}
  .tb-r .wa-chip::before{content:"💬";font-size:1.05rem!important;line-height:1!important}
  .tb-r .wa-chip::after{content:none!important}
}
/* round 8: structure polish (CSS only) */
body>div[style*="z-index:9999"]{background:#fff!important;color:#0F172A!important;border:1px solid #E2E8F0!important;border-inline-start:4px solid #0891B2!important;border-radius:12px!important;box-shadow:0 8px 24px rgba(11,31,58,.14)!important}
@media(max-width:560px){body>div[style*="z-index:9999"]{left:50%!important;right:auto!important;transform:translateX(-50%);bottom:5.5rem!important;max-width:calc(100vw - 2rem)}}
th{color:#475569!important;background:#F1F5F9!important;font-size:.68rem!important}
tr:hover td{background:rgba(8,145,178,.05)!important}
td{border-top:1px solid #E8EEF4!important}
select{appearance:none;-webkit-appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B1F3A' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:left .8rem center;padding-left:2.2rem!important;border-radius:12px}
.tb{box-shadow:0 1px 0 #E2E8F0,0 4px 12px rgba(11,31,58,.04)}
.card,.panel,.stat,.sc{border-radius:16px}
