/* Torang presentation system. Existing component IDs and plugin state are authoritative. */
@font-face{font-family:Vazirmatn;src:url('../fonts/vazirmatn/Vazirmatn-FD-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Vazirmatn;src:url('../fonts/vazirmatn/Vazirmatn-FD-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Vazirmatn;src:url('../fonts/vazirmatn/Vazirmatn-FD-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Vazirmatn;src:url('../fonts/vazirmatn/Vazirmatn-FD-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
:root{--ap-navy:#192d4c;--ap-deep:#111e33;--ap-gold:#c4a263;--ap-primary:var(--ap-navy);--ap-primary-hover:#253f65;--ap-primary-subtle:#edf1f7;--ap-accent:var(--ap-gold);--ap-accent-subtle:#faf4e8;--ap-bg:#f3f5f8;--ap-page:var(--ap-bg);--ap-canvas:var(--ap-bg);--ap-surface:#fff;--ap-line:#e4e9f0;--ap-stroke:var(--ap-line);--ap-text:#29384e;--ap-fg:var(--ap-text);--ap-muted:#68788e;--ap-hint:var(--ap-muted);--ap-text-subtle:var(--ap-muted);--ap-radius:12px;--ap-ra:12px;--ap-radius-sm:8px;--ap-radius-md:12px;--ap-radius-lg:16px;--ap-shadow:0 3px 14px rgba(26,43,67,.035);--ap-soft-shadow:var(--ap-shadow);--ap-focus:#a5844b}
body.ap-admin-theme,body.ap-login-theme{font-family:Vazirmatn,Tahoma,sans-serif!important;background:var(--ap-bg)!important;color:var(--ap-text);direction:rtl;text-align:right;font-size:13px;line-height:1.8}
:is(.ap-admin-theme,.ap-login-theme) :is(input,button,select,textarea,.btn,.form-control,.dropdown-menu,.select2-container,.modal,.popover,.tooltip,.swal2-popup,.datatable,.ui-jqgrid){font-family:Vazirmatn,Tahoma,sans-serif!important;letter-spacing:0}
:is(.ap-admin-theme,.ap-login-theme) :is(h1,h2,h3,h4,h5,h6){font-family:inherit;line-height:1.65;font-weight:700;letter-spacing:0}
.ap-admin-theme :is(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--ap-focus);outline-offset:3px}
.ap-admin-theme a{color:var(--ap-navy);text-underline-offset:4px}
.ap-admin-theme a:hover{color:#8b682c}
.ap-admin-theme :is(.wrapper,.content,.container-fluid,.flex-row-fluid,.card-body,.modal-body){min-width:0}
.ap-admin-theme #kt_content{background:var(--ap-bg);padding-top:0}
.ap-admin-theme #kt_header{height:72px;background:#fff;border-bottom:1px solid var(--ap-line);box-shadow:none}
.ap-admin-theme #kt_header>.container-fluid{padding-inline:28px;align-items:center!important;gap:16px}
.ap-workspace-heading{display:flex;gap:12px;align-items:center;min-width:0}
.ap-workspace-heading strong{font-size:14px;font-weight:700;color:var(--ap-navy);display:block}
.ap-workspace-heading small{display:block;color:var(--ap-muted);font-size:11px}
.ap-workspace-mark{display:grid;place-items:center;width:38px;height:38px;background:var(--ap-accent-subtle);color:#997333;border:1px solid #ede0c9;border-radius:11px}
.ap-admin-theme .topbar{align-items:center;gap:8px;margin-inline-start:auto;flex-shrink:0}
.ap-admin-theme :is(#kt_aside,#kt_aside_menu,#kt_brand){background:#151f30!important}
.ap-admin-theme #kt_brand{height:72px;padding-inline:25px;border-bottom:1px solid #ffffff10}
.ap-admin-theme .brand-logo img{max-width:145px;object-fit:contain}
.ap-admin-theme .brand-toggle .svg-icon svg [fill]:not([fill=none]){fill:#c4a263!important}
.ap-admin-theme #kt_aside_menu_wrapper{right:0!important;left:auto!important;direction:rtl}
.ap-admin-theme #kt_aside_menu{margin-block:0!important}
.ap-admin-theme .aside-menu .menu-nav{padding:8px 12px 24px!important}
.ap-admin-theme .aside-menu .menu-nav>.menu-item{margin:3px 0}
.ap-admin-theme .aside-menu .menu-nav>.menu-item>.menu-link{padding:12px 14px!important;min-height:46px;border-radius:8px;gap:5px;transition:background .15s}
.ap-admin-theme .aside-menu .menu-nav .menu-link .menu-text{font-size:12px!important;line-height:1.9;color:#c4cddd!important;font-weight:400}
.ap-admin-theme .aside-menu .menu-nav .menu-link :is(.menu-icon,.menu-icon i,.menu-arrow){color:#8d9db5!important}
.ap-admin-theme .aside-menu .menu-nav .menu-item>.menu-link:hover{background:#ffffff09!important}
.ap-admin-theme .aside-menu .menu-nav .menu-item.menu-item-active>.menu-link{background:#c4a2631e!important;box-shadow:inset -3px 0 0 var(--ap-gold)}
.ap-admin-theme .aside-menu .menu-nav :is(.menu-item-active,.menu-item-open)>.menu-link .menu-text{color:#e9cd99!important;font-weight:500}
.ap-admin-theme .aside-menu .menu-nav :is(.menu-item-active,.menu-item-open)>.menu-link :is(.menu-icon i,.menu-arrow){color:var(--ap-gold)!important}
.ap-admin-theme .aside-menu .menu-submenu .menu-link{padding-block:9px!important;min-height:40px}
.ap-admin-theme .aside-menu .menu-subnav{border-inline-start:1px solid #ffffff14;margin-inline-start:23px!important}
.ap-admin-theme .aside-menu .menu-bullet>span{background:#64748b!important}
.ap-admin-theme .aside-menu .menu-item-active>.menu-link .menu-bullet>span{background:var(--ap-gold)!important}
.ap-menu-search{position:relative;margin:18px 18px 8px;color:#9eafc8}
.ap-menu-search input{width:100%;min-height:40px;padding:9px 34px;border:1px solid #ffffff16;border-radius:8px;background:#ffffff06;color:#fff;outline:none}
.ap-menu-search input::placeholder{color:#91a0b6;font-size:11px}
.ap-menu-search>i{position:absolute;right:12px;top:14px;font-size:12px}
.ap-menu-search button{position:absolute;left:4px;top:3px;border:0;border-radius:6px;background:transparent;color:#aebed5;width:32px;height:34px}
.ap-menu-empty{padding:12px 22px;color:#c7d0df;font-size:12px}
.ap-menu-filtered{display:none!important}
.ap-menu-match>.menu-submenu{display:block!important}
.ap-skip-link{position:fixed;top:-100px;right:280px;z-index:9999;padding:12px 20px;background:white;border:2px solid var(--ap-gold);border-radius:8px}
.ap-skip-link:focus{top:12px}
.ap-admin-theme .subheader{padding:24px 0 18px!important;background:transparent}
.ap-admin-theme .subheader>.container-fluid{gap:14px}
.ap-admin-theme .subheader h5{font-size:21px;color:var(--ap-navy)!important;font-weight:700!important;margin-inline:0!important}
.ap-admin-theme .subheader h5:empty{display:none}
.ap-admin-theme .subheader .d-flex{gap:8px}
.ap-admin-theme #kt_content>.d-flex>.container-fluid,.ap-admin-theme .subheader>.container-fluid{padding-inline:28px}
.ap-admin-theme #kt_block_portlet>.card-body{background:white;border:1px solid var(--ap-line);border-radius:12px;padding:24px}
.ap-admin-theme :is(.card,.card.card-custom,.kt-portlet,.panel,.cmp-card,.pm-card,.pm-hero,.cm-card,.sync-card,.pcb-card){border:1px solid var(--ap-line);border-radius:var(--ap-radius);box-shadow:var(--ap-shadow);background:#fff}
.ap-admin-theme :is(.card-header,.card.card-custom>.card-header,.kt-portlet__head,.panel-heading){padding:18px 24px;min-height:64px;border-bottom:1px solid var(--ap-line);background:transparent;gap:12px;flex-wrap:wrap}
.ap-admin-theme :is(.card-header,.kt-portlet__head) :is(h3,h4,h5,.card-label,.kt-portlet__head-title){font-size:15px;font-weight:700;color:var(--ap-navy)}
.ap-admin-theme .card.card-custom>.card-header .card-title{margin-block:0;min-width:0;flex-wrap:wrap}
.ap-admin-theme .card-header .card-label small{display:block;font-size:11px;color:var(--ap-muted);margin-top:5px;line-height:1.9}
.ap-admin-theme :is(.card-body,.card.card-custom>.card-body,.kt-portlet__body){padding:24px}
.ap-admin-theme :is(.card-footer,.modal-footer){border-top:1px solid var(--ap-line);background:#fcfdff;padding:16px 24px;gap:8px}
.ap-admin-theme :is(.gutter-b,.card.mb-5){margin-bottom:22px}
.ap-admin-theme :is(.text-muted,.form-text){color:var(--ap-muted)!important}
.ap-admin-theme :is(.form-group label,.control-label,.col-form-label){color:#465570;font-size:12px;font-weight:500;line-height:1.8;margin-bottom:7px}
.ap-admin-theme .form-group{margin-bottom:20px}
.ap-admin-theme :is(.form-control,.custom-select,.select2-container--default .select2-selection--single,.select2-container--default .select2-selection--multiple,.bootstrap-select>.dropdown-toggle){border:1px solid #dce3ed;border-radius:8px;background:#fff;color:var(--ap-text);min-height:42px;box-shadow:none;font-size:13px}
.ap-admin-theme :is(input.form-control,select.form-control,.custom-select){height:42px}
.ap-admin-theme textarea.form-control{height:auto;min-height:112px;line-height:1.9}
.ap-admin-theme :is(.form-control,.custom-select):focus{border-color:#a99061;box-shadow:0 0 0 3px #c4a26320;background:white}
.ap-admin-theme :is(.form-control,.custom-select):disabled,.ap-admin-theme .form-control[readonly]{background:#f3f5f8;color:#6b778a}
.ap-admin-theme .input-group-text{background:#f4f6f9;color:#5b6b81;border:1px solid #dce3ed}
.ap-admin-theme .select2-selection__rendered{line-height:1.8!important}
.ap-admin-theme .select2-container{max-width:100%}
.ap-admin-theme .select2-dropdown{border-color:var(--ap-line);box-shadow:0 10px 25px #192d4c12;border-radius:8px}
.ap-admin-theme .select2-results__option--highlighted[aria-selected]{background:var(--ap-navy)!important;color:#fff!important}
.ap-admin-theme :is(input[type=checkbox],input[type=radio]){accent-color:var(--ap-navy)}
.ap-admin-theme .is-invalid,.ap-admin-theme .select2-container.is-invalid .select2-selection{border-color:#c34d59!important}
.ap-admin-theme .is-invalid:focus{box-shadow:0 0 0 3px #c34d5918!important}
.ap-admin-theme .invalid-feedback,.ap-admin-theme span.required{color:#b63547}
.ap-admin-theme :is(.btn,.cmp-btn,.cm-btn){border-radius:8px!important;font-weight:500!important;letter-spacing:0;line-height:1.6;min-height:38px;transition:background .15s,border-color .15s;box-shadow:none}
.ap-admin-theme .btn:not(.btn-icon){padding:10px 16px}
.ap-admin-theme .btn-sm:not(.btn-icon){padding:7px 12px;min-height:34px;font-size:12px}
.ap-admin-theme :is(.btn-primary,.btn.btn-primary,.cmp-btn:not(.cmp-btn-light):not(.cmp-btn-danger)){background:var(--ap-navy)!important;border-color:var(--ap-navy)!important;color:#fff!important}
.ap-admin-theme .btn-primary:hover{background:var(--ap-primary-hover)!important;border-color:var(--ap-primary-hover)!important}
.ap-admin-theme :is(.btn-light-primary,.btn-outline-primary,.cmp-btn-light){color:var(--ap-navy)!important;border-color:#dce4ef!important;background:#eef2f7!important}
.ap-admin-theme :is(.btn-light-primary,.btn-outline-primary):hover{background:#e1e8f2!important}
.ap-admin-theme :is(.btn-warning,.btn-light-warning){background:#faf3e5!important;border-color:#eedebe!important;color:#7c5c21!important}
.ap-admin-theme :is(.btn-secondary,.btn-light){background:#f7f8fa;border-color:#e2e7ef;color:#4b5b73}
.ap-admin-theme .btn-success{background:#28745d!important;border-color:#28745d!important;color:#fff!important}
.ap-admin-theme .btn-danger{background:#b94352!important;border-color:#b94352!important;color:white!important}
.ap-admin-theme .btn-light-success{background:#eaf5ef!important;color:#24664c!important}
.ap-admin-theme .btn-light-danger{background:#fbeced!important;color:#aa3546!important}
.ap-admin-theme .btn-icon{border-radius:8px;width:36px;height:36px;min-height:36px;flex-shrink:0}
.ap-admin-theme .btn:disabled{opacity:.5;cursor:not-allowed}
.ap-admin-theme .btn i{font-size:14px;vertical-align:middle}
.ap-admin-theme .btn:not(.btn-icon) i{margin-inline-end:5px}
.ap-admin-theme :is(.table-responsive,.ap-table-scroll,.dataTables_scrollBody,.datatable-table){scrollbar-width:thin;scrollbar-color:#b7c3d3 transparent}
.ap-admin-theme :is(.table-responsive,.ap-table-scroll){width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.ap-admin-theme :is(table.table,table.cm-table,table.cmp-table,table.bp-table,table.ca-table,table.pcb-catalog-table){width:100%;font-size:12px;color:var(--ap-text);border-color:var(--ap-line);margin-bottom:0}
.ap-admin-theme :is(.table,.cm-table,.cmp-table,.bp-table,.ca-table,.pcb-catalog-table) thead th,.ap-admin-theme .datatable-head .datatable-cell{background:#f1f4f8!important;color:#52627a!important;font-size:11px;font-weight:600!important;border-bottom:1px solid #e0e6ef!important;padding:15px 14px!important;white-space:nowrap;vertical-align:middle}
.ap-admin-theme .datatable-head .datatable-cell>span{color:#52627a!important;font-size:11px!important;font-weight:600!important}
.ap-admin-theme :is(.table,.cm-table,.cmp-table,.bp-table,.ca-table,.pcb-catalog-table) tbody td,.ap-admin-theme .datatable-body .datatable-cell{padding:14px!important;vertical-align:middle;border-color:#e9edf3!important;line-height:1.9}
.ap-admin-theme .datatable-body .datatable-cell>span{font-size:12px;color:var(--ap-text)}
.ap-admin-theme :is(.table,.cm-table,.cmp-table,.bp-table,.ca-table,.pcb-catalog-table) tbody tr:nth-child(even){background:#fcfdff}
.ap-admin-theme :is(.table,.cm-table,.cmp-table,.bp-table,.ca-table,.pcb-catalog-table) tbody tr:hover,.ap-admin-theme .datatable-row:hover{background:#f5f7fb!important}
.ap-admin-theme :is(.table,.cm-table,.cmp-table) th:first-child,.ap-admin-theme :is(.table,.cm-table,.cmp-table) td:first-child{padding-inline-start:18px!important}
.ap-admin-theme .table-bordered{border:1px solid var(--ap-line)}
.ap-admin-theme :is(.table-bordered td,.table-bordered th){border-inline:0}
.ap-admin-theme .datatable{max-width:100%;margin-top:8px}
.ap-admin-theme .datatable>.datatable-table{display:block;overflow-x:auto!important;max-width:100%}
.ap-admin-theme .datatable-pager{gap:12px;padding:16px 0!important;border-top:1px solid var(--ap-line);margin-top:0!important}
.ap-admin-theme :is(.pagination,.datatable-pager-nav){gap:5px;flex-wrap:wrap}
.ap-admin-theme :is(.page-link,.datatable-pager-link,.ap-table-footer button){border-radius:7px!important;min-width:34px;min-height:34px;color:var(--ap-navy)!important;border:1px solid var(--ap-line)!important;background:white}
.ap-admin-theme :is(.page-item.active .page-link,.datatable-pager-link-active){background:var(--ap-navy)!important;border-color:var(--ap-navy)!important;color:white!important}
.ap-admin-theme :is(.datatable-pager-info,.dataTables_info){color:var(--ap-muted)!important;font-size:12px}
.ap-table-tools{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:14px 0;margin-top:4px}
.ap-table-tools label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:var(--ap-muted);margin:0;min-width:110px}
.ap-table-tools label:first-child{flex:1;min-width:160px}
.ap-table-tools :is(input,select){min-height:38px;border:1px solid #dce3ed;border-radius:7px;background:white;padding:7px 10px;color:var(--ap-text);width:100%}
.ap-table-footer{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;padding:14px 0}
.ap-table-footer [role=status]{font-size:12px;color:var(--ap-muted)}
.ap-table-footer nav{display:flex;gap:6px;align-items:center}
.ap-table-footer button{padding:6px 12px}
.ap-table-footer button:disabled{opacity:.4;cursor:not-allowed}
.ap-table-hidden{display:none!important}
.ap-table-empty{padding:24px;text-align:center;border:1px dashed var(--ap-line);border-radius:8px;color:var(--ap-muted)}
.ap-admin-theme :is(.nav-tabs,.nav-pills){gap:5px;border-color:var(--ap-line);flex-wrap:wrap}
.ap-admin-theme .nav-link{font-size:12px;padding:11px 16px;border-radius:8px;color:#607089}
.ap-admin-theme .nav-tabs .nav-link.active{border-color:transparent!important;border-bottom:2px solid var(--ap-gold)!important;background:#faf6ee;color:var(--ap-navy)!important;font-weight:600}
.ap-admin-theme .nav-pills .nav-link.active{background:var(--ap-navy);color:white}
.ap-admin-theme :is(.badge,.label-inline){font-size:11px;font-weight:500;border-radius:6px;padding:5px 8px;height:auto;line-height:1.6}
.ap-admin-theme :is(.modal-content,.dropdown-menu,.popover){border:1px solid var(--ap-line);border-radius:12px;box-shadow:0 16px 60px #10213d20}
.ap-admin-theme .modal-header{padding:18px 24px;align-items:center;border-bottom:1px solid var(--ap-line)}
.ap-admin-theme .modal-title{font-size:16px;font-weight:700;color:var(--ap-navy)}
.ap-admin-theme .modal-body{padding:24px}
.ap-admin-theme .dropdown-item{padding:10px 14px;font-size:12px;border-radius:7px}
.ap-admin-theme .dropdown-item:focus,.ap-admin-theme .dropdown-item:hover{background:#f1f4f8;color:var(--ap-navy)}
.ap-admin-theme .alert{padding:14px 18px;border-radius:9px;font-size:12px;line-height:2;border:1px solid transparent}
.ap-admin-theme :is(.alert-info,.alert-light-info,.alert-light-primary){background:#eef3f9;color:#344e71;border-color:#dce5f0}
.ap-admin-theme :is(.alert-warning,.alert-light-warning){background:#fbf6eb;color:#7d602b;border-color:#eadcbc}
.ap-admin-theme :is(.alert-danger,.alert-light-danger){background:#fceff1;color:#a33a4c;border-color:#f1d6dc}
.ap-admin-theme .swal2-popup{border-radius:16px!important;padding:28px!important;font-family:Vazirmatn,Tahoma,sans-serif!important;max-width:calc(100vw - 32px);direction:rtl}
.ap-admin-theme .swal2-title{font-size:20px!important;color:var(--ap-navy)!important}
.ap-admin-theme .swal2-content{font-size:13px!important;line-height:2!important}
.ap-admin-theme .swal2-styled{border-radius:8px!important;font-size:13px!important;font-family:inherit!important;min-height:42px}
.ap-admin-theme .swal2-confirm{background:var(--ap-navy)!important}
.ap-admin-theme .swal2-cancel{background:#eef1f6!important;color:#465570!important}
.ap-admin-theme :is(.dropzone,.dz-clickable){border:1px dashed #bcc9dc;background:#fafbfd;border-radius:10px}
.ap-admin-theme #kt_footer{margin-top:24px;border-top:1px solid var(--ap-line);background:transparent!important;font-size:11px;color:var(--ap-muted)}
.ap-admin-theme .admin-account-trigger{min-width:160px;min-height:42px;box-shadow:none!important;border-color:var(--ap-line)!important;border-radius:9px;background:#fafbfd!important}
.ap-admin-theme .admin-account-trigger .admin-account-name{font-size:12px;color:var(--ap-navy)}
.ap-admin-theme .admin-account-trigger .admin-account-avatar-wrap{background:#eceff5}
.ap-admin-theme .admin-account-trigger .admin-account-role{font-size:10px;color:var(--ap-muted)}
.ap-admin-theme .admin-account-menu{padding:7px}
.ap-admin-theme .admin-account-item{font-size:12px}
.ap-admin-theme #kt_header_mobile{height:64px;background:#151f30!important;padding:0 16px;border-bottom:1px solid #ffffff12}
.ap-admin-theme #kt_header_mobile>a img{width:108px;max-height:34px;object-fit:contain}
.ap-admin-theme #kt_header_mobile .burger-icon span,.ap-admin-theme #kt_header_mobile .burger-icon span:before,.ap-admin-theme #kt_header_mobile .burger-icon span:after{background:#d4bc8d!important}
.ap-admin-theme #kt_header_mobile button{min-width:40px;min-height:44px}
.ap-admin-theme #kt_header_mobile .svg-icon svg [fill]:not([fill=none]){fill:#d4bc8d!important}
@media(min-width:992px){.ap-admin-theme.header-fixed .wrapper{padding-top:72px}.ap-admin-theme.aside-minimize:not(.aside-minimize-hover) .ap-menu-search,.ap-admin-theme.aside-minimize:not(.aside-minimize-hover) .ap-menu-empty{display:none}}
@media(max-width:1199.98px){.ap-admin-theme #kt_content>.d-flex>.container-fluid,.ap-admin-theme .subheader>.container-fluid{padding-inline:20px}.ap-admin-theme .rp-table-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:991.98px){
 body.ap-admin-theme.header-mobile-fixed .wrapper{padding-top:64px!important}
 .ap-admin-theme #kt_header{height:auto;min-height:60px}
 .ap-admin-theme #kt_header>.container-fluid{padding-inline:16px;min-height:60px;flex-wrap:wrap}
 .ap-workspace-heading{padding-block:9px}.ap-workspace-heading small{display:none}
 .ap-admin-theme :is(.card-body,.card.card-custom>.card-body,.modal-body,.kt-portlet__body){padding:18px}
 .ap-admin-theme :is(.card-header,.card.card-custom>.card-header,.card-footer,.modal-header,.modal-footer){padding:16px 18px}
 .ap-admin-theme .ui-jqgrid{max-width:100%;overflow-x:auto}
 .ap-admin-theme .subheader{padding-block:18px!important}
 .ap-admin-theme .subheader h5{font-size:18px}
 .ap-admin-theme #kt_content>.d-flex>.container-fluid,.ap-admin-theme .subheader>.container-fluid{padding-inline:16px}
 .ap-admin-theme :is(.cm-grid,.cmp-grid){grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important}
}
@media(max-width:767.98px){
 .ap-admin-theme .subheader>.container-fluid{align-items:flex-start!important;gap:12px}
 .ap-admin-theme .subheader .btn{margin:0!important}
 .ap-admin-theme :is(.card-body,.card.card-custom>.card-body,.modal-body,.kt-portlet__body){padding:16px}
 .ap-admin-theme #kt_block_portlet>.card-body{padding:16px}
 .ap-admin-theme .card-header .card-toolbar{width:100%;flex-wrap:wrap;gap:6px}
 .ap-admin-theme :is(.form-control,.custom-select,input.ap-search,.select2-selection--single){font-size:16px!important;min-height:44px}
 .ap-admin-theme :is(.btn,.cmp-btn,.cm-btn,.page-link,.ap-table-footer button){min-height:44px!important}
 .ap-admin-theme .btn-icon{width:44px;height:44px}
 .ap-admin-theme .modal-dialog{margin:10px;max-width:calc(100% - 20px)}
 .ap-admin-theme .modal-dialog.modal-lg,.ap-admin-theme .modal-dialog.modal-xl{width:auto}
 .ap-admin-theme .modal-footer{justify-content:flex-start}
 .ap-admin-theme :is(.cm-filters,.pm-filters,.rp-table-filter-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 .ap-admin-theme :is(.cm-stats,.pm-stats){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .ap-admin-theme :is(.sync-filter-bar,.promotion-filter-bar){flex-wrap:wrap}
 .ap-admin-theme .sync-filter-bar input[type=text]{min-width:0;width:100%}
 .ap-admin-theme .datatable-pager{flex-wrap:wrap!important;justify-content:center!important}
 .ap-admin-theme .datatable-pager-info{flex-wrap:wrap!important;gap:10px}
 .ap-admin-theme .nav-tabs{overflow-x:auto;flex-wrap:nowrap;white-space:nowrap;max-width:100%;padding-bottom:4px}
 .ap-admin-theme .nav-tabs .nav-link{min-height:44px}
 .ap-table-tools{gap:8px}.ap-table-tools label{flex:1}.ap-table-tools label:first-child{flex-basis:100%}
 .ap-table-tools :is(input,select){font-size:16px;min-height:44px}
 .ap-table-footer{align-items:stretch}.ap-table-footer [role=status]{width:100%}.ap-table-footer nav{width:100%;justify-content:space-between}
 .ap-skip-link{right:12px}
}
@media(max-width:479.98px){
 .ap-admin-theme #kt_content>.d-flex>.container-fluid,.ap-admin-theme .subheader>.container-fluid{padding-inline:12px}
 .ap-admin-theme :is(.cm-filters,.pm-filters,.rp-table-filter-grid){grid-template-columns:minmax(0,1fr)!important}
 .ap-admin-theme .subheader .d-flex{margin-inline:0!important}
 .ap-admin-theme .btn:not(.btn-icon){white-space:normal}
 .ap-admin-theme .admin-account-trigger{min-width:0;max-width:200px}
 .ap-workspace-heading strong{font-size:12px}.ap-workspace-mark{display:none}
}
@media(prefers-reduced-motion:reduce){.ap-admin-theme *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.ap-admin-theme :is(#kt_header,#kt_header_mobile,#kt_aside,#kt_footer,.ap-table-tools,.ap-table-footer,.ap-skip-link){display:none!important}.ap-admin-theme .wrapper{padding:0!important;margin:0!important}.ap-admin-theme .ap-table-hidden{display:table-row!important}.ap-admin-theme :is(.ap-table-scroll,.table-responsive,.datatable-table){overflow:visible!important}.ap-admin-theme .card{box-shadow:none!important}}

/* Sign-in composition. */
body.ap-login-theme{background:#f3f5f9!important;color:#22334c}
.ap-login-theme .login.login-2{min-height:100vh;background:transparent!important;overflow:visible!important}
.ap-login-theme .ap-login-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.86fr);width:min(1080px,calc(100% - 48px));margin:auto;min-height:590px;border-radius:24px;background:white;box-shadow:0 26px 80px rgba(16,33,61,.12);overflow:hidden;direction:ltr}
.ap-login-theme .ap-login-showcase{position:relative;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,#1a345a 0%,#10213d 70%,#0d1c34 100%);color:white;padding:48px 54px;direction:rtl;isolation:isolate;overflow:hidden}
.ap-login-theme .ap-login-showcase:before{content:'';position:absolute;inset:auto -150px -260px auto;width:520px;height:520px;border-radius:50%;border:1px solid rgba(255,255,255,.10);box-shadow:0 0 0 65px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.025);z-index:-1}
.ap-login-theme .ap-login-showcase:after{content:'';position:absolute;top:-100px;left:-120px;width:290px;height:290px;border:1px solid rgba(199,165,107,.22);border-radius:50%;z-index:-1}
.ap-login-theme .ap-login-brand{display:flex;align-items:center;gap:15px}
.ap-login-theme .ap-login-logo{width:64px;height:64px;background:#fff;border:1px solid rgba(255,255,255,.3);border-radius:17px;display:grid;place-items:center;padding:9px}
.ap-login-theme .ap-login-logo img{max-width:100%;max-height:100%;object-fit:contain}
.ap-login-theme .ap-login-brand-label{font-weight:750;font-size:20px;letter-spacing:-.3px}
.ap-login-theme .ap-login-brand-sub{font-size:12px;opacity:.72;margin-top:6px}
.ap-login-theme .ap-login-hero-title{font-size:38px;font-weight:800;line-height:1.8;margin:0 0 14px}
.ap-login-theme .ap-login-accent{width:46px;height:3px;background:#c7a56b;border-radius:5px;margin-bottom:24px}
.ap-login-theme .ap-login-hero-desc{font-size:15px;line-height:2.1;max-width:370px;color:#c5d1e1}
.ap-login-theme .ap-login-footnote{font-size:12px;color:#98abc4}
.ap-login-theme .ap-login-form-panel{direction:rtl;display:flex;justify-content:center;align-items:center;padding:58px 45px;background:#fff}
.ap-login-theme .ap-login-form-inner{width:100%;max-width:390px}
.ap-login-theme .ap-login-eyebrow{font-size:12px;font-weight:700;letter-spacing:.2px;color:#9b7a45;margin-bottom:11px}
.ap-login-theme .ap-login-form-title{font-size:27px;font-weight:800;color:#172d50;margin-bottom:10px}
.ap-login-theme .ap-login-form-hint{color:#8290a4;font-size:13px;margin-bottom:32px;line-height:1.9}
.ap-login-theme .login-form{width:100%;padding:0!important}
.ap-login-theme .login-form form{width:100%;padding:0!important;margin:0!important;box-shadow:none!important}
.ap-login-theme .login-form form>.pb-13{display:none}
.ap-login-theme .login-form label{font-size:13px!important;font-weight:700;color:#364761!important;margin-bottom:9px}
.ap-login-theme .login-form .form-group{margin-bottom:23px}
.ap-login-theme .login-form .form-control{height:53px!important;border-radius:10px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;padding:13px 17px!important;direction:ltr!important;text-align:left!important;font-family:inherit;font-size:14px;transition:all .2s}
.ap-login-theme .login-form .form-control:focus{background:#fff!important;border-color:#7990b1!important;box-shadow:0 0 0 4px rgba(22,43,77,.075)!important}
.ap-login-theme .login-form button[type=submit]{display:block;width:100%;height:53px;margin:24px 0 0!important;padding:0 20px!important;border-radius:10px!important;background:#162b4d!important;border:1px solid #162b4d!important;color:#fff!important;font-size:14px!important;font-weight:700!important;box-shadow:0 9px 18px rgba(22,43,77,.16);transition:background .2s,transform .2s}
.ap-login-theme .login-form button[type=submit]:hover{background:#203c64!important;transform:translateY(-1px)}
.ap-login-theme .login-form .is-invalid{border-color:#db6e6e!important}
.ap-login-theme .ap-login-mobile-brand{display:none}
@media(max-width:900px){.ap-login-theme .ap-login-shell{grid-template-columns:1fr;max-width:520px;min-height:auto;margin:26px auto}.ap-login-theme .ap-login-showcase{padding:25px 30px;min-height:125px}.ap-login-theme .ap-login-showcase .ap-login-copy,.ap-login-theme .ap-login-showcase .ap-login-footnote{display:none}.ap-login-theme .ap-login-form-panel{padding:37px 34px 44px}}
@media(max-width:520px){body.ap-login-theme{background:#fff!important}.ap-login-theme .ap-login-shell{width:100%;margin:0;border-radius:0;box-shadow:none;min-height:100vh}.ap-login-theme .ap-login-showcase{min-height:120px;padding:22px 24px}.ap-login-theme .ap-login-form-panel{align-items:flex-start;padding:44px 25px 35px}.ap-login-theme .ap-login-form-title{font-size:24px}}

/* Existing reorder form sizing. */
.ap-admin-theme .reorder-page .rp-table-filter-panel {
  padding: 18px !important;
  background: #f8fafc;
  border: 1px solid #e1e8f1;
  border-radius: 12px;
}
.ap-admin-theme .reorder-page .rp-table-filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}
.ap-admin-theme .reorder-page .rp-table-filter-grid > .rp-filter-field {
  min-width: 0;
  width: 100%;
}
.ap-admin-theme .reorder-page .rp-table-filter-grid > .rp-filter-field > label {
  display: block;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  color: #52627a;
  margin: 0 0 8px;
  text-align: right;
}
.ap-admin-theme .reorder-page .rp-table-filter-grid .rp-search-wrap {width: 100%; min-width: 0;}
.ap-admin-theme .reorder-page .rp-table-filter-grid :is(.rp-search-input,.rp-filter-control,select.form-control) {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: 44px !important;
  min-height: 44px !important;
  padding: 9px 14px !important;
  background-color: #fff !important;
  border: 1px solid #dce4ee !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  color: #243650 !important;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-align: right;
  direction: rtl;
  line-height: 1.5;
}
.ap-admin-theme .reorder-page .rp-table-filter-grid .rp-search-wrap .rp-search-input {
  padding-right: 39px !important;
}
.ap-admin-theme .reorder-page .rp-table-filter-grid .rp-search-wrap > i {
  right: 14px;
  font-size: 15px;
  pointer-events: none;
}
.ap-admin-theme .reorder-page .rp-table-filter-grid :is(.rp-search-input,.rp-filter-control):focus {
  border-color: #7896b7 !important;
  box-shadow: 0 0 0 3px rgba(37, 67, 107, .08) !important;
}
.ap-admin-theme .reorder-page .rp-table-filter-grid .bootstrap-select,
.ap-admin-theme .reorder-page .rp-table-filter-grid .bootstrap-select.form-control {
  width: 100% !important;
  min-width: 0;
  height: 44px !important;
}
.ap-admin-theme .reorder-page .rp-table-filter-grid .bootstrap-select > .dropdown-toggle {
  width: 100%;
  height: 44px !important;
  min-height: 44px !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  font-family: 'Vazirmatn', sans-serif;
  border: 1px solid #dce4ee !important;
  text-align: right !important;
}
@media (max-width: 1199.98px) {
  .ap-admin-theme .reorder-page .rp-table-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .ap-admin-theme .reorder-page .rp-table-filter-panel {padding: 12px !important;}
  .ap-admin-theme .reorder-page .rp-table-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .ap-admin-theme .reorder-page .rp-table-filter-grid > .rp-filter-field:first-child {grid-column: 1 / -1;}
}
@media (max-width: 479.98px) {
  .ap-admin-theme .reorder-page .rp-table-filter-grid {grid-template-columns: minmax(0, 1fr);}
  .ap-admin-theme .reorder-page .rp-table-filter-grid > .rp-filter-field:first-child {grid-column: auto;}
}

.ap-login-theme .login-form .form-control{font-family:Vazirmatn,Tahoma,sans-serif!important}.ap-login-theme .ap-login-showcase{background:linear-gradient(145deg,#233b60,#111e33)!important}.ap-login-theme .ap-login-accent{background:var(--ap-gold)}

@font-face{font-family:"Torang Icons";src:url("../fonts/fortawesome-5/fonts/fa-solid-900.woff2") format("woff2");font-weight:900;font-style:normal;font-display:block}
.ap-admin-theme .flaticon-users-1::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f0c0"}
.ap-admin-theme .flaticon-warning::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f071"}
.ap-admin-theme .flaticon2-Order::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f46d"}
.ap-admin-theme .flaticon2-add-1::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f067"}
.ap-admin-theme .flaticon2-analytics::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f080"}
.ap-admin-theme .flaticon2-analytics-2::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f080"}
.ap-admin-theme .flaticon2-avatar::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f007"}
.ap-admin-theme .flaticon2-back::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f060"}
.ap-admin-theme .flaticon2-box::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f466"}
.ap-admin-theme .flaticon2-chart::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f080"}
.ap-admin-theme .flaticon2-chart2::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f080"}
.ap-admin-theme .flaticon2-chat-1::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f075"}
.ap-admin-theme .flaticon2-check-mark::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f00c"}
.ap-admin-theme .flaticon2-console::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f108"}
.ap-admin-theme .flaticon2-copy::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f0c5"}
.ap-admin-theme .flaticon2-dashboard::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f3fd"}
.ap-admin-theme .flaticon2-delivery-package::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f466"}
.ap-admin-theme .flaticon2-delivery-truck::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f0d1"}
.ap-admin-theme .flaticon2-download-2::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f019"}
.ap-admin-theme .flaticon2-edit::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f303"}
.ap-admin-theme .flaticon2-folder::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f07b"}
.ap-admin-theme .flaticon2-graph-1::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f201"}
.ap-admin-theme .flaticon2-graphic::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f201"}
.ap-admin-theme .flaticon2-group::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f0c0"}
.ap-admin-theme .flaticon2-image-file::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f03e"}
.ap-admin-theme .flaticon2-infographic::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f080"}
.ap-admin-theme .flaticon2-information::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f05a"}
.ap-admin-theme .flaticon2-left-arrow::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f060"}
.ap-admin-theme .flaticon2-line-chart::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f201"}
.ap-admin-theme .flaticon2-link::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f0c1"}
.ap-admin-theme .flaticon2-list::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f03a"}
.ap-admin-theme .flaticon2-list-1::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f03a"}
.ap-admin-theme .flaticon2-list-2::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f03a"}
.ap-admin-theme .flaticon2-list-3::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f03a"}
.ap-admin-theme .flaticon2-map::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f279"}
.ap-admin-theme .flaticon2-next::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f061"}
.ap-admin-theme .flaticon2-pap::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f15c"}
.ap-admin-theme .flaticon2-paper::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f15c"}
.ap-admin-theme .flaticon2-percentage::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f295"}
.ap-admin-theme .flaticon2-photo-camera::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f030"}
.ap-admin-theme .flaticon2-plus::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f067"}
.ap-admin-theme .flaticon2-print::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f02f"}
.ap-admin-theme .flaticon2-refresh::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f021"}
.ap-admin-theme .flaticon2-rocket-1::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f135"}
.ap-admin-theme .flaticon2-search::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f002"}
.ap-admin-theme .flaticon2-search-1::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f002"}
.ap-admin-theme .flaticon2-settings::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f013"}
.ap-admin-theme .flaticon2-sort::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f0dc"}
.ap-admin-theme .flaticon2-supermarket::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f07a"}
.ap-admin-theme .flaticon2-tag::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f02b"}
.ap-admin-theme .flaticon2-trash::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f2ed"}
.ap-admin-theme .flaticon2-warning::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f071"}
.ap-admin-theme .flaticon2-website::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f108"}
.ap-admin-theme .la-file-excel-o::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f1c3"}
.ap-admin-theme .la-long-arrow-left::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f060"}
.ap-admin-theme .la-search::before{font-family:"Torang Icons"!important;font-weight:900!important;font-style:normal;content:"\f002"}
.ap-admin-theme .ap-table-scroll{border:1px solid var(--ap-line);border-radius:9px}
.ap-admin-theme .rp-table-filter-grid{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(4,minmax(0,1fr));gap:14px;align-items:end}
.ap-admin-theme.ap-embedded{padding:14px!important;background:#f3f5f8!important;min-width:0}
.ap-admin-theme.ap-embedded :is(.ui-jqgrid,.ui-jqgrid-view,.ui-jqgrid-hdiv,.ui-jqgrid-bdiv){max-width:100%}
.ap-admin-theme.ap-embedded :is(.ui-jqgrid-titlebar,.ui-jqgrid .ui-jqgrid-htable th){background:#eef2f7;color:var(--ap-navy);border-color:var(--ap-line)}
.ap-admin-theme.ap-embedded .ui-jqgrid-pager{background:#fff;border-color:var(--ap-line);min-height:44px}
@media(max-width:1199.98px){.ap-admin-theme .rp-table-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:767.98px){.ap-admin-theme .rp-table-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:479.98px){.ap-admin-theme .rp-table-filter-grid{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:767.98px){
 .ap-admin-theme #kt_block_portlet>.card-body>.d-flex{flex-wrap:wrap;gap:12px}
 .ap-admin-theme :is(.cm-toolbar,.cmp-actions,.cs-actions,.sync-actions,.pm-actions){flex-wrap:wrap;gap:8px}
 .ap-admin-theme :is(.cm-table-wrap,.cmp-table-wrap,.bp-table-wrap,.promotion-table-wrap,.sync-table-wrap){max-width:100%;overflow-x:auto}
 .ap-admin-theme :is(.btn-group,.input-group){max-width:100%}
}
