/* AF-Health bilingual brand lockup and per-theme identity icons. */
.afghan-cure-brand-lockup{display:inline-flex;align-items:center;gap:11px;min-width:0}
.afghan-cure-brand-mark{position:relative;display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:15px;isolation:isolate}
.afghan-cure-brand-mark:after{content:"";position:absolute;inset:7px 6px -5px;border-radius:50%;background:color-mix(in srgb,var(--primary,#168df0) 24%,transparent);filter:blur(11px);opacity:.46;z-index:-1;pointer-events:none}
.afghan-cure-brand-mark img{display:block;width:48px!important;height:48px!important;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(7,24,46,.14))}
.afghan-cure-brand-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start;justify-content:center;line-height:1}
.afghan-cure-brand-title{display:block;color:currentColor;font-family:var(--theme-heading-font,var(--font-heading,var(--font-ui,Inter,system-ui,sans-serif)));font-size:1.03rem;font-style:normal;font-weight:880;line-height:1.02;letter-spacing:-.038em;white-space:nowrap}
.afghan-cure-brand-title em{color:var(--primary,#168df0);font-style:normal;font-weight:900}
.afghan-cure-brand-fa,.brand-copy .afghan-cure-brand-fa{display:block!important;margin-top:5px!important;color:color-mix(in srgb,currentColor 60%,var(--muted,#64748b))!important;font-family:var(--font-ui,"Noto Sans Arabic",Tahoma,Arial,sans-serif)!important;font-size:.7rem!important;font-weight:720!important;line-height:1.25!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap}
.public-brand{gap:0!important}
.public-brand .afghan-cure-brand-mark{flex-basis:50px;width:50px;height:50px}
.public-brand .afghan-cure-brand-mark img{width:50px!important;height:50px!important}
.public-header .public-brand{color:var(--public-menu-text,var(--navy,#10233f))}
.public-header .public-brand:hover .afghan-cure-brand-title{opacity:.92}
.footer-brand .afghan-cure-brand-lockup{gap:10px}.footer-brand .afghan-cure-brand-mark{width:44px;height:44px;flex-basis:44px}.footer-brand .afghan-cure-brand-mark img{width:44px!important;height:44px!important}.footer-brand .afghan-cure-brand-title{color:#fff}.footer-brand .afghan-cure-brand-fa,.footer-brand .brand-copy .afghan-cure-brand-fa{color:#8fa8bf!important}
.sidebar .app-brand .afghan-cure-brand-lockup{gap:10px}.sidebar .app-brand .afghan-cure-brand-mark{width:42px;height:42px;flex-basis:42px}.sidebar .app-brand .afghan-cure-brand-mark img{width:42px!important;height:42px!important;filter:drop-shadow(0 8px 12px rgba(0,0,0,.18))}.sidebar .app-brand .afghan-cure-brand-title{color:#fff;font-size:.94rem}.sidebar .app-brand .afghan-cure-brand-title em{color:#5eead4}.sidebar .app-brand .afghan-cure-brand-fa,.sidebar .app-brand .brand-copy .afghan-cure-brand-fa{color:#88a7c3!important;font-size:.61rem!important}
.frontend-preview-theme-icon{display:grid!important;place-items:center!important;overflow:visible!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.2)!important;padding:4px!important}.frontend-preview-theme-icon img{display:block;width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 4px 7px rgba(4,20,44,.18))}
body.role-admin .theme-preview-logo{display:grid!important;place-items:center!important;overflow:hidden!important;background:transparent!important;border-radius:9px!important}.theme-preview-logo img{display:block;width:28px;height:28px;object-fit:contain}
@media(max-width:760px){.public-brand .afghan-cure-brand-mark{width:44px;height:44px;flex-basis:44px}.public-brand .afghan-cure-brand-mark img{width:44px!important;height:44px!important}.afghan-cure-brand-title{font-size:.94rem}.public-brand .afghan-cure-brand-fa{font-size:.64rem!important}}
@media(max-width:650px){.public-brand .afghan-cure-brand-fa{display:none!important}.public-brand .afghan-cure-brand-mark{width:40px;height:40px;flex-basis:40px}.public-brand .afghan-cure-brand-mark img{width:40px!important;height:40px!important}.public-brand .afghan-cure-brand-title{font-size:.88rem}}
@media(max-width:430px){.public-brand .afghan-cure-brand-title{display:none}.public-brand .afghan-cure-brand-lockup{gap:0}}


/* Independent uploaded logo surfaces.
 * Header, provider portal, and footer each resolve their own appearance setting.
 * Every context preserves the uploaded image aspect ratio and never adds a border,
 * radius, or image box. */
.footer-synced-brand,
.provider-synced-brand{display:inline-flex!important;align-items:center!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.footer-synced-brand .afghan-cure-header-logo-shell--footer{display:flex;align-items:center;justify-content:flex-start;width:212px;height:52px;max-width:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.footer-synced-brand .afghan-cure-header-logo-shell--footer .afghan-cure-header-logo-image{display:block;width:202px!important;height:46px!important;max-width:100%!important;object-fit:contain!important;object-position:left center!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;filter:none!important}
body.provider-portal .sidebar .provider-synced-brand{width:100%!important;max-width:224px!important;overflow:visible!important}
body.provider-portal .sidebar .provider-synced-brand .afghan-cure-header-logo-shell--provider{display:flex;align-items:center;justify-content:flex-start;width:210px;height:52px;max-width:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
body.provider-portal .sidebar .provider-synced-brand .afghan-cure-header-logo-shell--provider .afghan-cure-header-logo-image{display:block;width:200px!important;height:46px!important;max-width:100%!important;object-fit:contain!important;object-position:left center!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;filter:none!important}
@media(max-width:760px){
  .footer-synced-brand .afghan-cure-header-logo-shell--footer{width:196px;height:48px}
  .footer-synced-brand .afghan-cure-header-logo-shell--footer .afghan-cure-header-logo-image{width:186px!important;height:42px!important}
}
