.system-details-overlay{position:fixed;inset:0;z-index:80;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:24px 16px;background:#0f172a94!important;backdrop-filter:blur(2px)}.system-details-modal{width:100%;max-height:calc(100vh - 48px);overflow:auto;border:1px solid #cfd7de!important;border-radius:5px!important;background:#fff!important;box-shadow:0 12px 30px #0f172a2e!important;color:#17212b;direction:rtl}.system-details-modal--md{max-width:840px}.system-details-modal--lg{max-width:1040px}.system-details-modal--xl{max-width:1240px}.system-details-header{display:flex;min-height:54px;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px!important;border:0!important;border-bottom:1px solid #087fc8!important;border-radius:4px 4px 0 0!important;background:linear-gradient(180deg,#4cb4f5,#188fdc 58%,#1689d2)!important;color:#fff!important}.system-details-header:before,.system-details-header>.absolute{display:none!important}.system-details-header>*{position:relative;z-index:1}.system-details-header>.flex:first-child:last-child,.system-details-header>.relative.flex{width:100%}.system-details-header h1,.system-details-header h2,.system-details-header h3,.system-details-header p,.system-details-header span{color:#fff!important}.system-details-header h1,.system-details-header h2,.system-details-header h3{margin:0!important;font-size:1.15rem!important;font-weight:800!important}.system-details-header button{border-radius:4px!important;color:#fff!important}.system-details-header button:hover{background:#ffffff29!important}.system-details-content{padding:14px 16px 16px!important}.system-details-content--contains-header{padding-top:0!important}.system-details-content--contains-header>.system-details-header{margin:0 -16px 14px}.system-details-content.space-y-6>:not([hidden])~:not([hidden]){margin-top:12px!important}.system-details-metrics,.system-details-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr))!important;gap:8px!important;padding:0!important;background:transparent!important}.system-details-metrics>*,.system-details-summary>*{min-width:0;padding:10px 12px!important;border:1px solid #d5dade!important;border-radius:3px!important;border-right:3px solid #168ed8!important;background:#f8fbfd!important;box-shadow:none!important;color:#17212b!important;transform:none!important}.system-details-metrics>* p,.system-details-metrics>* span,.system-details-summary>* p,.system-details-summary>* span{color:#17212b!important}.system-details-metrics>* p:first-child,.system-details-metrics>* span:first-child,.system-details-summary>* p:first-child{color:#5c6975!important;font-size:.75rem!important}.system-details-metrics>* p:last-child,.system-details-summary>* p:last-child{margin-top:3px!important;font-size:.98rem!important;font-weight:800!important}.system-details-section{overflow:hidden;padding:12px!important;border:1px solid #d5dade!important;border-radius:3px!important;background:#fff!important;box-shadow:none!important}.system-details-section>h3:first-child,.system-details-section>h4:first-child,.system-details-section>h5:first-child{margin:-12px -12px 12px!important;padding:9px 12px!important;border-bottom:1px solid #58b8ee;background:#dff3fd;color:#075f9b!important;font-size:.92rem!important;font-weight:800!important}.system-details-modal [class*=bg-gradient-to]:not(.system-details-header),.system-details-modal .bg-blue-50,.system-details-modal .bg-cyan-50,.system-details-modal .bg-indigo-50,.system-details-modal .bg-green-50,.system-details-modal .bg-emerald-50,.system-details-modal .bg-purple-50,.system-details-modal .bg-pink-50,.system-details-modal .bg-amber-50,.system-details-modal .bg-orange-50,.system-details-modal .bg-yellow-50,.system-details-modal .bg-gray-50,.system-details-modal .bg-slate-50{background:#f8fbfd!important}.system-details-modal [class*=rounded-]:not(.rounded-full){border-radius:3px!important}.system-details-modal [class*=shadow-]{box-shadow:none!important}.system-details-modal table,.system-details-page-panel table{width:100%;border-collapse:collapse}.system-details-modal thead,.system-details-page-panel thead{background:#c7eafb!important}.system-details-modal th,.system-details-page-panel th{padding:10px 12px!important;border-bottom:1px solid #168ed8!important;color:#075f9b!important;font-size:.78rem!important;font-weight:800!important;white-space:nowrap}.system-details-modal td,.system-details-page-panel td{padding:10px 12px!important;border-bottom:1px solid #e0e4e7!important;color:#26323d;font-size:.82rem}.system-details-modal tbody tr:nth-child(2n),.system-details-page-panel tbody tr:nth-child(2n){background:#f7f7f7}.system-details-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px!important;margin-top:14px!important;padding-top:12px!important;border-top:1px solid #d5dade!important}.system-details-actions button,.system-details-button{min-height:36px;padding:7px 14px!important;border:1px solid #c7d0d8!important;border-radius:4px!important;background:#fff!important;box-shadow:none!important;color:#324252!important;font-size:.82rem;font-weight:700}.system-details-actions button:first-child,.system-details-button--primary{border-color:#087fc8!important;background:#168ed8!important;color:#fff!important}.system-details-page{display:grid;width:100%;min-width:0;min-height:100%;overflow-x:hidden;padding:8px!important;gap:8px;background:#f4f7f9!important;color:#17212b}.system-details-page-shell{display:grid;max-width:none!important;margin:0!important;gap:8px!important}.system-details-page-header{display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px!important;border:1px solid #087fc8;border-radius:4px!important;background:linear-gradient(180deg,#4cb4f5,#188fdc 58%,#1689d2)!important;box-shadow:0 2px 7px #0f172a2e!important;color:#fff!important}.system-details-page-header h1,.system-details-page-header h2,.system-details-page-header p,.system-details-page-header svg{color:#fff!important}.system-details-page-header h1,.system-details-page-header h2{margin:0!important;font-size:1.25rem!important}.system-details-page-header button:not([class*=bg-]),.system-details-page-header select{border:1px solid rgb(255 255 255 / 55%)!important;border-radius:4px!important;background:#ffffff1f!important;color:#fff!important}.system-details-page-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important;gap:1px!important;overflow:hidden;border:1px solid #d5dade;border-radius:3px;background:#d5dade}.system-details-page-metrics>*{padding:10px 12px!important;border:0!important;border-radius:0!important;background:#f8fbfd!important;box-shadow:none!important;color:#17212b!important;transform:none!important}.system-details-page-metrics>* p{color:#17212b!important}.system-details-page-metrics>* p:first-of-type{color:#5c6975!important;font-size:.75rem!important}.system-details-page-metrics>* p:nth-of-type(2){margin-top:2px!important;font-size:1.05rem!important}.system-details-page-panel{overflow:hidden;padding:0!important;border:1px solid #d5dade!important;border-radius:3px!important;background:#fff!important;box-shadow:0 2px 5px #0f172a1a!important}.system-details-page-panel>.system-details-panel-heading{min-height:46px;margin:0!important;padding:8px 12px!important;border-bottom:1px solid #d5dade;background:#fff;color:#075f9b!important}.system-details-page-panel>.system-details-panel-heading h1,.system-details-page-panel>.system-details-panel-heading h2,.system-details-page-panel>.system-details-panel-heading h3,.system-details-page-panel>.system-details-panel-heading svg{color:#075f9b!important}.system-details-page-panel>:not(.system-details-panel-heading){margin-right:0;margin-left:0}.system-details-page-panel .overflow-x-auto{max-width:100%}.system-details-page-panel .space-y-2{padding:10px 12px}.system-details-page-panel .space-y-2>div{border:1px solid #e0e4e7;border-radius:3px!important;background:#f8fbfd!important}.system-details-page .container{width:100%;max-width:none;padding-right:0!important;padding-left:0!important}.system-details-page .system-details-page-header+.system-details-page-metrics{margin-top:0!important}.system-profile-page .profile-status-select,.system-profile-page .profile-primary-action{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:6px;padding:6px 11px;border:1px solid rgb(255 255 255 / 65%);border-radius:4px;background:#005b9e5c;color:#fff;font-size:.78rem;font-weight:800;box-shadow:none}.system-profile-page .profile-status-select option{background:#fff;color:#17212b}.system-profile-page .profile-primary-action:hover{background:#004e9185}.purchase-details-profile .system-profile-panel>.space-y-2{display:grid;gap:0;padding:10px 12px}.purchase-details-profile .system-profile-panel>.space-y-2>div{margin:0;border:1px solid #d7dde1;border-bottom-width:0;border-radius:0!important;background:#fff!important}.purchase-details-profile .system-profile-panel>.space-y-2>div:nth-child(2n){background:#f3f3f3!important}.purchase-details-profile .system-profile-panel>.space-y-2>div:last-child{border-bottom-width:1px}.warehouse-details-profile .system-profile-panel>[class*=from-slate-50]{border-top:1px solid #d5dade;background:#f8fbfd!important}.warehouse-details-profile .system-profile-panel .w-10.h-10{width:30px!important;height:30px!important;border-radius:3px!important;background:#168ed8!important}@media (max-width: 768px){.system-details-overlay{padding:8px}.system-details-modal{max-height:calc(100vh - 16px)}.system-details-header,.system-details-page-header{align-items:flex-start;flex-direction:column}.system-details-metrics,.system-details-summary,.system-details-page-metrics{grid-template-columns:1fr 1fr!important}}@media (max-width: 480px){.system-details-metrics,.system-details-summary,.system-details-page-metrics{grid-template-columns:1fr!important}}.purchase-entry-modal{width:min(760px,100%);overflow:hidden}.purchase-entry-modal--compact{width:min(580px,100%)}.purchase-entry-modal-body{max-height:calc(100vh - 190px);overflow-y:auto}.purchase-entry-fields label{color:#334155;font-weight:800}.purchase-entry-fields input,.purchase-entry-fields select,.purchase-entry-fields textarea,.purchase-entry-fields .shamsi-date-picker{width:100%;min-height:46px;border:1px solid #d5d8dd!important;border-radius:10px!important;background:#fff;padding-block:10px!important;padding-inline-start:44px!important;padding-inline-end:14px!important;color:#202a35;font-size:14px;font-weight:600;outline:none;transition:border-color .14s ease,box-shadow .14s ease}.purchase-entry-fields textarea{min-height:82px;resize:vertical}.purchase-entry-fields select{padding-inline-end:34px!important}.purchase-entry-fields .system-insert-date .shamsi-date-picker,.purchase-entry-fields.system-insert-grid>.system-insert-date .shamsi-date-picker{padding-inline-start:14px!important}.purchase-entry-fields input:focus,.purchase-entry-fields select:focus,.purchase-entry-fields textarea:focus,.purchase-entry-fields .shamsi-date-picker:focus-within{border-color:#2587da!important;box-shadow:0 0 0 3px #2587da24}.purchase-entry-summary{border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;padding:12px 14px}.purchase-entry-modal .system-insert-actions{position:sticky;bottom:-20px;z-index:3;margin:22px -28px -20px;padding:14px 28px;background:#fff}@media (max-width: 640px){.purchase-entry-modal-body{max-height:calc(100vh - 125px);padding:18px 16px 16px}.purchase-entry-modal .system-insert-actions{bottom:-16px;margin:20px -16px -16px;padding:12px 16px}}.purchase-complete-modal{width:min(1180px,100%);overflow:hidden}.purchase-complete-modal-body{max-height:calc(100vh - 190px);overflow-y:auto}.purchase-complete-warehouse{padding:14px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff}.purchase-complete-warehouse select,.purchase-complete-item-warehouse select,.purchase-complete-fields input,.purchase-complete-fields select{width:100%;height:48px;border:1px solid #d5d8dd!important;border-radius:10px!important;background:#fff;padding-inline-start:44px;padding-inline-end:34px;color:#202a35;font-size:14px;font-weight:600;outline:none}.purchase-complete-warehouse .system-insert-field-icon{inset-inline-start:27px}.purchase-complete-item-warehouse{margin-bottom:16px}.purchase-complete-item-warehouse select{background:#fff}.purchase-completion-financial-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px;border:1px solid #f4c76d;border-radius:8px;background:#fff8e8}.purchase-completion-financial-summary>div{display:flex;flex-direction:column;gap:5px;padding:10px 12px;border:1px solid #fde4a8;border-radius:7px;background:#fff}.purchase-completion-financial-summary span{color:#64748b;font-size:12px;font-weight:700}.purchase-completion-financial-summary strong{color:#b45309;font-size:17px}.purchase-completion-financial-summary>p{grid-column:1 / -1;color:#92400e;font-size:13px;font-weight:700}.purchase-complete-section-title{display:flex;align-items:center;gap:9px;color:#1e3a5f}.purchase-complete-section-title svg{width:22px;color:#1479d0}.purchase-complete-section-title h4{font-size:17px;font-weight:900}.purchase-complete-item{padding:16px;border:1px solid #dce2e7;border-radius:8px;background:#f8fafc}.purchase-complete-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #d5d8dd}.purchase-complete-info-grid>div{padding:10px 12px;border:1px solid #e2e8f0;border-radius:7px;background:#fff}.purchase-complete-existing{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #bbf7d0;border-radius:8px;background:#f0fdf4;cursor:pointer}.purchase-complete-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.purchase-complete-fields input:focus,.purchase-complete-fields select:focus,.purchase-complete-item-warehouse select:focus,.purchase-complete-warehouse select:focus{border-color:#2587da!important;box-shadow:0 0 0 3px #2587da24}.purchase-complete-fields input:disabled{background:#eef2f6;color:#64748b}.purchase-complete-actions{position:sticky;bottom:-20px;z-index:3;margin:22px -28px -20px;padding:14px 28px;background:#fff}.purchase-complete-actions button:disabled,.purchase-complete-modal .system-insert-close:disabled{cursor:not-allowed;opacity:.55}@media (max-width: 900px){.purchase-complete-info-grid,.purchase-complete-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 640px){.purchase-complete-modal-body{max-height:calc(100vh - 125px);padding:16px}.purchase-complete-info-grid,.purchase-complete-fields,.purchase-completion-financial-summary{grid-template-columns:1fr}.purchase-complete-actions{bottom:-16px;margin:20px -16px -16px;padding:12px 16px}}
