/* ============================================================
   Accmaa 20260831c — تباين مقروء على كل سطح
   المنصة: خلفية فاتحة + نص كحلي
   الهيدر/الهيرو/التذييل: كحلي + كريم/ذهب
   شريط المحاور: كحلي موحّد مع الهيدر · تسميات ذهب #FFD54F
   لا ذهب باهت على أبيض، ولا كحلي على كحلي
   ============================================================ */

html body.premium-ui,
html body.guest-mode.premium-ui,
html body.logged-site-home.premium-ui,
html body.member-mode.premium-ui {
    background-color: #f4f7fb !important;
    color: #16233a;
}

html body.premium-ui .main-wrap {
    background: #f4f7fb !important;
}

/* ── شريط المحاور: كحلي موحّد مع خلفية الهيدر · نص ذهبي ── */
html body #megaNav.mega-nav,
html body.guest-mode #megaNav.mega-nav,
html body.guest-mode.accmaa-site-nav-mode #megaNav.mega-nav,
html body.logged-site-home #megaNav.mega-nav,
html body.member-mode #megaNav.mega-nav,
html body.admin-mode #megaNav.mega-nav,
html body .topbar-premium #megaNav.mega-nav {
    background: #0A3669 !important;
    border-radius: 14px !important;
    padding: 4px 8px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28) !important;
    border: 1px solid rgba(255, 213, 79, 0.22) !important;
}

html body #megaNav.mega-nav .accmaa-site-menu,
html body #megaNav.mega-nav .accmaa-site-menu--rail,
html body.guest-mode .accmaa-site-menu,
html body.guest-mode .accmaa-site-menu--rail,
html body.logged-site-home .accmaa-site-menu--rail {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html body #megaNav.mega-nav .accmaa-nav-top-link,
html body #megaNav.mega-nav .accmaa-mega-trigger,
html body #megaNav.mega-nav .accmaa-nav-top-link > span:not(.accmaa-nav-icon-wrap),
html body #megaNav.mega-nav .accmaa-mega-trigger > span:not(.accmaa-nav-icon-wrap):not(.accmaa-mega-chevron),
html body #megaNav.mega-nav .accmaa-mega-chevron,
html body.guest-mode .topbar-premium .accmaa-nav-top-link,
html body.guest-mode .topbar-premium .accmaa-mega-trigger,
html body.logged-site-home .topbar-premium .accmaa-nav-top-link,
html body.logged-site-home .topbar-premium .accmaa-mega-trigger {
    color: #FFD54F !important;
    -webkit-text-fill-color: #FFD54F !important;
    text-shadow: none !important;
    opacity: 1 !important;
    font-weight: 800 !important;
}

html body #megaNav.mega-nav .accmaa-nav-top-link:hover,
html body #megaNav.mega-nav .accmaa-mega-trigger:hover,
html body #megaNav.mega-nav .accmaa-nav-top-link.is-active,
html body #megaNav.mega-nav .accmaa-mega-item.open .accmaa-mega-trigger {
    color: #FFE082 !important;
    -webkit-text-fill-color: #FFE082 !important;
    background: rgba(255, 213, 79, 0.12) !important;
}

html body #megaNav.mega-nav .accmaa-nav-icon-wrap i,
html body #megaNav.mega-nav .accmaa-nav-top-link i:not(.accmaa-mega-chevron),
html body #megaNav.mega-nav .accmaa-mega-trigger i:not(.accmaa-mega-chevron) {
    color: #C9A227 !important;
    -webkit-text-fill-color: #C9A227 !important;
}

html body .accmaa-mega-panel,
html body .mega-dropdown {
    background: #ffffff !important;
    color: #16233a !important;
}
html body .accmaa-mega-panel .accmaa-mega-group-title,
html body .accmaa-mega-panel .accmaa-mega-link,
html body .accmaa-mega-panel .accmaa-mega-link span,
html body .mega-dropdown,
html body .mega-dropdown a,
html body .mega-dropdown-head strong {
    color: #0A3669 !important;
    -webkit-text-fill-color: #0A3669 !important;
}
html body .accmaa-mega-panel small,
html body .mega-dropdown-head small {
    color: #4a5d73 !important;
    -webkit-text-fill-color: #4a5d73 !important;
}

/* ── الهيدر الكحلي (خارج شريط المحاور): كريم واضح ── */
html body.guest-mode .topbar-premium .topbar-start,
html body.guest-mode .topbar-premium .logged-site-greet,
html body.logged-site-home .topbar-premium .logged-site-greet,
html body .topbar-premium .topbar-insights,
html body .topbar-premium .accmaa-insight,
html body .topbar-premium .accmaa-fx-pair,
html body .topbar-premium .brand-tagline {
    color: #F7F3E8 !important;
    -webkit-text-fill-color: #F7F3E8 !important;
}
html body .topbar-premium .logged-site-greet i,
html body .topbar-premium .accmaa-fx-pair strong,
html body .topbar-premium .brand-name {
    color: #E8C547 !important;
    -webkit-text-fill-color: #E8C547 !important;
}

/* ── جزر كحلية: عناوين كريم · تفاصيل ذهب ── */
html body .hero-premium h1,
html body .hero-premium h2,
html body .welcome-premium h2,
html body .cta-premium h2,
html body .ax-start h2.ax-h2,
html body .site-footer h3,
html body .site-footer-global h3 {
    color: #F7F3E8 !important;
    -webkit-text-fill-color: #F7F3E8 !important;
}
html body .hero-premium p,
html body .hero-premium .hero-lead,
html body .welcome-premium p,
html body .cta-premium p,
html body .ax-start p.ax-sub,
html body .ax-start .ax-step p,
html body .site-footer p,
html body .site-footer-global p,
html body .site-footer a,
html body .site-footer-global a {
    color: #E8C547 !important;
    -webkit-text-fill-color: #E8C547 !important;
}
html body .ax-start .ax-step strong,
html body .ax-start .ax-step h3 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* ── الصفحات الفاتحة: لا ذهب باهت على أبيض ── */
html body .ax-shell p.ax-sub,
html body .ax-shell .ax-card p,
html body .ax-shell .ax-card__desc,
html body .ax-page .page-desc,
html body .ax-page .page-desc-inline,
html body .content-panel > p,
html body .section-head p,
html body .ax-empty__text,
html body .ax-catalog-pillar p,
html body .pillar-hub-card p,
html body .accmaa-pay-trust p {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
    opacity: 1 !important;
}

html body .ax-shell h2.ax-h2,
html body .ax-shell h3,
html body .ax-page h2,
html body .ax-page h3,
html body .content-panel h2,
html body .content-panel h3,
html body .section-head h2,
html body .section-head h3,
html body .ax-card h3,
html body .ax-card__title,
html body .course-card h4,
html body .pillar-hub-card h3 {
    color: #0A3669 !important;
    -webkit-text-fill-color: #0A3669 !important;
}

html body .ax-shell {
    --ax-muted: #3d5168;
    --ax-ink: #16233a;
}

/* عناوين المحاور والأقسام والكورسات: كحلي واضح لا أصفر باهت */
html body .ax-catalog-pillar__head h2,
html body .ax-catalog-track__title,
html body .ax-track__id h3,
html body .ax-track__courses h4,
html body .ax-track__aside h4,
html body .ax-item h3,
html body .ax-item__title,
html body .ax-item strong,
html body .pillar-hub-body h3,
html body .pillar-hub-enter,
html body .pillar-card h3,
html body .pillar-card strong,
html body .axt-node__title,
html body .axt-disc__body strong,
html body .ax-eyebrow,
html body .ax-go,
html body .ax-chip,
html body .ax-item__kind,
html body .ax-item__kind--workshop,
html body .ax-item__kind--course {
    color: #0A3669 !important;
    -webkit-text-fill-color: #0A3669 !important;
}

/* إدارة ومدفوعات: نص كحلي داخل اللوحة وخارجها */
html body .panel h2,
html body .panel h3,
html body .panel h4,
html body .panel legend,
html body .admin-form-grid label,
html body .admin-pay-account legend,
html body .accmaa-plans-section h2,
html body .accmaa-plans-section h3,
html body .accmaa-plan-card h3,
html body .accmaa-checkout-page h1,
html body .accmaa-checkout-page h3,
html body .accmaa-checkout-page h4,
html body .accmaa-legal-box,
html body .accmaa-legal-box h4,
html body .accmaa-contract-text,
html body .page-title,
html body .gov-table th {
    color: #0A3669 !important;
    -webkit-text-fill-color: #0A3669 !important;
}
html body .panel .page-desc-inline,
html body .accmaa-legal-check,
html body .accmaa-invoice-box p,
html body .accmaa-pay-hero .page-desc {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}

.accmaa-legal-box {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(10,54,105,0.14);
    border-radius: 14px;
    background: rgba(10,54,105,0.04);
}
.accmaa-contract-text {
    max-height: 180px;
    overflow: auto;
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 8px 0 12px;
    color: #16233a;
}
.accmaa-legal-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 8px 0;
    font-weight: 600;
    color: #0A3669;
}
.accmaa-legal-check input { margin-top: 4px; }

/* شرائط السينما على كحلي تبقى ذهبية واضحة */
html body.has-accounting-cinema .acc-cinema-term,
html body.has-accounting-cinema .acc-cinema-term--link,
html body.has-accounting-cinema .acc-cinema-head {
    color: #FFD54F !important;
    -webkit-text-fill-color: #FFD54F !important;
}

html body.premium-ui .accmaa-cinema-card--featured .accmaa-cinema-card__title {
    color: #0A3669 !important;
    -webkit-text-fill-color: #0A3669 !important;
}

/* بطاقات الضريبة فوق العلم: نص أبيض مقروء */
html body.premium-ui .tax-country-card,
html body.premium-ui .tax-country-card strong,
html body.premium-ui .tax-country-card small,
html body.premium-ui .tax-country-card .tax-iso,
html body.premium-ui .tax-country-hero,
html body.premium-ui .tax-country-hero .page-title,
html body.premium-ui .tax-country-hero .page-desc,
html body.premium-ui .tax-country-hero .tax-iso {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body.premium-ui .axg__sheet,
html body.premium-ui .axg__head h2,
html body.premium-ui .axg-hit,
html body.premium-ui .platform-tour-script {
    color: #0A3669 !important;
    -webkit-text-fill-color: #0A3669 !important;
}
html body.premium-ui .axg__head p,
html body.premium-ui .axg__note {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}

/* ═══ 20260907j — معلومة محاسبية مقروءة على الهيدر الفاتح ═══ */
html body .topbar-acct-insights {
    background: #ffffff !important;
    border: 1px solid rgba(10, 54, 105, 0.16) !important;
    box-shadow: 0 4px 14px rgba(10, 54, 105, 0.08) !important;
}
html body .topbar-acct-insights__badge,
html body .topbar-acct-insights__badge span,
html body .topbar-acct-insights__badge i {
    color: #8a6d12 !important;
    -webkit-text-fill-color: #8a6d12 !important;
}
html body .topbar-acct-insights__text,
html body .topbar-acct-insights__text.is-active,
html body .topbar-acct-insights [data-insight-text],
html body .topbar-acct-insights__marquee .topbar-acct-insights__text {
    color: #0A3669 !important;
    -webkit-text-fill-color: #0A3669 !important;
    text-shadow: none !important;
    opacity: 1 !important;
    font-weight: 800 !important;
}
html body.topbar-insights-hidden .topbar-acct-insights,
html body .topbar-acct-insights[hidden] {
    display: none !important;
}

/* ═══ تبويب الدورات النشط: كحلي على أبيض (لا يرث أبيض من module-chrome) ═══ */
html body.premium-ui .module-chrome .module-tabs .module-tab.active,
html body.premium-ui .module-chrome .module-tabs .module-tab.active *,
html body .module-chrome .module-tabs .module-tab.active,
html body .module-chrome .module-tabs .module-tab.active *,
html body.premium-ui .module-tabs .module-tab.active,
html body.premium-ui .module-tabs .module-tab.active span,
html body .module-tabs .module-tab.active,
html body .module-tabs .module-tab.active span {
    background: #ffffff !important;
    color: #0A3669 !important;
    -webkit-text-fill-color: #0A3669 !important;
    text-shadow: none !important;
    opacity: 1 !important;
    font-weight: 800 !important;
}
html body.premium-ui .module-chrome .module-tabs .module-tab.active i,
html body .module-chrome .module-tabs .module-tab.active i,
html body.premium-ui .module-tabs .module-tab.active i {
    color: #C9A227 !important;
    -webkit-text-fill-color: #C9A227 !important;
}
html body.premium-ui .module-chrome .module-tabs .module-tab:not(.active),
html body .module-chrome .module-tabs .module-tab:not(.active) {
    color: rgba(255, 255, 255, 0.95) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.95) !important;
}
