/* علام — dark mode. The templates keep the light design's inline styles; these rules map
   each light value to its dark counterpart from Home-v3-dark (html[data-theme=dark]). */

html.theme-anim *,html.theme-anim *::before,html.theme-anim *::after{transition:background-color .35s ease-out,color .35s ease-out,border-color .35s ease-out !important}

html[data-theme=dark]{color-scheme:dark}
html[data-theme=dark] body,html[data-theme=dark] .pg{background:#0B1220;color:#EEF2F8}
html[data-theme=dark] a{color:#8CC2FF}
html[data-theme=dark] a:hover{color:#B5D8FF}
html[data-theme=dark] .hl{color:#4DA3FF}

/* surfaces */
html[data-theme=dark] [style*="background: #FFFFFF"]{background:#151F33 !important}
html[data-theme=dark] [style*="background: #F6F9FF"]{background:#0B1220 !important}
html[data-theme=dark] [style*="background: #F5F7FA"]{background:#141D2C !important}
html[data-theme=dark] [style*="background: #E6F1FF"]{background:rgba(0,122,255,.18) !important}
html[data-theme=dark] [style*="background: #E7F3EE"]{background:rgba(95,211,160,.14) !important}
html[data-theme=dark] [style*="background: #EEF2F8"]{background:#1A2438 !important}
html[data-theme=dark] [style*="background: #E3E8EF"]{background:#24304A !important}
html[data-theme=dark] [style*="background: #DCEBFF"]{background:#14284A !important}
html[data-theme=dark] [style*="background: #FDECEA"]{background:rgba(250,101,77,.16) !important}
html[data-theme=dark] [style*="background: #FFF4E5"]{background:rgba(255,170,60,.14) !important}
html[data-theme=dark] [style*="background: #FEF3F2"]{background:rgba(240,68,56,.14) !important}
html[data-theme=dark] [style*="background: #0D1420"]{background:#070C16 !important}
html[data-theme=dark] [style*="background: rgba(255,255,255,.7)"]{background:rgba(255,255,255,.14) !important}
html[data-theme=dark] [style*="background: rgba(255,255,255,.72)"]{background:rgba(255,255,255,.16) !important}
html[data-theme=dark] [style*="background: linear-gradient(to bottom, #F6F9FF 0, #FFFFFF 320px)"]{background:linear-gradient(to bottom,#0B1220 0,#0F1829 320px) !important}
html[data-theme=dark] [style*="background: radial-gradient(70% 90% at 70% 0%, #E6F1FF, #FFFFFF 70%)"]{background:radial-gradient(70% 90% at 70% 0%,#14284A,#0F1829 70%) !important}
html[data-theme=dark] [style*="linear-gradient(160deg"]{background:#141D2C !important}

/* lines */
html[data-theme=dark] [style*="border: 1px solid #E3E8EF"]{border-color:#24304A !important}
html[data-theme=dark] [style*="border-bottom: 1px solid #E3E8EF"]{border-bottom-color:#24304A !important}
html[data-theme=dark] [style*="border-top: 1px solid #E3E8EF"]{border-top-color:#24304A !important}
html[data-theme=dark] [style*="border-left: 1px solid #E3E8EF"]{border-left-color:#24304A !important}
html[data-theme=dark] [style*="border: 1px solid #C9D2DE"]{border-color:#3A4866 !important}
html[data-theme=dark] [style*="border: 1px dashed #C9D2DE"]{border-color:#3A4866 !important}
html[data-theme=dark] [style*="border-top: 1px solid #26324A"]{border-top-color:#1A2438 !important}
html[data-theme=dark] [style*="rgba(16,40,90"]{box-shadow:0 12px 40px rgba(0,0,0,.35) !important}

/* text */
html[data-theme=dark] [style*="color: #1B2433"]{color:#EEF2F8 !important}
html[data-theme=dark] [style*="color: #5B6576"]{color:#A3AEC2 !important}
html[data-theme=dark] [style*="color: #4A5466"]{color:rgba(255,255,255,.88) !important}
html[data-theme=dark] [style*="color: #0062CC"]{color:#8CC2FF !important}
html[data-theme=dark] [style*="; color: #007AFF"],html[data-theme=dark] [style*="color: #007AFF;"]{color:#4DA3FF !important}
html[data-theme=dark] [style*="color: #1F7A57"]{color:#5FD3A0 !important}
html[data-theme=dark] [style*="color: #B42318"]{color:#FF8A80 !important}
html[data-theme=dark] svg[stroke="#1F7A57"]{stroke:#7BE0B0}
html[data-theme=dark] svg[stroke="#5B6576"]{stroke:#A3AEC2}
html[data-theme=dark] svg[stroke="#1B2433"]{stroke:#EEF2F8}
html[data-theme=dark] details summary:hover{color:#8CC2FF}

/* header */
html[data-theme=dark] .hdr{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.26);box-shadow:0 10px 40px rgba(0,0,0,.18)}
html[data-theme=dark] .pg:not(:has(.hero)) .hdr{background:rgba(21,31,51,.6);border-color:rgba(255,255,255,.12)}
html[data-theme=dark] .hdrwrap.is-scrolled .hdr{background:rgba(15,24,41,.86);border-color:rgba(255,255,255,.14);box-shadow:0 14px 40px rgba(0,0,0,.4)}
html[data-theme=dark] .hdr .logo-arrow{fill:#FFFFFF}
html[data-theme=dark] .hdr-nav a,html[data-theme=dark] .hdr-login,html[data-theme=dark] .hdr-me{color:#EEF2F8}
html[data-theme=dark] .hdr-nav a:hover{color:#8CC2FF}
html[data-theme=dark] .hdr-nav a::after{background:#4DA3FF}
html[data-theme=dark] .tt{background:rgba(255,255,255,.14)}
html[data-theme=dark] .tt button{color:rgba(255,255,255,.85)}
html[data-theme=dark] .tt button[aria-checked="true"]{background:#FFFFFF;color:#0B1220}
html[data-theme=dark] .hdr-me{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2)}
html[data-theme=dark] .hdr-menu{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.26);color:#FFFFFF}
html[data-theme=dark] .mnav{background:rgba(15,24,41,.94);border-color:#24304A;box-shadow:0 18px 50px rgba(0,0,0,.5)}
html[data-theme=dark] .mnav nav a{color:#EEF2F8}
html[data-theme=dark] .mnav nav a:hover{background:#1A2438}
html[data-theme=dark] .mnav-theme{border-top-color:#24304A;color:#A3AEC2}
html[data-theme=dark] .mnav-theme .tt{background:#1A2438}

/* home hero (Home-v3-dark) */
html[data-theme=dark] .hero{background:#0B1220;color:#FFFFFF}
html[data-theme=dark] .hero .hero-ov{background:linear-gradient(to left,rgba(10,16,28,.88) 0%,rgba(10,16,28,.62) 42%,rgba(10,16,28,.12) 100%) !important}
html[data-theme=dark] .hero .hero-fade{height:280px !important;background:linear-gradient(to top,#0B1220 0%,rgba(11,18,32,.85) 35%,rgba(11,18,32,0) 100%) !important}
html[data-theme=dark] .hero .hl{color:#6CB4FF}
html[data-theme=dark] .hero .lead{color:rgba(255,255,255,.88) !important}
html[data-theme=dark] .hero .pill-new{background:rgba(255,255,255,.14) !important;border-color:rgba(255,255,255,.26) !important;color:#FFFFFF}
html[data-theme=dark] .hero .btn-glass{background:rgba(255,255,255,.14) !important;border-color:rgba(255,255,255,.32) !important;color:#FFFFFF !important}
html[data-theme=dark] .hero .glass{background:rgba(255,255,255,.16) !important;border-color:rgba(255,255,255,.3) !important;box-shadow:0 12px 32px rgba(0,0,0,.3) !important}
html[data-theme=dark] .hero .glass [style*="color: #5B6576"]{color:rgba(255,255,255,.85) !important}
html[data-theme=dark] .hero .glass .bar{background:rgba(255,255,255,.25) !important}
html[data-theme=dark] .hero .glass .fill{background:#FFFFFF !important}
html[data-theme=dark] .facts .num{color:#4DA3FF !important}
html[data-theme=dark] .card-blue{background:#0A63D6 !important}
html[data-theme=dark] .pg [style*="bottom: 14px; right: 16px"]{background:rgba(11,18,32,.75) !important}
html[data-theme=dark] .stepn{background:#0F1829 !important;color:#4DA3FF !important;box-shadow:0 6px 18px rgba(0,0,0,.4) !important}
html[data-theme=dark] .lift:hover{box-shadow:0 16px 40px rgba(0,0,0,.4)}

/* buttons that are white on light */
html[data-theme=dark] .btn-ghost{background:#151F33 !important;color:#EEF2F8 !important;border-color:#3A4866 !important}

/* forms */
html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:#0F1829;color:#EEF2F8;border-color:#3A4866}
html[data-theme=dark] ::placeholder{color:#6B7891}
html[data-theme=dark] [style*="background: #FFF0EC"]{background:rgba(250,101,77,.16) !important}

/* auth / account / checkout */
html[data-theme=dark] .au-panel,html[data-theme=dark] .acc-nav,html[data-theme=dark] .mp-card,html[data-theme=dark] .acc-main table,html[data-theme=dark] .acc-main form,html[data-theme=dark] .acc-main .woocommerce-Address,
html[data-theme=dark] .co-body .wc-block-components-checkout-step,html[data-theme=dark] .co-body .wc-block-components-sidebar,html[data-theme=dark] .co-body .wc-block-checkout__sidebar,html[data-theme=dark] .co-body .wc-block-cart__sidebar,
html[data-theme=dark] .co-body ul.woocommerce-order-overview,html[data-theme=dark] .co-body .woocommerce-order-details,html[data-theme=dark] .co-body .woocommerce-customer-details{background:#151F33 !important;border-color:#24304A !important;box-shadow:none !important}
html[data-theme=dark] .au-sub,html[data-theme=dark] .au-hint,html[data-theme=dark] .acc-num,html[data-theme=dark] .co-steps,html[data-theme=dark] .acc-main address,html[data-theme=dark] .co-body address,html[data-theme=dark] .acc-main thead th{color:#A3AEC2}
html[data-theme=dark] .au-tabs{background:#0F1829}
html[data-theme=dark] .au-tabs a{color:#A3AEC2}
html[data-theme=dark] .au-tabs a[aria-current]{background:#24304A;color:#FFFFFF;box-shadow:none}
html[data-theme=dark] .au-in,html[data-theme=dark] .acc-main input.input-text,html[data-theme=dark] .acc-main select,html[data-theme=dark] .acc-main textarea{background:#0F1829;color:#EEF2F8;border-color:#3A4866}
html[data-theme=dark] .au-link{color:#8CC2FF}
html[data-theme=dark] .au-alert,html[data-theme=dark] .woocommerce-error{background:rgba(250,101,77,.16) !important;color:#FFB4A6 !important}
html[data-theme=dark] .woocommerce-message{background:rgba(95,211,160,.14) !important;color:#7BE0B0 !important}
html[data-theme=dark] .woocommerce-info{background:rgba(0,122,255,.18) !important;color:#8CC2FF !important}
html[data-theme=dark] .acc-links a{color:#EEF2F8}
html[data-theme=dark] .acc-links a:hover{background:#1A2438}
html[data-theme=dark] .acc-links a[aria-current]{background:rgba(0,122,255,.22);color:#8CC2FF}
html[data-theme=dark] .acc-links a.is-out{color:#FF8A80}
html[data-theme=dark] .acc-main th,html[data-theme=dark] .acc-main td,html[data-theme=dark] .co-body .woocommerce-order-details th,html[data-theme=dark] .co-body .woocommerce-order-details td{border-color:#24304A}
html[data-theme=dark] .acc-main thead th{background:#1A2438}
html[data-theme=dark] .co-body ul.woocommerce-order-overview strong{color:#EEF2F8}
html[data-theme=dark] .co-body .wc-block-components-text-input input,html[data-theme=dark] .co-body .wc-block-components-combobox input,html[data-theme=dark] .co-body .wc-blocks-components-select__select,html[data-theme=dark] .co-body .wc-block-components-textarea{background:#0F1829 !important;color:#EEF2F8 !important;border-color:#3A4866 !important}
html[data-theme=dark] .co-body .wc-block-components-totals-wrapper{border-top-color:#24304A !important}
html[data-theme=dark] .co-body .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted{background:rgba(0,122,255,.18)}
html[data-theme=dark] .co-done{background:radial-gradient(60% 100% at 50% 0%,rgba(95,211,160,.16),#151F33 70%) !important;border-color:#24304A !important}
@container (max-width: 760px){html[data-theme=dark] .acc-links a{border-color:#24304A}html[data-theme=dark] .acc-links a[aria-current]{background:#007AFF;color:#FFFFFF}}
html[data-theme=dark] [style*="color: #007AFF"]{color:#4DA3FF !important}
html[data-theme=dark] .acc-main .required,html[data-theme=dark] .allam-error{color:#FF8A80}
html[data-theme=dark] .acc-main em,html[data-theme=dark] .acc-main .description{color:#A3AEC2}

/* legal table + consent checkbox */
html[data-theme=dark] .prose-body .legal-table table,html[data-theme=dark] .prose-body .legal-table th,html[data-theme=dark] .prose-body .legal-table td,html[data-theme=dark] .prose-body .legal-table tr{border-color:#24304A}
html[data-theme=dark] .prose-body .legal-table th{background:#0F1829;color:#EEF2F8;box-shadow:inset 0 -1px 0 #24304A}
html[data-theme=dark] .prose-body .legal-table td{box-shadow:inset 0 -1px 0 #24304A}
html[data-theme=dark] .prose-body .legal-table tr:last-child td{box-shadow:none}
html[data-theme=dark] .prose-body .legal-table td:first-child{color:#EEF2F8}
html[data-theme=dark] .prose-body .legal-table td::before{color:#A3AEC2 !important}
html[data-theme=dark] .au-check{color:#C9D2DE}
html[data-theme=dark] .au-check a{color:#4DA3FF}
