/* public.css — domain.ps public/transactional chrome (logged-out + in-cart).
   Loaded in header.tpl's {else} branch. Mirrors the Astro storefront
   (src/components/global Header/Footer + styles/global.css @theme).
   Namespaced `dp-`; chrome markup is ours, so zero Bootstrap collision.
   The page CONTENT between header/footer is still Twenty-One Bootstrap +
   custom.css — transactional re-skins live further down this file. */

:root {
  --dp-font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dp-brand-50:#eeeefc; --dp-brand-100:#dedef9; --dp-brand-600:#2424b8;
  --dp-brand-700:#020296; --dp-brand-900:#050561; --dp-brand-950:#060633;
  --dp-accent:#4f46e5; --dp-accent-press:#3f37c9; --dp-glow:#4cc9f0;
  --dp-ink:#15154d; --dp-ink-soft:#71718e; --dp-surface:#fafaff;
  --dp-border:#e8e8f1; --dp-radius:.75rem;
  --dp-hero:linear-gradient(160deg,#060633 0%,#10104e 55%,#1b1899 100%);
  --dp-shadow-pop:0 16px 40px rgb(8 8 40/.18);
}

/* =========================================================
   PUBLIC HEADER
   ========================================================= */
.dp-header{position:relative;z-index:40;background:#fff;box-shadow:0 1px 2px rgb(15 15 60/.06);font-family:var(--dp-font)}
.dp-header *{box-sizing:border-box}
.dp-bar{max-width:75rem;margin-inline:auto;padding:.85rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.dp-logo{display:inline-flex;align-items:center;flex:none}
.dp-logo img{height:34px;width:auto;display:block}
.dp-logo span{font-weight:800;font-size:1.15rem;color:var(--dp-brand-700)}

/* ---- mega nav ---- */
.dp-nav{display:flex;align-items:center;gap:.35rem}
.dp-grp{position:relative}
.dp-grp-btn{display:inline-flex;align-items:center;gap:.3rem;background:none;border:0;cursor:pointer;
  font:inherit;font-size:.9rem;font-weight:500;color:var(--dp-ink-soft);padding:.5rem .7rem;border-radius:.5rem}
.dp-grp-btn:hover{color:var(--dp-ink)}
.dp-caret{width:0;height:0;border-inline:4px solid transparent;border-top:5px solid currentColor;opacity:.7;transition:transform .15s}
.dp-grp-link{font-size:.9rem;font-weight:500;color:var(--dp-ink-soft);text-decoration:none;padding:.5rem .7rem;border-radius:.5rem}
.dp-grp-link:hover{color:var(--dp-ink)}

.dp-panel{position:absolute;inset-inline-start:0;top:100%;min-width:16rem;background:#fff;border:1px solid var(--dp-border);
  border-radius:var(--dp-radius);padding:.4rem;box-shadow:var(--dp-shadow-pop);
  opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .14s,transform .14s;z-index:50}
.dp-grp:hover .dp-panel,.dp-grp:focus-within .dp-panel{opacity:1;visibility:visible;transform:none}
.dp-grp:hover .dp-caret{transform:rotate(180deg)}
.dp-panel a,.dp-panel .dp-soon{display:flex;align-items:center;justify-content:space-between;gap:.75rem;
  padding:.5rem .7rem;border-radius:.5rem;font-size:.875rem;text-decoration:none;color:var(--dp-ink);white-space:nowrap}
.dp-panel a:hover{background:var(--dp-brand-50);color:var(--dp-brand-700)}
.dp-soon{color:var(--dp-ink-soft);cursor:default}
.dp-pill{font-size:.62rem;font-weight:700;background:var(--dp-brand-100);color:var(--dp-brand-700);
  border-radius:9999px;padding:.1rem .45rem;line-height:1.4}

/* ---- actions ---- */
.dp-actions{display:flex;align-items:center;gap:.85rem;flex:none}
.dp-lang{background:none;border:0;cursor:pointer;font:inherit;font-size:.85rem;font-weight:700;color:var(--dp-ink-soft);padding:.25rem}
.dp-lang:hover{color:var(--dp-ink)}
.dp-act-link{font-size:.875rem;color:var(--dp-ink-soft);text-decoration:none}
.dp-act-link:hover{color:var(--dp-ink)}
.dp-cart{position:relative;display:inline-grid;place-items:center;color:var(--dp-ink-soft);text-decoration:none}
.dp-cart svg{width:20px;height:20px}
.dp-cart:hover{color:var(--dp-ink)}
.dp-cart-badge{position:absolute;top:-7px;inset-inline-end:-9px;min-width:16px;height:16px;padding:0 4px;
  border-radius:9999px;background:var(--dp-accent);color:#fff;font-size:.62rem;font-weight:700;display:grid;place-items:center;line-height:1}
.dp-cta{display:inline-block;background:var(--dp-accent);color:#fff;font-weight:700;font-size:.85rem;
  border-radius:9999px;padding:.5rem 1.25rem;text-decoration:none;box-shadow:0 8px 24px rgb(79 70 229/.35);transition:background .15s}
.dp-cta:hover{background:var(--dp-brand-600);color:#fff}
.dp-burger{display:none;background:none;border:0;cursor:pointer;color:var(--dp-ink);padding:.25rem}
.dp-burger svg{width:24px;height:24px}

/* =========================================================
   PUBLIC FOOTER
   ========================================================= */
.dp-footer{background:var(--dp-hero);color:var(--dp-brand-100);font-family:var(--dp-font);margin-top:4rem}
.dp-footer *{box-sizing:border-box}
.dp-foot-grid{max-width:75rem;margin-inline:auto;padding:3.5rem 1rem;display:grid;gap:2.5rem;
  grid-template-columns:2fr 1fr 1fr 1.2fr}
.dp-foot-brand img{height:34px;width:auto}
.dp-foot-tag{margin:1rem 0 0;max-width:24rem;font-size:.875rem;line-height:1.6}
.dp-foot-badge{margin:1rem 0 0;font-size:.75rem;font-weight:700;color:var(--dp-glow)}
.dp-foot-col h2{font-size:.875rem;font-weight:700;color:#fff;margin:0 0 .9rem}
.dp-foot-col h2.dp-foot-sp{margin-top:1.5rem}
.dp-foot-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem}
.dp-foot-col a{color:var(--dp-brand-100);text-decoration:none;font-size:.875rem}
.dp-foot-col a:hover{color:#fff}
.dp-foot-bar{border-top:1px solid rgb(255 255 255/.1)}
.dp-foot-bar>span,.dp-foot-bar{display:flex}
.dp-foot-bar{max-width:75rem;margin-inline:auto;padding:1.25rem 1rem;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:.75rem;font-size:.75rem}
.dp-foot-pays{align-items:center;gap:.85rem;opacity:.85}
.dp-foot-lang{background:none;border:1px solid rgb(255 255 255/.25);color:var(--dp-brand-100);
  border-radius:9999px;padding:.2rem .7rem;font:inherit;font-size:.72rem;cursor:pointer}
.dp-foot-lang:hover{color:#fff;border-color:rgb(255 255 255/.5)}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1024px){
  .dp-nav{display:none}
  .dp-burger{display:inline-grid;place-items:center}
  .dp-act-link{display:none}
  /* burger opens the nav as a stacked panel below the bar (no JS data needed) */
  .dp-header.nav-open .dp-nav{display:flex;flex-direction:column;align-items:stretch;gap:0;
    position:absolute;inset-inline:0;top:100%;background:#fff;padding:.5rem 1rem 1.25rem;
    box-shadow:0 12px 24px rgb(8 8 40/.12);border-top:1px solid var(--dp-border);max-height:80vh;overflow:auto;z-index:55}
  .dp-header.nav-open .dp-grp{position:static}
  .dp-header.nav-open .dp-grp-btn{width:100%;justify-content:space-between;font-weight:700;color:var(--dp-ink);padding:.7rem .25rem}
  .dp-header.nav-open .dp-caret{transform:rotate(180deg)}
  .dp-header.nav-open .dp-panel{position:static;opacity:1;visibility:visible;transform:none;
    box-shadow:none;border:0;padding:0 0 .5rem .75rem;min-width:0}
  .dp-header.nav-open .dp-grp-link{display:block;padding:.7rem .25rem;font-weight:700;color:var(--dp-ink);border-top:1px solid var(--dp-border)}
  .dp-foot-grid{grid-template-columns:1fr 1fr}
  .dp-foot-brand{grid-column:1/-1}
}
@media (max-width:600px){
  .dp-foot-grid{grid-template-columns:1fr}
  .dp-cta{padding:.45rem 1rem}
}

/* =========================================================
   TRANSACTIONAL CONTENT RE-SKIN (cart / order form)
   The content between header/footer is Twenty-One Bootstrap + the active
   order-form CSS (nuhost_premium_comparison/all.min.css), which loads AFTER
   this file via {$headoutput} — so scoped !important is required to win.
   Scoped to #main-body to avoid leaking into chrome.
   ========================================================= */
#main-body{font-family:var(--dp-font)}

/* Hide WHMCS "Powered by WHMCompleteSolution" footer line */
#main-body p:has(> a[href*="whmcs.com"]){display:none!important}

/* Primary action buttons (Checkout, etc.) → indigo brand pill */
#main-body .btn-checkout,#main-body #checkout,
#main-body .btn-success{background:var(--dp-accent)!important;border-color:var(--dp-accent)!important;
  color:#fff!important;border-radius:9999px!important;box-shadow:0 8px 24px rgb(79 70 229/.35)!important}
#main-body .btn-checkout:hover,#main-body #checkout:hover,
#main-body .btn-success:hover{background:var(--dp-accent-press)!important;border-color:var(--dp-accent-press)!important}
#main-body .btn-checkout.disabled,#main-body #checkout.disabled,
#main-body .btn-success.disabled{opacity:.5;box-shadow:none!important}

/* Cart line-items header bar → brand navy */
#main-body .view-cart-items-header{background:var(--dp-brand-700)!important;color:#fff!important;
  border-radius:.6rem .6rem 0 0;padding:.85rem 1.1rem!important;font-weight:600;font-size:.85rem}

/* Order summary card → branded */
#main-body .order-summary{background:#fff;border:1px solid var(--dp-border);border-radius:var(--dp-radius);
  overflow:hidden;box-shadow:0 8px 24px rgb(2 2 150/.06)}
#main-body .order-summary h2{background:var(--dp-hero);color:#fff!important;margin:0;padding:1rem 1.25rem;
  font-size:1.05rem!important;font-weight:700}
#main-body .order-summary .summary-container{padding:1.1rem 1.25rem}
#main-body .order-summary .total-due-today{color:var(--dp-ink)}

/* Sidebar panels (Categories / Actions) → branded cards */
#main-body .card-sidebar{border:1px solid var(--dp-border)!important;border-radius:var(--dp-radius)!important;
  box-shadow:0 4px 16px rgb(2 2 150/.05)!important;overflow:hidden}
#main-body .card-sidebar .panel-heading,#main-body .card-sidebar .card-header{background:var(--dp-surface)!important;
  border-bottom:1px solid var(--dp-border)!important}
#main-body .card-sidebar .panel-title{color:var(--dp-ink)!important;font-weight:700;font-size:.95rem}
#main-body .card-sidebar .list-group-item.active,
#main-body .card-sidebar .list-group-item-action:active{background:var(--dp-accent)!important;border-color:var(--dp-accent)!important}

/* Promo code + form inputs → brand focus */
#main-body .form-control:focus,#main-body input[type="text"]:focus,
#main-body input[type="email"]:focus,#main-body select:focus{
  border-color:var(--dp-accent)!important;box-shadow:0 0 0 3px rgb(79 70 229/.15)!important}

/* Page title */
#main-body h1.font-size-36{color:var(--dp-ink);font-weight:800;letter-spacing:-.015em}

/* ---- RTL fixes for transactional content (Twenty-One/nuhost use physical props) ---- */
/* directional arrows must point left in RTL (cart "Pay"/"Continue" use both
   fa-arrow-right and fa-arrow-circle-right depending on the order form) */
[dir="rtl"] #main-body .fa-arrow-right,
[dir="rtl"] #main-body .fa-arrow-circle-right,
[dir="rtl"] #main-body .btn-checkout .fa-arrow-right,
[dir="rtl"] #main-body .btn-checkout .fa-arrow-circle-right{transform:scaleX(-1)}
/* collapse chevrons pinned with float-right/pull-right belong on the panel's end (left) in RTL */
[dir="rtl"] #main-body .card-minimise.float-right,
[dir="rtl"] #main-body .panel-minimise.pull-right,
[dir="rtl"] #main-body .card-sidebar .float-right{float:left!important}

/* Order summary line items use float-left for the label and float-right for the
   price (LTR-native). Swap them in RTL so the product name / cycle label sits at
   the visual end-of-line (right edge) and the price sits at the start (left). */
[dir="rtl"] #main-body .order-summary .clearfix .pull-left,
[dir="rtl"] #main-body .order-summary .clearfix .float-left{float:right!important}
[dir="rtl"] #main-body .order-summary .clearfix .pull-right,
[dir="rtl"] #main-body .order-summary .clearfix .float-right{float:left!important}

/* Checkout: "Total Due Today" success box → brand wash (was Bootstrap green) */
#main-body .alert-success{background:var(--dp-brand-50)!important;border-color:#cfcffa!important;color:var(--dp-ink)!important}
#main-body .alert-success .amt,#main-body .alert-success b,#main-body .alert-success strong{color:var(--dp-brand-700)!important}

/* Checkout section dividers (Choose Account / Payment Details / Additional Notes) → ink */
#main-body .checkout-section-header,#main-body .cart-section-header{color:var(--dp-ink)!important}

/* ---- Order-form product cards (store/*) ----
   The nuhost order form uses Bootstrap-3 grid classes (col-xs-*) that DON'T
   exist in Twenty-One's Bootstrap-4. As flex children they collapse to content
   width, cramping the cards so the absolutely-positioned price overlaps the
   title. Restoring the BS3 column widths fixes the overlap at its root. */
#main-body .col-xs-12{flex:0 0 100%!important;max-width:100%!important;width:100%!important}
#main-body .col-xs-6{flex:0 0 50%!important;max-width:50%!important}
#main-body .col-xs-4{flex:0 0 33.3333%!important;max-width:33.3333%!important}
#main-body .col-xs-3{flex:0 0 25%!important;max-width:25%!important}
/* centre the product row when only a couple of plans exist */
#main-body .row-product-selection{justify-content:center}
/* brand the plan card + headline icon */
#main-body .tree-steps-hosting-plans.cart-whmcs-custom-hosting-order{border:1px solid var(--dp-border);
  border-radius:var(--dp-radius);box-shadow:0 8px 24px rgb(2 2 150/.06);overflow:hidden}
/* Replace the template's absolute-positioned price (physical left/right — breaks
   in RTL) with a direction-agnostic flex row: [icon] [title] [price]. */
#main-body .tree-steps-hosting-plans-header{display:flex!important;align-items:flex-start;gap:.55rem;height:auto!important}
#main-body .tree-steps-hosting-plans-icon{float:none!important;color:var(--dp-accent);margin-top:.15rem}
#main-body .tree-steps-hosting-plans-title{position:static!important;display:block!important;width:auto!important;
  height:auto!important;flex:1 1 auto;margin:0;color:var(--dp-ink)}
#main-body .tree-steps-hosting-plans-price{position:static!important;width:auto!important;height:auto!important;
  text-align:end;white-space:nowrap;flex:none}
#main-body .tree-steps-hosting-plans-price b,#main-body .tree-steps-hosting-plans-price{color:var(--dp-brand-700)}

/* =========================================================
   STANDALONE INVOICE / PAYMENT PAGE (viewinvoice.tpl)
   This page has no site chrome by design — we add a minimal focused
   "Secure payment" header and brand the invoice card.
   ========================================================= */
body.dp-pay{font-family:var(--dp-font);background:var(--dp-bg,#f4f4f9);color:var(--dp-ink)}
.dp-pay-top{display:flex;align-items:center;gap:1rem;background:#fff;border-bottom:1px solid var(--dp-border);
  padding:.85rem 1.5rem;box-shadow:0 1px 2px rgb(15 15 60/.06);margin-bottom:1.5rem}
.dp-pay-logo{display:inline-flex;align-items:center;flex:none}
.dp-pay-logo img{height:32px;width:auto}
.dp-pay-logo span{font-weight:800;color:var(--dp-brand-700)}
.dp-pay-secure{margin-inline:auto;display:inline-flex;align-items:center;gap:.45rem;
  font-size:.85rem;font-weight:600;color:var(--dp-ink-soft,#5b5b7a)}
.dp-pay-secure .fa-lock{color:var(--dp-ok,#0c8f63)}
.dp-pay-back{flex:none;font-size:.85rem;font-weight:600;color:var(--dp-accent);text-decoration:none}
.dp-pay-back:hover{color:var(--dp-accent-press)}

/* invoice card container */
body.dp-pay .invoice-container{max-width:60rem;margin-inline:auto;background:#fff;
  border:1px solid var(--dp-border);border-radius:var(--dp-radius);box-shadow:0 16px 40px rgb(8 8 40/.08);
  padding:2.25rem 2.5rem;position:relative;overflow:hidden}
body.dp-pay h3,body.dp-pay strong{color:var(--dp-ink)}

/* status pills */
body.dp-pay .invoice-status span{display:inline-block;padding:.3rem 1rem;border-radius:9999px;
  font-weight:700;font-size:.95rem;letter-spacing:.01em}
body.dp-pay .invoice-status .unpaid{background:#fbeae7;color:#c0392b}
body.dp-pay .invoice-status .paid{background:#e7f4ee;color:#0c8f63}
body.dp-pay .invoice-status .draft,body.dp-pay .invoice-status .cancelled,
body.dp-pay .invoice-status .refunded{background:var(--dp-brand-50);color:var(--dp-brand-700)}
body.dp-pay .invoice-status .collections{background:#fbeede;color:#b4690e}

/* Diagonal corner stamp — bigger and more prominent than the inline pill. Sits
   over the top-trailing corner of .invoice-container (top-right in LTR, top-left
   in RTL) so a customer's eye lands on the status the moment the page paints. */
body.dp-pay .dp-invoice-ribbon{position:absolute;top:28px;inset-inline-end:-58px;
  width:220px;text-align:center;transform:rotate(45deg);transform-origin:center;
  z-index:5;pointer-events:none;box-shadow:0 6px 14px rgb(0 0 0/.18)}
[dir="rtl"] body.dp-pay .dp-invoice-ribbon{transform:rotate(-45deg)}
body.dp-pay .dp-invoice-ribbon span{display:block;padding:9px 0;color:#fff;
  font-weight:800;font-size:15px;letter-spacing:.1em;text-transform:uppercase;
  font-family:var(--dp-font);text-shadow:0 1px 2px rgb(0 0 0/.18)}
body.dp-pay .dp-invoice-ribbon--paid{background:linear-gradient(135deg,#10b981,#059669)}
body.dp-pay .dp-invoice-ribbon--unpaid{background:linear-gradient(135deg,#ef4444,#dc2626)}
body.dp-pay .dp-invoice-ribbon--draft{background:linear-gradient(135deg,#6c757d,#495057)}
/* print: keep the ribbon visible for printed/saved-as-PDF invoices. */
@media print {
  body.dp-pay .dp-invoice-ribbon{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* pay button → indigo pill */
body.dp-pay .payment-btn-container .btn,body.dp-pay #btnInvoiceAddCreditApply,
body.dp-pay .payment-btn-container input[type=submit]{background:var(--dp-accent)!important;
  border-color:var(--dp-accent)!important;color:#fff!important;border-radius:9999px!important;
  font-weight:700;padding:.65rem 2rem!important;box-shadow:0 8px 24px rgb(79 70 229/.35)!important}
body.dp-pay .payment-btn-container .btn:hover{background:var(--dp-accent-press)!important}

/* line-items card header → brand navy */
body.dp-pay .card.bg-default>.card-header{background:var(--dp-hero)!important;border:0}
body.dp-pay .card.bg-default>.card-header .card-title,
body.dp-pay .card.bg-default>.card-header .card-title strong{color:#fff!important;margin:0}
body.dp-pay .total-row{font-weight:600}

/* footer link */
.dp-pay-footer{padding:1.5rem 0 2.5rem;font-size:.85rem}
.dp-pay-footer a{color:var(--dp-accent);text-decoration:none}

/* ---- branded payment-method selector (replaces the gateway dropdown) ---- */
body.dp-pay [data-role="paymethod-info"]{float:none!important;display:block;margin-top:.5rem}
.dp-gw-form{margin:0}
.dp-gw-list{display:flex;flex-direction:column;gap:.5rem;max-width:22rem;margin-inline-start:auto}
.dp-gw{display:flex;align-items:center;gap:.7rem;padding:.7rem .9rem;border:1.5px solid var(--dp-border);
  border-radius:var(--dp-radius);cursor:pointer;background:#fff;transition:border-color .12s,box-shadow .12s;font-size:.9rem}
.dp-gw:hover{border-color:var(--dp-accent-soft,#8b87ff)}
.dp-gw input{position:absolute;opacity:0;pointer-events:none}
.dp-gw-ico{display:grid;place-items:center;width:34px;height:34px;border-radius:.5rem;flex:none;
  background:var(--dp-brand-50);color:var(--dp-brand-700);font-size:1rem}
.dp-gw-name{flex:1;font-weight:600;color:var(--dp-ink);text-align:start}
.dp-gw-check{color:var(--dp-accent);font-size:1.1rem;opacity:0;flex:none}
.dp-gw.active{border-color:var(--dp-accent);box-shadow:0 0 0 3px rgb(79 70 229/.12)}
.dp-gw.active .dp-gw-ico{background:var(--dp-accent);color:#fff}
.dp-gw.active .dp-gw-check{opacity:1}

/* ---- RTL alignment fixes for the invoice (invoice.min.css forces physical left) ---- */
[dir="rtl"] body.dp-pay .card.bg-default>.card-header .card-title{text-align:right}
[dir="rtl"] body.dp-pay .card.bg-default thead td:first-child,
[dir="rtl"] body.dp-pay .card.bg-default tbody td:first-child{text-align:right!important}
[dir="rtl"] body.dp-pay .total-row.text-right{text-align:left!important}
[dir="rtl"] body.dp-pay .invoice-col:not(.right),
[dir="rtl"] body.dp-pay .invoice-col:not(.right) address{text-align:right!important}
[dir="rtl"] .dp-gw-list{margin-inline-start:0;margin-inline-end:auto}

/* ---- RTL: input-group icon addons — flip the rounded side ----
   BS4/Twenty-One round the prepend on the left & the input on the right (LTR).
   In RTL the prepend sits on the right, so mirror which physical corners round. */
[dir="rtl"] .input-group > .input-group-prepend > .input-group-text { border-radius: 0 8px 8px 0 !important; }
[dir="rtl"] .input-group > .input-group-append > .input-group-text,
[dir="rtl"] .input-group > .input-group-append > .btn { border-radius: 8px 0 0 8px !important; }
[dir="rtl"] .input-group > .form-control:first-child { border-radius: 0 8px 8px 0 !important; }
[dir="rtl"] .input-group > .form-control:last-child { border-radius: 8px 0 0 8px !important; }
[dir="rtl"] .input-group > .form-control:not(:first-child):not(:last-child) { border-radius: 0 !important; }

/* ---- RTL: login "remember me" checkbox needs the gap on the label side ---- */
[dir="rtl"] input[name="rememberme"].form-check-input { position: static; margin: 0 0 0 .45rem; vertical-align: middle; }

/* ---- RTL: flip the -1px overlap on input-group addons ----
   BS4 pulls .input-group-append left by 1px and .input-group-prepend right by 1px
   to overlap the input's adjacent border. In RTL, append sits on the left of the
   input and prepend on the right — so the negative margins must be flipped. */
[dir="rtl"] .input-group > .input-group-append { margin-left: 0; margin-right: -1px; }
[dir="rtl"] .input-group > .input-group-prepend { margin-right: 0; margin-left: -1px; }

/* ---- RTL: flip the reveal-password button's "remove inside border" side ----
   Twenty-One strips the eye button's left border (its inside edge in LTR).
   In RTL the eye sits on the LEFT of the input, so its INSIDE edge is the
   right — flip which border to drop. */
[dir="rtl"] .input-group .btn-reveal-pw { border-left: 1px solid #e7eaf3 !important; border-right: 0 !important; }

/* ---- Login page: Google sign-in button polish ----
   The GIS widget itself is iframed by Google; we only style the wrapper
   and add an "or" divider so it reads as a primary alt action, not a stray
   chip below the form. */
#login .g_id_signin,
#login-form .g_id_signin,
form.login-form ~ .g_id_signin,
.card-body .g_id_signin,
.g_id_signin { display:flex; justify-content:center; margin:0 auto 8px; }
.dp-or-divider { display:flex; align-items:center; gap:12px; margin:18px 0 14px; color:#9090a8; font-size:13px; text-transform:lowercase; }
.dp-or-divider::before, .dp-or-divider::after { content:''; flex:1; height:1px; background:#e6e6f0; }
[dir="rtl"] .dp-or-divider { font-feature-settings:normal; }

/* WHMCS wraps the GIS button in btn-social/btn-google — its own bg/border
   conflict with Google's iframed pill. Suppress them. */
.g_id_signin.btn,
.g_id_signin.btn-social,
.g_id_signin.btn-google { background:transparent; border:0; padding:0; box-shadow:none; }
