html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}html{overflow-y:scroll;overflow-x:hidden;scrollbar-gutter:stable}html.pos-active{overflow-y:auto;scrollbar-gutter:auto;background:linear-gradient(135deg,#e3e4dc,#f1e2d6)!important;background-attachment:fixed!important}html[data-theme=dark].pos-active{background:linear-gradient(135deg,#0b0f17,#141210)!important}html.pos-active body,html.pos-active #vue3-app{background-color:transparent!important;background-image:none!important}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html[data-lang=ar] body,html[data-lang=ar] #vue3-app,html[data-lang=ar] .ant-app{font-family:El Messiri,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html[data-lang=en] body,html[data-lang=en] #vue3-app,html[data-lang=en] .ant-app{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.page{width:100%}.page-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.kpi-delta-up{color:#52c41a;font-size:13px;font-weight:600}.kpi-delta-down{color:#ff4d4f;font-size:13px;font-weight:600}.chart-card .ant-card-body{padding-top:8px}.payment-row{margin-bottom:16px}.payment-row:last-child{margin-bottom:0}.payment-label{display:flex;justify-content:space-between;font-size:13px;margin-bottom:4px}.ant-upload-wrapper{display:block}.ant-table-wrapper{max-width:100%}.ant-table-wrapper .ant-spin-container{width:100%}.ant-table-wrapper .ant-table,.ant-table-wrapper .ant-table-container{max-width:100%}.ant-table-wrapper .ant-table-content{overflow-x:auto}html[data-lang=ar] body,html[data-lang=ar] body *{font-family:El Messiri,-apple-system,BlinkMacSystemFont,Segoe UI,Tahoma,sans-serif!important}html[data-lang=en] body,html[data-lang=en] body *{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Tahoma,sans-serif!important}@property --search-angle{syntax: "<angle>"; initial-value: 0deg; inherits: false;}:root{--z-base: 0;--z-cards: 1;--z-sticky: 100;--z-header: 200;--z-dropdown: 300;--z-drawer: 400;--z-modal: 500;--z-toast: 2100;--canvas: #f7f6f2;--canvas-grid: rgba(28, 31, 38, .035);--surface: rgba(255, 254, 251, .86);--surface-solid: #fffefb;--surface-muted: rgba(255, 254, 251, .64);--surface-sidebar: rgba(252, 251, 247, .88);--surface-topbar: rgba(252, 251, 247, .78);--ink: #18181b;--ink-strong: #121316;--muted: #52525b;--muted-soft: #71717a;--line: rgba(24, 21, 17, .06);--line-strong: rgba(28, 31, 38, .13);--hover: rgba(15, 95, 92, .055);--emerald: #0f5f5c;--emerald-bright: #0d9488;--emerald-dark: #0f766e;--emerald-soft: #ecfdf5;--emerald-border: #a7f3d0;--shadow-idle: none;--shadow-hover: none}html[data-theme=dark]{--canvas: #0b0f17;--canvas-grid: rgba(148, 163, 184, .065);--surface: rgba(17, 24, 39, .82);--surface-solid: #111827;--surface-muted: rgba(17, 24, 39, .62);--surface-sidebar: rgba(10, 15, 23, .9);--surface-topbar: rgba(10, 15, 23, .82);--ink: #f1f5f9;--ink-strong: #f8fafc;--muted: #94a3b8;--muted-soft: #7c8ba1;--line: rgba(255, 255, 255, .1);--line-strong: rgba(255, 255, 255, .13);--hover: rgba(16, 185, 129, .09);--emerald: #10b981;--emerald-bright: #2dd4bf;--emerald-dark: #5eead4;--emerald-soft: rgba(16, 185, 129, .12);--emerald-border: rgba(52, 211, 153, .3);--shadow-idle: none;--shadow-hover: none}html,body,#vue3-app{background-color:var(--canvas)!important;color:var(--ink)}body{background-image:radial-gradient(var(--canvas-grid) 1px,transparent 1px);background-size:24px 24px;background-attachment:fixed;font-variant-numeric:tabular-nums}.app-layout,.app-main,.ant-layout,.ant-layout-content,.ant-layout-header,.ant-layout-footer,.content{background:transparent!important}.ant-layout-header{overflow:visible}.sider{background:var(--surface-sidebar)!important;backdrop-filter:blur(12px) saturate(140%);-webkit-backdrop-filter:blur(12px) saturate(140%);border-inline-end:1px solid var(--line)!important}.topbar{background:var(--surface-topbar)!important;backdrop-filter:blur(12px) saturate(140%);-webkit-backdrop-filter:blur(12px) saturate(140%);border-bottom:1px solid var(--line)!important}.ant-card,.card,.stat-card,.filters-card,.qa-card,.settings-card,.freeze-banner{background:var(--surface)!important;border:1px solid var(--line)!important;backdrop-filter:blur(12px) saturate(140%);-webkit-backdrop-filter:blur(12px) saturate(140%);border-radius:14px;transition:box-shadow .24s cubic-bezier(.22,1,.36,1),transform .24s cubic-bezier(.22,1,.36,1),border-color .24s cubic-bezier(.22,1,.36,1)!important}.ant-card:hover,.card:hover,.stat-card:hover{border-color:var(--line-strong)!important}.ant-modal-content,.ant-drawer-content,.ant-drawer-content-wrapper,.ant-dropdown-menu,.ant-select-dropdown,.ant-picker-panel,.ant-popover-inner,.ant-notification-notice,.ant-message-notice-content{background:var(--surface-solid)!important;border:1px solid var(--line)!important;backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%)}.ant-table{background:transparent!important;color:var(--ink)!important}.ant-table-thead>tr>th{background:var(--surface-muted)!important;color:var(--muted)!important;border-bottom:1px solid var(--line)!important;font-weight:700}.ant-table-tbody>tr>td{background:transparent!important;border-bottom:1px solid var(--line)!important;color:var(--ink)}.ant-table-tbody>tr:hover>td{background:var(--hover)!important}.ant-table-cell .ant-tag,.ant-tag{border-radius:999px}.ant-input,.ant-input-affix-wrapper,.ant-input-number,.ant-input-number-input,.ant-picker,.ant-select-selector{background:var(--surface-solid)!important;border-color:var(--line)!important;color:var(--ink)!important}.ant-input::placeholder,.ant-select-selection-placeholder{color:var(--muted-soft)!important}.ant-btn-default{background:var(--surface-solid)!important;border-color:var(--line)!important;color:var(--ink)!important}.search-card{position:relative;isolation:isolate;background:var(--pos-panel-bg, rgba(255, 255, 255, .8))!important;border:1px solid transparent!important;outline:none!important;backdrop-filter:blur(12px) saturate(140%);-webkit-backdrop-filter:blur(12px) saturate(140%);transition:border-color .24s ease!important;z-index:var(--z-cards)}.search-card:before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border-radius:inherit;padding:1px;background:linear-gradient(90deg,#094a4c,#d4af37,#f5e6a8,#c59b27,#094a4c);background-size:200% 100%;background-repeat:repeat-x;animation:pos-search-gold 6s linear infinite;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;opacity:.7;transition:top .18s ease,right .18s ease,bottom .18s ease,left .18s ease,padding .18s ease,opacity .24s ease;pointer-events:none;z-index:var(--z-cards)}.search-card:hover:before,.search-card:focus-within:before{opacity:1}.search-card:focus-within{border-color:transparent!important;outline:none!important}.search-card:focus-within:before{top:-2px;right:-2px;bottom:-2px;left:-2px;padding:2px;opacity:1}.search-card:focus,.search-card:focus-visible,.search-input,.search-input:focus,.search-input:focus-visible{outline:none!important}.search-input{border:0!important;-webkit-appearance:none;-moz-appearance:none;appearance:none}@keyframes pos-search-gold{to{background-position:-200% 0}}html[data-theme=dark] .search-card:before{opacity:.9}@media(prefers-reduced-motion:reduce){.search-card:before{animation:none;opacity:.85}.search-card:after{display:none}}.ant-message,.ant-notification,.ant-notification-top,.ant-notification-topRight,.ant-notification-topLeft,.toast-banner,.portal-toast{top:32px!important;z-index:2100!important}.ant-message-notice-content{max-width:calc(100vw - 32px)}.add-btn,.quick-pill,.order-submit,.med-card,.qa-tile{transition:transform .22s cubic-bezier(.22,1,.36,1),box-shadow .22s cubic-bezier(.22,1,.36,1),background .22s cubic-bezier(.22,1,.36,1),color .22s cubic-bezier(.22,1,.36,1)!important}.add-btn:active,.quick-pill:active,.order-submit:active{transform:scale(.97)}.med-card:hover{transform:translateY(-2px)}@media(prefers-reduced-motion:reduce){.search-card:before{animation:none!important}.add-btn,.quick-pill,.order-submit,.med-card,.qa-tile,.ant-card,.card,.stat-card{transition:none!important;animation:none!important}.med-card:hover{transform:none}}.portal-header,.cart-panel,.card-panel,.table-card,.med-card,.empty-state,.statement-card{background:var(--pos-panel-bg, var(--surface))!important;border-color:var(--pos-panel-border, var(--line))!important;color:var(--ink)!important;backdrop-filter:blur(12px) saturate(140%);-webkit-backdrop-filter:blur(12px) saturate(140%)}.med-name,.section-head h2,.cart-head h2,.statement-card strong,.med-card h3{color:var(--ink)!important}.med-price,.cart-total strong,.cart-line-total,.identity-name{color:var(--emerald)!important;font-variant-numeric:tabular-nums}.cart-sub,.section-head p,.results-row,.med-card p,.med-card small,.statement-card span{color:var(--muted)!important}.ingredient-pill,.cart-count,.identity-avatar{background:var(--emerald-soft)!important;color:var(--emerald)!important;border-color:var(--emerald-border)!important}.quick-pill,.outline-btn,.stepper,.qty-stepper,.role-pill{background:var(--surface-solid)!important;border-color:var(--line)!important;color:var(--ink)!important}.data-table th{background:var(--surface-muted)!important;color:var(--muted)!important;border-color:var(--line)!important}.data-table td{color:var(--ink)!important;border-color:var(--line)!important}.data-table tbody tr:hover{background:var(--hover)!important}.cod-note{background:#f59e0b1a!important;border-color:#f59e0b47!important;color:var(--ink)!important}html[data-theme=dark] .pharmacy-portal{--emerald: var(--color-primary);--emerald-dark: var(--color-primary-hover);--emerald-soft: rgba(var(--color-primary-rgb), .14);--emerald-border: rgba(var(--color-primary-rgb), .35);--slate-bg: #0b0f17;--ink: #f1f5f9;--muted: #94a3b8;--line: rgba(255, 255, 255, .1);--pos-panel-bg: rgba(22, 29, 38, .8);--pos-panel-border: rgba(255, 255, 255, .1)}html[data-theme=dark] .pos-blueprint-grid{background-image:linear-gradient(to right,rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.04) 1px,transparent 1px)}html[data-theme=dark] .ant-modal-content,html[data-theme=dark] .ant-modal-header,html[data-theme=dark] .ant-modal-footer,html[data-theme=dark] .ant-drawer-content{background:#141b24!important;color:#f1f5f9!important;border-color:#ffffff1a!important}html[data-theme=dark] .ant-modal-title,html[data-theme=dark] .ant-drawer-title{color:#f1f5f9!important}html[data-theme=dark] .ant-modal-close{color:#cbd5e1!important}html[data-theme=dark] .ant-modal .ant-card,html[data-theme=dark] .ant-modal .ant-table,html[data-theme=dark] .ant-drawer .ant-card,html[data-theme=dark] .ant-drawer .ant-table{background:#1c2530!important;color:#f1f5f9!important;border-color:#ffffff1a!important}html[data-theme=dark] .ant-select-dropdown,html[data-theme=dark] .ant-dropdown-menu,html[data-theme=dark] .ant-popover-inner,html[data-theme=dark] .ant-picker-panel,html[data-theme=dark] .ant-tooltip-inner{background:#141b24!important;color:#f1f5f9!important;border-color:#ffffff1a!important}html[data-theme=dark] .ant-select-item-option-active:not(.ant-select-item-option-disabled),html[data-theme=dark] .ant-dropdown-menu-item:hover{background:#ffffff0f!important}html[data-theme=dark] .ant-message-notice-content,html[data-theme=dark] .ant-notification-notice{background:#141b24!important;color:#f1f5f9!important;border-color:#ffffff1a!important}html[data-theme=dark] .ant-modal .ant-input,html[data-theme=dark] .ant-modal .ant-select-selector,html[data-theme=dark] .ant-modal .ant-btn-default,html[data-theme=dark] .ant-drawer .ant-input,html[data-theme=dark] .ant-drawer .ant-select-selector,html[data-theme=dark] .ant-drawer .ant-btn-default{background:#1c2530!important;color:#f1f5f9!important;border-color:#ffffff1a!important}html[data-theme=dark] .ant-drawer .ant-drawer-body{color:#f1f5f9}*,*:before,*:after{}.ant-card,.ant-modal-content,.ant-drawer-content,.ant-dropdown-menu,.ant-select-dropdown,.ant-popover-inner,.ant-picker-panel,.ant-notification-notice,.ant-message-notice-content,.ant-table,.ant-table-container,.product-modal,.product-card,.panel-card,.account-menu,.notif-menu,.tb-menu-list,.pharmacy-menu,.table-card,.card-panel,.statement-card,.wishlist-card,.order-summary-grid>div,.portal-header,.topbar,.sider,.cart-panel,.med-card,.empty-state,.mobile-cart-bar{border:1px solid var(--line)!important;}.add-btn,.order-submit,.auth-submit,.mobile-cart-cta{border:1px solid rgba(255,255,255,.18)!important}:where(button,a,input,select,textarea):focus-visible{outline:2px solid rgba(var(--color-primary-rgb, 9, 74, 76),.55);outline-offset:2px}

/* Frosted Architectural Elevation */
.panel, .card, .pos-card, .pos-panel,
.portal-header, .search-card, .med-card, .skeleton-card, .table-card, .wishlist-card, .statement-card, .cart-panel, .product-modal,
.ant-card, .ant-modal-content {
  position: relative;
  background-color: rgb(var(--surface-2) / 0.80) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgb(var(--border)) !important;
  border-radius: 1rem !important;
  box-shadow: 0 20px 60px -40px rgb(15 23 42 / 0.4) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-interactive:hover, .pos-card-interactive:hover, .med-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1) !important;
}

input, select, textarea, .search-input, .guided-input {
  background-color: rgb(255 255 255);
  border: 1px solid rgb(203 213 225);
  border-radius: 0.375rem;
  box-shadow: none;
}
input:focus-visible, select:focus-visible, textarea:focus-visible,
.search-input:focus-visible, .guided-input:focus-visible,
input:focus, select:focus, textarea:focus {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 2px rgb(21 96 85 / 0.35), 0 0 0 4px rgb(255 255 255);
}
.dark input, .dark select, .dark textarea, .dark .search-input, .dark .guided-input,
html[data-theme=dark] input, html[data-theme=dark] select, html[data-theme=dark] textarea,
html[data-theme=dark] .search-input, html[data-theme=dark] .guided-input {
  background-color: rgb(var(--surface-2)) !important;
  border: 1px solid rgb(var(--border)) !important;
  color: rgb(241 245 249) !important;
}
