:root{--com-primary:#0f172a;--com-primary-hover:#1e293b;--com-border:#d7dde5;--com-border-soft:#e5e7eb;--com-muted:#64748b;--com-surface:#fff;--com-error:#F54927;--com-success:#5EE9B5;--com-zebra:#E2E8F0}
.com-wrap{max-width:1180px;margin:32px auto;padding:0 18px;direction:rtl;font-family:Tahoma,"Segoe UI",Arial,sans-serif;color:#0f172a}.com-card{background:var(--com-surface);border:1px solid var(--com-border-soft);border-radius:16px;padding:28px;margin:18px 0;box-shadow:0 10px 30px rgba(15,23,42,.06)}.com-login{max-width:500px}.com-login .com-card{margin:70px auto}.com-card h2{margin:0 0 14px;font-size:22px;line-height:1.5}.com-muted{color:var(--com-muted);line-height:1.9}.com-card label{display:block;font-weight:600;margin:18px 0 8px}.com-card input,.com-card select{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#0f172a;font:inherit;outline:none;transition:border-color .15s,box-shadow .15s}.com-card input:focus,.com-card select:focus{border-color:#94a3b8;box-shadow:0 0 0 3px rgba(148,163,184,.16)}.com-card input[readonly]{background:#f8fafc;border:1px solid #cbd5e1;color:#475569;box-shadow:none}.com-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--com-primary);border-radius:9px;padding:0 20px;background:var(--com-primary);color:#fff!important;text-decoration:none;cursor:pointer;font:inherit;font-weight:600;margin-top:18px;transition:background .15s,border-color .15s,transform .05s}.com-btn:hover{background:var(--com-primary-hover);border-color:var(--com-primary-hover)}.com-btn:active{transform:translateY(1px)}.com-topbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#fff;border:1px solid var(--com-border);border-radius:14px;padding:12px 14px;box-shadow:0 5px 18px rgba(15,23,42,.04)}.com-topbar strong{white-space:nowrap;font-size:15px}.com-topbar nav{display:flex;gap:5px;flex:1;flex-wrap:wrap}.com-topbar nav a{padding:9px 13px;border-radius:8px;text-decoration:none;color:#334155;font-size:14px}.com-topbar nav a.active,.com-topbar nav a:hover{background:#f1f5f9;color:#0f172a}.com-logout{color:#b42318;text-decoration:none;white-space:nowrap;font-size:14px;font-weight:600}.com-notice{padding:14px 17px;border-radius:10px;margin:16px 0;line-height:1.8;font-weight:600;border:1px solid transparent}.com-error{background:var(--com-error);border-color:var(--com-error);color:#fff}.com-success{background:var(--com-success);border-color:var(--com-success);color:#0f172a}.com-search-box{display:flex;gap:10px;align-items:center}.com-search-box input{flex:1}.com-search-box .com-btn{margin-top:0}.com-list-toolbar{display:flex;gap:18px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}.com-search-form{flex:1;min-width:300px}.com-search-form label{margin-top:0}.com-table-wrap{overflow-x:auto;margin-top:22px;border:1px solid #d8dee7;border-radius:14px;background:#fff}.com-table{width:100%;border-collapse:separate;border-spacing:0;min-width:850px;overflow:hidden}.com-table th,.com-table td{padding:14px 13px;text-align:right;white-space:nowrap;border-bottom:1px solid #d8dee7}.com-table th{background:#f8fafc;color:#334155;font-size:13px;font-weight:700}.com-table tbody tr:nth-child(odd){background:#fff}.com-table tbody tr:nth-child(even){background:var(--com-zebra)}.com-table tbody tr:last-child td{border-bottom:0}.com-table tbody tr:hover{background:#cbd5e1}.com-table th:first-child{border-top-right-radius:12px}.com-table th:last-child{border-top-left-radius:12px}.com-status{display:inline-block;padding:6px 10px;border-radius:7px;background:rgba(255,255,255,.72);border:1px solid rgba(100,116,139,.18);font-size:12px;font-weight:600;color:#334155}.com-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:5px;margin:24px 0 4px}.com-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 9px;border:1px solid #cbd5e1;border-radius:8px;text-decoration:none;color:#334155;background:#fff}.com-pagination a.active{background:#0f172a;color:#fff;border-color:#0f172a}.com-pagination a:hover:not(.active){background:#f1f5f9}.com-check{display:flex!important;align-items:center;gap:8px;font-weight:400!important}.com-check input{width:auto}.com-public{max-width:820px}.com-public .com-card{margin-top:50px}.com-public #com-public-result{margin-top:18px}.com-loading{text-align:center;padding:14px;color:#555}.com-search-icon{font-size:18px;line-height:1}.com-update-form{margin-top:18px}.com-update-form .com-btn{min-width:150px}@media(max-width:700px){.com-wrap{margin-top:20px}.com-topbar{align-items:flex-start}.com-topbar nav{order:3;flex-basis:100%}.com-search-box{flex-direction:column;align-items:stretch}.com-search-box .com-btn{width:100%}.com-card{padding:20px}.com-table-wrap{border-radius:11px}.com-table th,.com-table td{padding:11px 10px}}

/* Professional order list table - v2.2.2 */
.com-table-section{margin-top:24px;border:1px solid #d7dde5;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.com-table-head{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 18px;background:#f8fafc;border-bottom:1px solid #d7dde5;color:#0f172a;font-size:15px;font-weight:700}
.com-table-head span{font-size:12px;font-weight:600;color:#64748b;background:#fff;border:1px solid #d7dde5;border-radius:999px;padding:6px 11px}
.com-table-section .com-table-wrap{margin:0;border:0;border-radius:0;overflow-x:auto;background:#fff}
.com-table-section .com-table{width:100%;min-width:900px;border-collapse:separate!important;border-spacing:0!important;direction:rtl;background:#fff}
.com-table-section .com-table th{height:52px;padding:0 16px!important;background:#f1f5f9!important;color:#334155!important;border-bottom:1px solid #cbd5e1!important;border-left:1px solid #e2e8f0!important;font-size:13px;font-weight:700;vertical-align:middle;white-space:nowrap}
.com-table-section .com-table th:last-child{border-left:0!important}
.com-table-section .com-table td{height:56px;padding:0 16px!important;color:#334155!important;border-bottom:1px solid #cbd5e1!important;border-left:1px solid rgba(203,213,225,.7)!important;font-size:13px;vertical-align:middle;white-space:nowrap;background:#fff!important}
.com-table-section .com-table td:last-child{border-left:0!important}
.com-table-section .com-table tbody tr:nth-child(odd) td{background:#fff!important}
.com-table-section .com-table tbody tr:nth-child(even) td{background:#E2E8F0!important}
.com-table-section .com-table tbody tr:hover td{background:#cbd5e1!important}
.com-table-section .com-table tbody tr:last-child td{border-bottom:0!important}
.com-table-section .com-table th:first-child{border-top-right-radius:0!important}
.com-table-section .com-col-no{width:64px;text-align:center!important}
.com-row-number{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#475569;font-size:12px;font-weight:700}
.com-order-number{font-weight:700;color:#0f172a;letter-spacing:.1px}
.com-customer{font-weight:600;color:#0f172a!important}
.com-table-section .com-status{display:inline-flex;align-items:center;min-height:30px;padding:4px 11px;border-radius:999px;background:rgba(255,255,255,.78);border:1px solid #cbd5e1;color:#334155;font-size:12px;font-weight:700;line-height:1.4}
.com-empty-row td{background:#fff!important;text-align:center!important}
.com-empty{padding:32px 12px;color:#64748b;font-size:14px}
.com-table-section + .com-pagination{margin-top:18px}
@media(max-width:700px){.com-table-head{min-height:54px;padding:0 14px}.com-table-section .com-table th,.com-table-section .com-table td{padding:0 12px!important}.com-table-section{border-radius:13px}}

/* Public order lookup: requested success-message color */
.com-public #com-public-result .com-success{background:#94c11e!important;border-color:#94c11e!important;color:#17210a!important}

/* رنگ اختصاصی دکمه بررسی سفارش */
.com-public #com-public-search {
    background-color: #94c11e !important;
    border-color: #94c11e !important;
    color: #ffffff !important;
}

.com-public #com-public-search:hover {
    background-color: #94c11e !important;
    border-color: #94c11e !important;
}


.com-public #com-public-result .com-success {
    background: #94c11e !important;
    border-color: #94c11e !important;
    color: #17210a !important;
}

/* رنگ نوشته دکمه بررسی سفارش */
.com-public #com-public-search {
    color: #ffffff !important;
}

/* رنگ نوشته پیام موفقیت بررسی سفارش */
.com-public #com-public-result .com-success {
    color: #ffffff !important;
}

.com-public #com-public-search:hover {
    color: #ffffff !important;
}