/* ht-extra.css — additions to the new design needed by Laravel integration
   (i18n flash guard, flash toasts, login code, form/table kit for backend-driven pages).
   Uses only the design tokens from the page stylesheet (--navy, --teal, --line, …). */

/* English: hide Arabic source until i18n.js has translated the page */
html[data-locale="en"]:not(.i18n-ready) body{visibility:hidden}

/* ---------- Flash toasts (session success / error) ---------- */
.ht-toasts{position:fixed;top:14px;inset-inline:0;z-index:2000;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;padding:0 16px}
.ht-toast{pointer-events:auto;display:flex;align-items:center;gap:12px;max-width:560px;width:100%;background:#fff;border:1px solid var(--line);border-inline-start:5px solid var(--teal);border-radius:12px;padding:12px 14px;box-shadow:var(--shadow);font-weight:600;font-size:14.5px;animation:htToastIn .35s ease both}
.ht-toast span{flex:1}
.ht-toast button{border:0;background:transparent;cursor:pointer;color:var(--muted);font-size:14px}
.ht-toast-bad{border-inline-start-color:#d64545}
.ht-toast-info{border-inline-start-color:#1b5a80}
@keyframes htToastIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

/* ---------- Login modal: human verification code ---------- */
.authcaptcha{display:flex;align-items:center;justify-content:center;gap:14px;margin:6px auto 14px;background:var(--soft);border:1px dashed var(--line);border-radius:12px;padding:10px 14px;max-width:300px}
.authcaptcha span{font-weight:900;font-size:24px;letter-spacing:4px;color:var(--navy);user-select:none;font-family:ui-monospace,Menlo,Consolas,monospace;background:repeating-linear-gradient(-45deg,transparent 0 6px,rgba(24,174,151,.08) 6px 12px);padding:2px 10px;border-radius:8px}
.authagree a{color:var(--teal-d);text-decoration:underline}

/* ---------- Generic kit for backend-driven pages ---------- */
.ht-section{padding:36px 0 56px}
.ht-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:0 4px 16px rgba(12,43,63,.05)}
.ht-card + .ht-card{margin-top:18px}
.ht-card h2,.ht-card h3{color:var(--navy);margin-bottom:10px;line-height:1.4}
.ht-card h2{font-size:22px}
.ht-card h3{font-size:18px}
.ht-muted{color:var(--muted)}
.ht-grid{display:grid;gap:16px}
.ht-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ht-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ht-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:900px){.ht-grid-3,.ht-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.ht-grid-2,.ht-grid-3,.ht-grid-4{grid-template-columns:1fr}}
.ht-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}
.ht-layout > aside{position:sticky;top:96px}
@media (max-width:980px){.ht-layout{grid-template-columns:1fr}.ht-layout > aside{position:static}}

.ht-form .fld,.ht-fld{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.ht-form label,.ht-fld > label,.ht-fld > span{font-size:13.5px;color:var(--muted);font-weight:700}
.ht-form label em,.ht-fld em{color:#d64545;font-style:normal}
.ht-form input:not([type=checkbox]):not([type=radio]):not([type=file]),
.ht-form select,.ht-form textarea,
.ht-input{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 14px;font:inherit;background:#fff;color:var(--ink);transition:border-color .15s,box-shadow .15s}
.ht-form textarea{min-height:110px;resize:vertical}
.ht-form input:focus,.ht-form select:focus,.ht-form textarea:focus,.ht-input:focus{outline:0;border-color:var(--teal);box-shadow:0 0 0 3px rgba(24,174,151,.14)}
.ht-form input[type=file]{width:100%;border:1px dashed #c9d6de;border-radius:12px;padding:12px;background:var(--soft);font-size:14px;cursor:pointer}
.ht-form input[readonly],.ht-form select[disabled]{background:var(--soft)}
.ht-check{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;cursor:pointer}
.ht-check input{margin-top:5px;accent-color:var(--teal);width:17px;height:17px}
.ht-help{font-size:12.5px;color:var(--muted)}
.ht-error,.ht-form .invalid-feedback,.ht-form .error-message,.ht-form .text-danger{display:block;color:#c0392b;font-size:12.5px;font-weight:600;margin-top:4px}
.ht-form .is-invalid{border-color:#d64545!important}
.ht-errors{background:#fdf0f0;border:1px solid #f3c6c6;color:#9b2c2c;border-radius:12px;padding:12px 16px;margin-bottom:16px;font-size:14px}
.ht-errors ul{margin:6px 0 0;padding-inline-start:18px}
.ht-note{background:#eef6fb;border:1px solid #cfe4f2;color:#1b5a80;border-radius:12px;padding:12px 14px;font-size:14px;margin-bottom:14px}
.ht-note.warn{background:#fff8e8;border-color:#f0dcb0;color:#7a5a12}
.ht-note.ok{background:#eaf8f4;border-color:#bfe8dc;color:#0f6b5c}

.ht-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:12px 24px;font-weight:800;font-size:15.5px;cursor:pointer;background:var(--teal);color:#fff;transition:background .18s,transform .15s,box-shadow .18s;text-decoration:none;line-height:1.3}
.ht-btn:hover{background:var(--teal-d)}
.ht-btn:active{transform:translateY(1px)}
.ht-btn[disabled]{opacity:.6;cursor:not-allowed}
.ht-btn-navy{background:var(--navy)}
.ht-btn-navy:hover{background:var(--navy-2)}
.ht-btn-ghost{background:#fff;color:var(--navy);border:1px solid var(--line)}
.ht-btn-ghost:hover{background:var(--soft);border-color:var(--teal)}
.ht-btn-danger{background:#d64545}
.ht-btn-danger:hover{background:#b83333}
.ht-btn-sm{padding:8px 14px;font-size:13.5px;border-radius:10px}
.ht-btn-block{width:100%}
.ht-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px}

.ht-badge{display:inline-flex;align-items:center;gap:6px;border-radius:30px;padding:3px 12px;font-size:12.5px;font-weight:800;background:var(--soft);color:var(--navy);border:1px solid var(--line);white-space:nowrap}
.ht-badge.ok,.ht-badge.completed,.ht-badge.paid,.ht-badge.approved{background:#eaf8f4;color:#0f6b5c;border-color:#bfe8dc}
.ht-badge.warn,.ht-badge.pending,.ht-badge.new,.ht-badge.in_progress{background:#fff8e8;color:#7a5a12;border-color:#f0dcb0}
.ht-badge.bad,.ht-badge.rejected,.ht-badge.failed,.ht-badge.cancelled,.ht-badge.overdue{background:#fdf0f0;color:#9b2c2c;border-color:#f3c6c6}

.ht-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px}
.ht-table{width:100%;border-collapse:collapse;font-size:14.5px;background:#fff}
.ht-table th,.ht-table td{padding:12px 14px;text-align:start;border-bottom:1px solid var(--line);vertical-align:middle}
.ht-table th{background:var(--soft);color:var(--muted);font-size:13px;font-weight:800;white-space:nowrap}
.ht-table tr:last-child td{border-bottom:0}

.ht-kv{display:grid;grid-template-columns:auto 1fr;gap:8px 18px;font-size:14.5px}
.ht-kv dt{color:var(--muted);font-weight:700}
.ht-kv dd{margin:0;color:var(--ink);font-weight:600}
.ht-sum{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed var(--line);font-size:14.5px}
.ht-sum:last-child{border-bottom:0}
.ht-sum.total{font-weight:900;font-size:17px;color:var(--navy);border-top:2px solid var(--line);border-bottom:0;padding-top:12px;margin-top:4px}

.ht-choice{display:flex;gap:12px;align-items:flex-start;border:1.5px solid var(--line);border-radius:14px;padding:14px 16px;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s;background:#fff}
.ht-choice:hover{border-color:#b9d8d1}
.ht-choice input{accent-color:var(--teal);margin-top:4px}
.ht-choice:has(input:checked),.ht-choice.is-selected{border-color:var(--teal);background:#f3fbf9;box-shadow:0 0 0 3px rgba(24,174,151,.10)}
.ht-choice b{display:block;color:var(--navy)}
.ht-choice small{color:var(--muted)}

.ht-steps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px;counter-reset:hs}
.ht-steps span{flex:1;min-width:120px;display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:var(--soft);font-weight:700;font-size:13.5px;color:var(--muted)}
.ht-steps span::before{counter-increment:hs;content:counter(hs);width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);font-size:12px}
.ht-steps span.on{background:#eaf8f4;color:#0f6b5c}
.ht-steps span.on::before{background:var(--teal);color:#fff;border-color:var(--teal)}

.ht-empty{text-align:center;padding:36px 16px;color:var(--muted)}
.ht-empty b{display:block;color:var(--navy);font-size:17px;margin-bottom:6px}

/* Laravel pagination (default tailwind/bootstrap markup) */
.ht-pagination nav,.ht-pagination .pagination{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;list-style:none;margin:22px 0 0;padding:0}
.ht-pagination .page-item .page-link,.ht-pagination a,.ht-pagination span[aria-current] span{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;padding:0 10px;font-weight:700;color:var(--navy);background:#fff}
.ht-pagination .active .page-link,.ht-pagination span[aria-current] span{background:var(--teal);border-color:var(--teal);color:#fff}
.ht-pagination .disabled .page-link{opacity:.45}

.ht-hidden{display:none!important}

/* Floating call/WhatsApp buttons — rules copied from the design app pages (content pages lack them) */
.fab-stack{position:fixed;right:20px;left:auto;bottom:20px;z-index:60;display:flex;flex-direction:column;gap:12px;align-items:center}
.fab-stack .wa,.fab-stack .call{position:static!important;inset:auto!important;margin:0}
.fab{position:relative;width:56px;height:56px;border-radius:18px;display:flex;align-items:center;justify-content:center;color:#fff;
  box-shadow:0 10px 26px rgba(8,26,38,.26),0 2px 6px rgba(8,26,38,.16);backdrop-filter:blur(8px);
  transition:transform .22s cubic-bezier(.22,.85,.3,1),box-shadow .22s ease,border-radius .22s ease}
.fab::before{content:"";position:absolute;inset:0;border-radius:inherit;border:1px solid rgba(255,255,255,.28);pointer-events:none}
.fab svg{width:25px;height:25px;position:relative;z-index:1}
.fab:hover{transform:translateY(-3px) scale(1.04);border-radius:16px;box-shadow:0 16px 34px rgba(8,26,38,.34)}
.fab:active{transform:translateY(-1px) scale(.98)}
.fab.wa{background:linear-gradient(145deg,#2ee06f,#16a44c)}
.fab.call{background:linear-gradient(145deg,#ff5b5b,#cf2b2b)}
.fab .tip{position:absolute;right:calc(100% + 12px);left:auto;top:50%;transform:translateY(-50%) translateX(8px);
  background:var(--navy);color:#fff;font-size:13px;font-weight:700;white-space:nowrap;padding:8px 13px;border-radius:12px;
  opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;box-shadow:0 8px 20px rgba(8,26,38,.28)}
.fab .tip::after{content:"";position:absolute;left:100%;top:50%;transform:translateY(-50%);border:6px solid transparent;border-left-color:var(--navy)}
.fab:hover .tip,.fab:focus-visible .tip{opacity:1;transform:translateY(-50%) translateX(0)}
.fab .pulse{position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 0 rgba(37,211,102,.45);animation:fabPulse 2.8s ease-out infinite}
.fab.call .pulse{box-shadow:0 0 0 0 rgba(226,59,59,.40)}
@keyframes fabPulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.40)}70%{box-shadow:0 0 0 16px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}
body.has-bar .fab-stack{bottom:104px}
@media (max-width:640px){.fab-stack{right:14px;left:auto;bottom:14px;gap:10px}.fab{width:52px;height:52px;border-radius:16px}.fab svg{width:23px;height:23px}.fab .tip{display:none}body.has-bar .fab-stack{bottom:96px}}
@media (prefers-reduced-motion:reduce){.fab,.fab .pulse{transition:none;animation:none}}

/* ---------- Language switcher (topbar) ----------
   Pill button matching "حسابي": globe + the other language's name in its own script.
   Overrides the browser's default <button> look (grey background, outset border). */
.topbar #langToggle{-webkit-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:6px 14px;border:1px solid var(--line);border-radius:30px;background:#fff;color:var(--navy);font:inherit;font-weight:700;font-size:13.5px;line-height:1;cursor:pointer;transition:border-color .18s ease,color .18s ease}
.topbar #langToggle:hover{border-color:var(--teal);color:var(--teal-d)}
.topbar #langToggle:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
.topbar #langToggle .icon{width:16px;height:16px;color:var(--teal-d)}
.topbar #langToggle .lang-short{display:none}
@media (max-width:720px){
  /* keep phone + tools on one row on phones */
  .topbar .container{flex-wrap:nowrap;justify-content:space-between;gap:8px}
  .topbar .tools{gap:6px}
  .topbar #langToggle{padding:6px 10px;min-height:40px}
  .topbar #langToggle .lang-label{display:none}
  .topbar #langToggle .lang-short{display:inline}
  .topbar .login{padding:7px 12px;font-size:13px}
  .topbar .info a,.topbar .login,.topbar #langToggle{white-space:nowrap}
  .topbar .info a{font-size:13px;gap:6px}
}
@media (max-width:560px){
  /* phones: phone number without icon, account as an icon button (text kept for screen readers) */
  .topbar .info a svg{display:none}
  .topbar .login{width:40px;height:40px;padding:0;justify-content:center;gap:0}
  .topbar .login .login-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}

/* English (LTR): the forward arrow icon is drawn pointing left for Arabic; mirror it */
body.is-en use[href="#i-arrow"]{transform:scaleX(-1);transform-origin:center;transform-box:fill-box}

/* Top bar (2026-10-12): customer sign-in is a quiet link; «انضم كشريك» is its own navy button at the outer edge,
   so it neither competes with the teal «استشارة مجانية» below nor looks like the customer's account. */
.topbar .login .pl-short{display:none}
.topbar .tools .tb-sep{width:1px;height:20px;background:var(--line);flex:none}
.topbar .login.tb-account{border-color:transparent;background:transparent;padding-inline:10px;color:var(--ink,#10283a)}
.topbar .login.tb-account .icon{color:var(--teal-d)}
.topbar .login.tb-account:hover{background:var(--soft,#f5f9fa);border-color:transparent;color:var(--teal-d)}
.topbar .login.partner-link{background:var(--navy);border-color:var(--navy);color:#fff;padding-inline:16px 18px}
.topbar .login.partner-link .icon{color:#5ee0c4}
.topbar .login.partner-link:hover,.topbar .login.partner-link[aria-current="page"]{background:var(--navy-2,#123a53);border-color:var(--navy-2,#123a53);color:#fff;box-shadow:0 8px 20px -8px rgba(12,43,63,.55)}
.topbar .login.partner-link:focus-visible,.topbar .login.tb-account:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
@media (max-width:720px){
  .topbar .tools .tb-sep{display:none}
  .topbar .login.partner-link{padding-inline:12px}
}
@media (max-width:560px){
  /* the partner button keeps its words on phones (the account stays an icon), so it can't be mistaken for sign-in.
     Was 400px: on 401–560px phones (e.g. 430px iPhones) the full topbar overflowed and pushed «انضم كشريك» off-screen. */
  .topbar .login.partner-link{width:auto;padding:0 12px;gap:0}
  .topbar .login.partner-link .icon{display:none}
  .topbar .login.partner-link .login-text{position:static;width:auto;height:auto;overflow:visible;clip:auto}
  /* room for it: the phone becomes an icon (the number stays readable to screen readers and on the call button) */
  .topbar .info a{width:36px;height:36px;justify-content:center;font-size:0;gap:0}
  .topbar .info a svg{display:inline-block;width:18px;height:18px}
  .topbar .tools{gap:4px}
  .topbar #langToggle{padding:6px 9px}
  .topbar #langToggle .icon{display:none}
}

/* Footer brand block — premium card that fills its column, centred on every page */
.footer .fbrand{position:relative;isolation:isolate;overflow:hidden;align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;
  padding:26px 20px;border-radius:22px;background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.footer .fbrand::before{content:"";position:absolute;z-index:-1;width:240px;height:240px;border-radius:50%;bottom:-140px;inset-inline-start:50%;transform:translateX(50%);background:radial-gradient(circle,rgba(43,196,170,.28),transparent 65%)}
.footer .fbrand img{height:48px!important;width:auto!important;max-width:100%;object-fit:contain;display:block;margin:0 auto!important}
.fbrand__line{width:44px;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,#2bc4aa,transparent)}
.footer .fbrand p{margin:0!important;color:#e3edf1;font-size:16px;font-weight:700;line-height:1.7;text-align:center}
.footer .fbrand .social{display:flex;justify-content:center;gap:8px;flex-wrap:nowrap;margin-top:4px}
.footer .fbrand .social a{width:38px;height:38px;flex:none;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;color:#fff;transition:background .2s,border-color .2s,transform .2s}
.footer .fbrand .social a:hover{background:var(--teal);border-color:var(--teal);transform:translateY(-2px)}
.footer .fbrand .social svg{width:16px;height:16px}
.fbrand__vision{position:relative;display:block;width:100%;max-width:150px;margin-top:8px;padding-top:16px;opacity:.92}
.fbrand__vision::before{content:"";position:absolute;top:0;inset-inline:18%;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent)}
.footer .fbrand .fbrand__vision img{display:block;width:100%!important;height:auto!important;max-width:100%;margin:0!important;filter:drop-shadow(0 6px 14px rgba(0,0,0,.35))}
@media (max-width:640px){.footer .fbrand{padding:22px 16px}}
@media (min-width:1101px){.footer .footer-grid{grid-template-columns:1.1fr 1.05fr 1.05fr .75fr 1.3fr}}
.footer .fbrand .social{flex-wrap:nowrap;gap:6px}
.footer .fbrand .social a{width:34px;height:34px}
.footer .fbrand{padding:24px 14px}

/* ===== Footer columns — premium ===== */
.footer .footer-grid{align-items:stretch;row-gap:26px}
.footer .fcol h4,.footer .fnews h4{position:relative;font-size:16.5px;font-weight:900;color:#fff;margin:0 0 20px;padding-bottom:12px;letter-spacing:-.005em}
.footer .fcol h4::after,.footer .fnews h4::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:34px;height:3px;border-radius:3px;background:linear-gradient(90deg,#2bc4aa,#18ae97 60%,rgba(24,174,151,.35))}
/* links */
.footer .flinks{display:grid;gap:4px;margin:0;padding:0;list-style:none}
.footer .flinks li a{display:flex!important;align-items:center;gap:11px;padding:7px 8px;margin-inline:-8px;border-radius:12px;color:#d3e1e8;font-size:14.5px;font-weight:600;line-height:1.5;text-decoration:none;transition:background .2s,color .2s,transform .2s}
.footer .flinks li a svg{width:30px!important;height:30px!important;padding:7px;margin:0!important;border-radius:10px;flex:none;color:#7fe0cf;background:rgba(43,196,170,.1);box-shadow:inset 0 0 0 1px rgba(43,196,170,.18);transition:background .2s,color .2s}
.footer .flinks li a:hover{background:rgba(255,255,255,.05);color:#fff;transform:translateX(-3px)}
body.is-en .footer .flinks li a:hover{transform:translateX(3px)}
.footer .flinks li a:hover svg{background:#18ae97;color:#fff}
/* contact */
.footer .fcontact{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.footer .fcontact li{display:flex!important;align-items:center;gap:12px;white-space:normal!important;min-height:0}
.footer .fci{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:none;color:#7fe0cf;background:rgba(43,196,170,.1);box-shadow:inset 0 0 0 1px rgba(43,196,170,.18)}
.footer .fci svg{width:18px!important;height:18px!important;margin:0!important;color:inherit}
.footer .fcontact li>span:last-child{display:flex;flex-direction:column;min-width:0;line-height:1.45}
.footer .fcontact small{font-size:11.5px;font-weight:700;color:rgba(255,255,255,.5)}
.footer .fcontact b,.footer .fcontact a{font-size:14.5px;font-weight:700;color:#eef5f8;text-decoration:none;overflow-wrap:anywhere}
.footer .fcontact a:hover{color:#7fe0cf}
.footer .fcontact a[dir=ltr]{text-align:start;unicode-bidi:plaintext}
/* newsletter card */
.footer .fnews{position:relative;isolation:isolate;overflow:hidden;align-self:stretch;padding:24px 20px;border-radius:22px;background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.1)}
.footer .fnews::before{content:"";position:absolute;z-index:-1;width:220px;height:220px;border-radius:50%;top:-120px;inset-inline-end:-80px;background:radial-gradient(circle,rgba(43,196,170,.22),transparent 65%)}
.fnews__ic{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;margin-bottom:14px;background:linear-gradient(160deg,#2bc4aa,#0f8f7b);box-shadow:0 12px 24px -12px rgba(43,196,170,.9)}
.fnews__ic svg{width:22px;height:22px;color:#fff}
.footer .fnews p{margin:0 0 16px!important;color:#cfdbe2;font-size:14px;line-height:1.75}
.footer .fnews form{display:flex;align-items:center;gap:6px;padding:5px;border-radius:14px;background:#fff;box-shadow:0 12px 26px -18px rgba(0,0,0,.6)}
.footer .fnews input{flex:1;min-width:0;height:42px;border:0;outline:0;padding:0 12px;font:inherit;font-size:14px;color:#10283a;background:transparent}
.footer .fnews button{width:auto!important;height:42px!important;padding:0 16px;border:0;border-radius:11px!important;display:inline-flex!important;align-items:center;gap:7px;font:inherit;font-weight:800;font-size:14px;color:#fff;cursor:pointer;background:linear-gradient(160deg,#20b9a0,#0f8f7b)!important;transition:filter .2s}
.footer .fnews button:hover{filter:brightness(1.08)}
.footer .fnews button svg{width:17px;height:17px}
.footer .fnews form:focus-within{box-shadow:0 0 0 3px rgba(43,196,170,.45)}
.fnews__note{display:block;margin-top:10px;font-size:12px;color:rgba(255,255,255,.5);line-height:1.6}
@media (max-width:1100px){.footer .fnews{grid-column:1 / -1}}
@media (max-width:640px){.footer .fcol h4,.footer .fnews h4{margin-bottom:14px}.footer .fnews{padding:20px 16px}}
@media (prefers-reduced-motion:reduce){.footer .flinks li a{transition:none}.footer .flinks li a:hover{transform:none}}
/* newsletter: icon-only send button so the field has room */
.footer .fnews button{width:44px!important;padding:0!important;justify-content:center}
.footer .fnews button span{display:none}
.footer .fcontact a[dir=ltr]{direction:ltr;unicode-bidi:isolate;align-self:flex-start}
/* business details: same premium pills on every page */
.footer .biz{display:block;padding:20px 0 22px;text-align:center;border-top:1px solid rgba(255,255,255,.09)}
.footer .biz ul{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 12px;margin:0 auto;padding:0;max-width:1000px}
.footer .biz li{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.11);border-radius:999px;padding:8px 16px;font-size:13.5px;color:#e6eef3}
.footer .biz li span{color:#8ea6b4;font-weight:700}
.footer .biz li span::after{content:""!important}
.footer .biz li b{font-weight:800;color:#fff;font-variant-numeric:tabular-nums}
@media (max-width:720px){.footer .biz li{width:100%;justify-content:center}}
@media (max-width:640px){.footer .flinks{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px}.footer .flinks li a{font-size:13.5px;gap:9px}.footer .flinks li a svg{width:28px!important;height:28px!important;padding:6px}}

/* Readable buttons (review 2026-10-12): white text on the brand green #18AE97 is 2.79:1, under the 4.5:1 minimum.
   Filled buttons use a deeper shade of the same green (4.72:1); the brand green stays for icons, lines and accents.
   "html body" outranks the page stylesheets that load after this file. */
html body :is(.btn-teal,.btn-wa,.hero .btn,.locbtn,.ht-btn:not(.ht-btn-ghost,.ht-btn-navy,.ht-btn-danger),.authbtn,.hcard__wa,.numchip.sel,.chip.sel,.sx-journey__n){background:#0E8270;border-color:#0E8270}
html body :is(.btn-teal,.btn-wa,.hero .btn,.locbtn,.ht-btn:not(.ht-btn-ghost,.ht-btn-navy,.ht-btn-danger),.authbtn,.hcard__wa):is(:hover,:focus-visible){background:#0B6E5F;border-color:#0B6E5F}
/* phones: floating buttons step aside over main buttons and while typing (fabline.js) */
.fab-stack{transition:opacity .2s,visibility .2s}
body.fab-tuck .fab-stack{opacity:0;visibility:hidden;pointer-events:none}
/* visa cards: fewer cards than the row holds sit in the middle instead of leaving an empty end (still scrolls when there are many) */
.reqrail > .reqcard:first-child{margin-inline-start:auto}
.reqrail > .reqcard:last-child{margin-inline-end:auto}

/* Floating call / WhatsApp (2026-10-12): smaller, and (fabline.js) they step aside on every screen size
   while they would cover a main button or field. */
.fab-stack{gap:10px;bottom:18px;right:18px}
.fab{width:46px;height:46px;border-radius:14px;box-shadow:0 10px 22px -10px rgba(8,26,38,.45)}
.fab svg{width:21px;height:21px}
.fab:hover{border-radius:14px}
@media (max-width:640px){.fab-stack{right:12px;bottom:12px;gap:8px}.fab{width:44px;height:44px;border-radius:13px}.fab svg{width:20px;height:20px}}
.fab-stack{transition:opacity .2s ease,visibility .2s}
@media (max-width:360px){
  .topbar .login.partner-link .login-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .topbar .login.partner-link .pl-short{display:inline}
}

/* نافذة التسجيل: حقل جوال مختصر (+966 | 5X XXX XXXX) وتلميح قصير */
#authModal .phonebox{background:#fff;border-radius:14px;transition:border-color .2s ease,box-shadow .2s ease}
#authModal .phonebox:focus-within{border-color:var(--teal);box-shadow:0 0 0 4px rgba(24,174,151,.12)}
#authModal .authfield.bad .phonebox:focus-within{border-color:#d64545;box-shadow:0 0 0 4px rgba(214,69,69,.12)}
#authModal .phonebox .cc{gap:8px;background:transparent;padding:0 14px;border-right:1px solid var(--line);margin:9px 0;color:var(--navy);font-weight:800;font-size:15px;font-variant-numeric:tabular-nums}
#authModal .cc-flag{width:21px;height:14px;border-radius:3px;flex:none;box-shadow:0 0 0 1px rgba(12,43,63,.08);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23006C35'/%3E%3Cg fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='M8 7.2c1.4-.9 2.6.6 4 0s2.6-.9 4 0 2.6.6 4 0 2-.6 2.4-.2' stroke-width='1.1'/%3E%3Cpath d='M9 10.4h12' stroke-width='.9' stroke-dasharray='1.4 1'/%3E%3Cpath d='M8.6 14.2h12.2M20.8 14.2l1.4-.9' stroke-width='1.1'/%3E%3C/g%3E%3C/svg%3E") center/cover}
#authModal .phonebox input{padding:14px;font-size:17px;font-weight:700;letter-spacing:1.5px;color:var(--navy);font-variant-numeric:tabular-nums;background:transparent}
#authModal .phonebox input::placeholder{color:#aab7bf;font-weight:500;letter-spacing:1.5px}
#authModal .authhint-sms{display:flex;align-items:center;gap:6px;font-size:12.5px}
#authModal .authhint-sms svg{width:14px;height:14px;flex:none;color:var(--teal-d,#0f7f6e)}
#authModal #auth-name{font-weight:600}
html[lang="en"] #auth-agreewrap a:last-child{margin-inline-start:.3em}

/* «انضم كشريك» inside the phone/tablet menu too, so owners find it where they look for navigation (2026-10-15) */
.nav a.nav-partner{display:none}
@media (max-width:1100px){
  .nav.open a.nav-partner{display:flex;justify-content:center;margin-top:10px;background:var(--navy);color:#fff;border-radius:14px;padding:13px 16px}
  .nav.open a.nav-partner .nico{color:#5ee0c4;opacity:1}
  .nav.open a.nav-partner:hover{background:var(--navy-2,#123a53);color:#fff}
}

/* footer on phones: the brand card (logo, slogan, social, Vision 2030) opens the footer, then the newsletter and the links */
@media (max-width:720px){.footer .footer-grid>.fbrand{order:-1}.footer .footer-grid{gap:22px}}
