/* OneMore Free Shop — Modern RTL Design */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

#oms-shop {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    background: #f0f0f7;
    min-height: 100vh;
    color: #1a1a2e;
}

/* ── HERO ───────────────────────────────────────────────── */
.oms-hero {
    background: linear-gradient(135deg, #6c3baa 0%, #9b59b6 50%, #c0392b 100%);
    padding: 60px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.oms-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.oms-hero-title {
    font-size: clamp(24px, 5vw, 42px);
    font-weight: 800;
    color: #fff;
    position: relative;
    text-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.oms-hero-subtitle {
    font-size: clamp(14px, 2.5vw, 18px);
    color: rgba(255,255,255,.85);
    margin-top: 12px;
    position: relative;
}

/* ── CONTAINER ──────────────────────────────────────────── */
.oms-container {
    max-width: 1100px;
    margin: -40px auto 0;
    padding: 0 20px 60px;
    position: relative;
}

/* ── CARD ────────────────────────────────────────────────── */
.oms-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(108,59,170,.12);
    padding: 36px;
    margin-bottom: 24px;
}

/* ── STEPS ───────────────────────────────────────────────── */
.oms-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
    padding: 0 16px;
}
.oms-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 160px;
}
.oms-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #e0d6f5;
    z-index: 0;
}
.oms-step.active:not(:last-child)::after,
.oms-step.done:not(:last-child)::after {
    background: linear-gradient(90deg, #e0d6f5, #6c3baa);
}
.oms-step-circle {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: #e0d6f5;
    color: #9b59b6;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px;
    position: relative; z-index: 1;
    transition: all .3s ease;
    box-shadow: 0 4px 12px rgba(108,59,170,.1);
}
.oms-step.active .oms-step-circle {
    background: linear-gradient(135deg, #6c3baa, #9b59b6);
    color: #fff;
    box-shadow: 0 6px 20px rgba(108,59,170,.35);
    transform: scale(1.1);
}
.oms-step.done .oms-step-circle { background: #27ae60; color: #fff; }
.oms-step-label { font-size: 12px; color: #888; margin-top: 8px; text-align: center; }
.oms-step.active .oms-step-label { color: #6c3baa; font-weight: 600; }

/* ── COUNTRIES ───────────────────────────────────────────── */
.oms-countries { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.oms-country-card {
    border: 2px solid #e8e0f5;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all .3s ease;
    background: #fafafe;
    position: relative;
    overflow: hidden;
}
.oms-country-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #6c3baa10, #9b59b610);
    opacity: 0;
    transition: opacity .3s;
}
.oms-country-card:hover { border-color: #9b59b6; transform: translateY(-4px); box-shadow: 0 12px 30px rgba(108,59,170,.15); }
.oms-country-card:hover::before { opacity: 1; }
.oms-country-flag { font-size: 56px; line-height: 1; }
.oms-country-name { font-size: 20px; font-weight: 700; margin-top: 12px; color: #1a1a2e; }
.oms-country-sub { font-size: 13px; color: #888; margin-top: 6px; }

/* ── PRODUCTS ────────────────────────────────────────────── */
.oms-products-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 28px;
}
.oms-back-btn {
    background: none; border: 2px solid #e8e0f5; border-radius: 10px;
    padding: 8px 16px; cursor: pointer; color: #6c3baa; font-family: inherit;
    font-size: 14px; transition: all .2s; display: flex; align-items: center; gap: 6px;
}
.oms-back-btn:hover { background: #f0e8ff; border-color: #9b59b6; }
.oms-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.oms-product-card {
    border: 1.5px solid #ede8f8;
    border-radius: 16px; overflow: hidden;
    background: #fff;
    transition: all .3s ease;
    position: relative;
}
.oms-product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 35px rgba(108,59,170,.14); border-color: #9b59b6; }
.oms-product-image {
    width: 100%; height: 180px; object-fit: cover;
    background: linear-gradient(135deg, #f0e8ff, #e8f0ff);
    display: flex; align-items: center; justify-content: center;
    font-size: 48px;
}
.oms-product-image img { width: 100%; height: 100%; object-fit: cover; }
.oms-product-info { padding: 16px; }
.oms-product-name { font-size: 15px; font-weight: 600; color: #1a1a2e; line-height: 1.5; }
.oms-product-price {
    font-size: 18px; font-weight: 800;
    color: #6c3baa; margin-top: 10px;
    display: flex; align-items: baseline; gap: 6px;
}
.oms-product-price span { font-size: 12px; font-weight: 400; color: #888; }
.oms-add-btn {
    width: 100%; margin-top: 12px; padding: 10px;
    background: linear-gradient(135deg, #6c3baa, #9b59b6);
    color: #fff; border: none; border-radius: 10px;
    font-family: inherit; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all .2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.oms-add-btn:hover { box-shadow: 0 6px 20px rgba(108,59,170,.4); transform: translateY(-1px); }
.oms-qty-control {
    display: flex; align-items: center; gap: 0; margin-top: 12px;
    border: 2px solid #6c3baa; border-radius: 10px; overflow: hidden;
}
.oms-qty-btn {
    width: 38px; height: 38px; border: none; background: #6c3baa;
    color: #fff; font-size: 18px; cursor: pointer; font-family: inherit;
    transition: background .2s;
}
.oms-qty-btn:hover { background: #5a2d99; }
.oms-qty-val {
    flex: 1; text-align: center; font-weight: 700; font-size: 15px; color: #6c3baa;
    border: none; outline: none; background: transparent;
}

/* ── CART ────────────────────────────────────────────────── */
.oms-cart-section { margin-top: 32px; border-top: 2px dashed #e8e0f5; padding-top: 28px; }
.oms-cart-title { font-size: 18px; font-weight: 700; color: #1a1a2e; margin-bottom: 16px; }
.oms-cart-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px; border-radius: 12px; background: #fafafe;
    border: 1px solid #ede8f8; margin-bottom: 10px;
}
.oms-cart-item-img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: #e8e0f5; flex-shrink: 0; }
.oms-cart-item-name { font-size: 14px; font-weight: 600; flex: 1; }
.oms-cart-item-price { font-size: 14px; color: #6c3baa; font-weight: 700; white-space: nowrap; }
.oms-cart-item-remove { background: none; border: none; color: #e74c3c; cursor: pointer; font-size: 18px; padding: 4px 8px; border-radius: 6px; transition: background .2s; }
.oms-cart-item-remove:hover { background: #fde8e8; }
.oms-cart-total {
    text-align: left; padding: 16px 20px;
    background: linear-gradient(135deg, #6c3baa08, #9b59b608);
    border-radius: 12px; border: 1px solid #e8e0f5; margin-top: 16px;
}
.oms-cart-total strong { font-size: 20px; color: #6c3baa; }
.oms-proceed-btn {
    display: block; width: 100%; padding: 16px;
    background: linear-gradient(135deg, #6c3baa, #c0392b);
    color: #fff; border: none; border-radius: 14px;
    font-family: inherit; font-size: 16px; font-weight: 700;
    cursor: pointer; margin-top: 20px; transition: all .3s;
    box-shadow: 0 6px 20px rgba(108,59,170,.25);
}
.oms-proceed-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(108,59,170,.35); }
.oms-proceed-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── FORM ────────────────────────────────────────────────── */
.oms-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .oms-form-grid { grid-template-columns: 1fr; } }
.oms-form-full { grid-column: 1 / -1; }
.oms-form-group { display: flex; flex-direction: column; gap: 8px; }
.oms-form-group label { font-size: 14px; font-weight: 600; color: #444; }
.oms-form-group label span { color: #e74c3c; }
.oms-form-group input,
.oms-form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e8e0f5;
    border-radius: 12px;
    font-family: inherit; font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
    background: #fafafe;
    color: #1a1a2e;
}
.oms-form-group input:focus,
.oms-form-group textarea:focus {
    outline: none;
    border-color: #9b59b6;
    box-shadow: 0 0 0 4px rgba(155,89,182,.12);
    background: #fff;
}
.oms-form-group input.valid { border-color: #27ae60; }
.oms-form-group input.invalid { border-color: #e74c3c; }
.oms-helper { font-size: 12px; color: #888; }
.oms-helper.success { color: #27ae60; }
.oms-helper.error { color: #e74c3c; }

/* ── USER INFO BOX ───────────────────────────────────────── */
.oms-info-box {
    background: linear-gradient(135deg, #f0e8ff, #e8f0ff);
    border: 1.5px solid #c8b0f0; border-radius: 14px;
    padding: 16px 20px; margin-bottom: 24px;
    display: flex; align-items: flex-start; gap: 12px;
}
.oms-info-box-icon { font-size: 20px; flex-shrink: 0; }
.oms-info-box-text { font-size: 13px; color: #5a3a8a; line-height: 1.7; }

/* ── SECTION TITLE ───────────────────────────────────────── */
.oms-section-title {
    font-size: 20px; font-weight: 700; color: #1a1a2e;
    margin-bottom: 24px; display: flex; align-items: center; gap: 10px;
}
.oms-section-title::before {
    content: ''; display: block;
    width: 5px; height: 24px;
    background: linear-gradient(#6c3baa, #9b59b6);
    border-radius: 3px;
}

/* ── SUMMARY ─────────────────────────────────────────────── */
.oms-summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0; border-bottom: 1px solid #f0ecfa;
    font-size: 15px;
}
.oms-summary-row:last-child { border-bottom: none; }
.oms-summary-row.total { font-weight: 800; font-size: 20px; color: #6c3baa; }
.oms-summary-label { color: #666; }

/* ── ALERTS & STATUS ─────────────────────────────────────── */
.oms-alert {
    padding: 14px 20px; border-radius: 12px; font-size: 14px;
    margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
    animation: oms-slide-down .3s ease;
}
.oms-alert-success { background: #e8f8f0; border: 1.5px solid #a3e3bb; color: #1e7a48; }
.oms-alert-error   { background: #fde8e8; border: 1.5px solid #f0b3b3; color: #c0392b; }
.oms-alert-info    { background: #e8f0ff; border: 1.5px solid #b3c8f0; color: #1a4d99; }
@keyframes oms-slide-down { from { opacity:0; transform:translateY(-10px) } to { opacity:1; transform:translateY(0) } }

/* ── LOADING ─────────────────────────────────────────────── */
.oms-spinner {
    display: inline-block; width: 22px; height: 22px;
    border: 3px solid #f0e8ff; border-top-color: #6c3baa;
    border-radius: 50%; animation: oms-spin .7s linear infinite;
}
@keyframes oms-spin { to { transform: rotate(360deg); } }
.oms-loading-overlay {
    text-align: center; padding: 60px 20px; color: #9b59b6;
}

/* ── ORDERS TRACKING ─────────────────────────────────────── */
.oms-order-card {
    border: 1.5px solid #ede8f8; border-radius: 16px;
    margin-bottom: 16px; overflow: hidden;
}
.oms-order-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; background: linear-gradient(135deg, #f8f5ff, #f5f8ff);
    border-bottom: 1px solid #ede8f8;
}
.oms-order-id { font-weight: 700; font-size: 16px; color: #6c3baa; }
.oms-badge {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
}
.oms-badge-paid     { background: #e8f8f0; color: #1e7a48; }
.oms-badge-pending  { background: #fff8e8; color: #b07800; }
.oms-badge-failed   { background: #fde8e8; color: #c0392b; }
.oms-badge-review   { background: #e8f0ff; color: #1a4d99; }
.oms-badge-shipped  { background: #e8f8f0; color: #1e7a48; }
.oms-badge-confirmed{ background: #f0e8ff; color: #6c3baa; }
.oms-order-body { padding: 16px 20px; }
.oms-tracking-highlight {
    background: linear-gradient(135deg, #6c3baa0d, #9b59b60d);
    border: 1.5px solid #9b59b640; border-radius: 12px;
    padding: 14px 18px; margin-top: 12px;
    display: flex; align-items: center; gap: 12px;
}
.oms-tracking-code { font-size: 20px; font-weight: 800; color: #6c3baa; letter-spacing: 2px; }

/* ── LOGIN PANEL ─────────────────────────────────────────── */
.oms-tabs { display: flex; gap: 8px; margin-bottom: 28px; }
.oms-tab {
    flex: 1; padding: 12px; border: 2px solid #e8e0f5; border-radius: 12px;
    background: none; font-family: inherit; font-size: 15px; font-weight: 600;
    color: #888; cursor: pointer; transition: all .2s; text-align: center;
}
.oms-tab.active { background: linear-gradient(135deg, #6c3baa, #9b59b6); color: #fff; border-color: transparent; box-shadow: 0 4px 15px rgba(108,59,170,.3); }

/* ── NAV BAR ─────────────────────────────────────────────── */
.oms-nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 0 28px; flex-wrap: wrap; gap: 12px;
}
.oms-nav-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.oms-nav-btn {
    padding: 8px 18px; border-radius: 10px;
    border: 2px solid #e8e0f5; background: #fff;
    font-family: inherit; font-size: 13px; font-weight: 600;
    color: #6c3baa; cursor: pointer; transition: all .2s;
    display: flex; align-items: center; gap: 6px;
}
.oms-nav-btn:hover { border-color: #9b59b6; background: #f0e8ff; }
.oms-nav-btn.primary { background: linear-gradient(135deg, #6c3baa, #9b59b6); color: #fff; border-color: transparent; }
.oms-nav-btn.primary:hover { box-shadow: 0 4px 15px rgba(108,59,170,.3); transform: translateY(-1px); }
.oms-cart-bubble {
    background: #e74c3c; color: #fff; border-radius: 50%;
    width: 20px; height: 20px; font-size: 11px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}

/* ── SUCCESS PAGE ────────────────────────────────────────── */
.oms-success-box {
    text-align: center; padding: 48px 24px;
}
.oms-success-icon { font-size: 72px; animation: oms-pop .5s ease; }
@keyframes oms-pop { 0%{transform:scale(0)} 80%{transform:scale(1.1)} 100%{transform:scale(1)} }
.oms-success-title { font-size: 28px; font-weight: 800; color: #27ae60; margin: 20px 0 12px; }
.oms-success-sub   { font-size: 16px; color: #555; line-height: 1.7; }
.oms-ref-code { display: inline-block; background: #f0e8ff; border: 2px solid #c8a8e8; border-radius: 12px; padding: 10px 28px; font-size: 22px; font-weight: 800; color: #6c3baa; margin: 20px 0; letter-spacing: 2px; }

/* ── EMPTY STATE ─────────────────────────────────────────── */
.oms-empty { text-align: center; padding: 48px 20px; color: #aaa; }
.oms-empty-icon { font-size: 56px; margin-bottom: 16px; }
.oms-empty-text { font-size: 16px; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .oms-card { padding: 20px; border-radius: 14px; }
    .oms-products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .oms-hero { padding: 40px 20px 60px; }
    .oms-step-label { font-size: 10px; }
}

/* ══════════════════════════════════════════════════════════
 * ADMIN PANEL FRONTEND STYLES
 * ══════════════════════════════════════════════════════════ */

.oms-admin-wrap {
    display: flex;
    min-height: 100vh;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    background: #f0f0f7;
    color: #1a1a2e;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.oms-admin-sidebar {
    width: 240px;
    min-width: 240px;
    background: linear-gradient(180deg, #1a1a2e 0%, #2d1b5e 100%);
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: 4px 0 20px rgba(0,0,0,.2);
    position: sticky;
    top: 0;
    height: 100vh;
}
.oms-admin-logo {
    display: flex; align-items: center; gap: 12px;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.oms-admin-logo-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #6c3baa, #9b59b6);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.oms-admin-logo-title { font-size: 15px; font-weight: 700; color: #fff; }
.oms-admin-logo-sub   { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 2px; }

.oms-admin-nav { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.oms-admin-nav-item {
    width: 100%; padding: 12px 16px;
    background: none; border: none;
    border-radius: 12px; font-family: inherit;
    font-size: 14px; font-weight: 600;
    color: rgba(255,255,255,.6);
    cursor: pointer; text-align: right;
    display: flex; align-items: center; gap: 10px;
    transition: all .2s;
}
.oms-admin-nav-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.oms-admin-nav-item.active {
    background: linear-gradient(135deg, #6c3baa, #9b59b6);
    color: #fff;
    box-shadow: 0 4px 15px rgba(108,59,170,.4);
}
.oms-admin-nav-icon { font-size: 18px; }

.oms-admin-logout {
    margin: 16px 12px;
    padding: 10px 16px;
    background: rgba(231,76,60,.15); border: 1px solid rgba(231,76,60,.3);
    border-radius: 10px; color: #e74c3c; font-family: inherit;
    font-size: 13px; cursor: pointer; text-align: right; width: calc(100% - 24px);
    transition: all .2s;
}
.oms-admin-logout:hover { background: rgba(231,76,60,.25); }

/* ── Content Area ────────────────────────────────────────── */
.oms-admin-content {
    flex: 1; padding: 28px 32px;
    overflow-y: auto; min-height: 100vh;
}

.oms-content-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.oms-content-title {
    font-size: 22px; font-weight: 800; color: #1a1a2e; margin: 0;
}
.oms-total-badge {
    background: #f0e8ff; color: #6c3baa;
    padding: 4px 14px; border-radius: 20px;
    font-size: 13px; font-weight: 700;
}
.oms-refresh-btn {
    padding: 8px 16px; border-radius: 10px;
    border: 2px solid #e8e0f5; background: #fff;
    font-family: inherit; font-size: 13px; font-weight: 600;
    color: #6c3baa; cursor: pointer; transition: all .2s;
}
.oms-refresh-btn:hover { background: #f0e8ff; }

/* ── Stats Grid ──────────────────────────────────────────── */
.oms-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px; margin-bottom: 28px;
}
.oms-stat-card {
    background: #fff; border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    border: 1.5px solid #f0ecfa;
    transition: transform .2s, box-shadow .2s;
    position: relative; overflow: hidden;
}
.oms-stat-card::before {
    content: ''; position: absolute;
    top: 0; right: 0; width: 4px; height: 100%;
    background: var(--accent, #6c3baa);
}
.oms-stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.oms-stat-icon { font-size: 28px; margin-bottom: 10px; }
.oms-stat-val  { font-size: 22px; font-weight: 800; color: var(--accent, #1a1a2e); }
.oms-stat-val.big { font-size: 18px; }
.oms-stat-label{ font-size: 13px; color: #888; margin-top: 4px; }

/* ── Quick Actions ───────────────────────────────────────── */
.oms-quick-actions {
    background: #fff; border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    border: 1.5px solid #f0ecfa;
}
.oms-action-btn {
    padding: 10px 20px; border-radius: 10px;
    border: 2px solid #e8e0f5; background: #fafafe;
    font-family: inherit; font-size: 14px; font-weight: 600;
    color: #6c3baa; cursor: pointer; transition: all .2s;
}
.oms-action-btn:hover {
    background: linear-gradient(135deg, #6c3baa, #9b59b6);
    color: #fff; border-color: transparent;
    box-shadow: 0 4px 15px rgba(108,59,170,.3);
}

/* ── Filters ─────────────────────────────────────────────── */
.oms-filters {
    display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap;
}
.oms-filter-input {
    flex: 1; min-width: 180px; padding: 10px 14px;
    border: 2px solid #e8e0f5; border-radius: 10px;
    font-family: inherit; font-size: 14px;
    background: #fff; color: #1a1a2e; outline: none;
    transition: border-color .2s;
}
.oms-filter-input:focus { border-color: #9b59b6; }
.oms-filter-select {
    padding: 10px 14px;
    border: 2px solid #e8e0f5; border-radius: 10px;
    font-family: inherit; font-size: 14px;
    background: #fff; color: #1a1a2e; outline: none; cursor: pointer;
}
.oms-filter-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #6c3baa, #9b59b6);
    color: #fff; border: none; border-radius: 10px;
    font-family: inherit; font-size: 14px; font-weight: 700;
    cursor: pointer; transition: box-shadow .2s;
}
.oms-filter-btn:hover { box-shadow: 0 4px 15px rgba(108,59,170,.35); }

/* ── Table ───────────────────────────────────────────────── */
.oms-table-wrap {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    border: 1.5px solid #f0ecfa;
}
.oms-table {
    width: 100%; border-collapse: collapse; font-size: 14px;
}
.oms-table thead tr {
    background: linear-gradient(135deg, #f8f5ff, #f5f8ff);
}
.oms-table th {
    padding: 12px 14px; text-align: right;
    font-weight: 700; color: #555; font-size: 13px;
    border-bottom: 2px solid #f0ecfa;
}
.oms-table td {
    padding: 12px 14px; border-bottom: 1px solid #f8f5ff;
    vertical-align: middle;
}
.oms-table-row { cursor: pointer; transition: background .15s; }
.oms-table-row:hover { background: #fafaff; }
.oms-table tbody tr:last-child td { border-bottom: none; }

.oms-view-btn {
    padding: 6px 14px; border-radius: 8px;
    background: #f0e8ff; border: none;
    color: #6c3baa; font-family: inherit;
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: all .2s;
}
.oms-view-btn:hover { background: #6c3baa; color: #fff; }

.oms-tracking-pill {
    display: inline-block;
    background: #e8f8f0; color: #1e7a48;
    border-radius: 6px; padding: 3px 10px;
    font-size: 13px; font-weight: 700;
    letter-spacing: 1px;
}

/* ── Pagination ──────────────────────────────────────────── */
.oms-pagination {
    display: flex; justify-content: center; gap: 6px;
    margin-top: 20px; flex-wrap: wrap;
}
.oms-page-btn {
    width: 36px; height: 36px; border-radius: 8px;
    border: 2px solid #e8e0f5; background: #fff;
    color: #6c3baa; font-family: inherit; font-weight: 700;
    font-size: 14px; cursor: pointer; transition: all .2s;
}
.oms-page-btn:hover, .oms-page-btn.active {
    background: #6c3baa; color: #fff; border-color: #6c3baa;
}

/* ── Order Detail ────────────────────────────────────────── */
.oms-detail-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.oms-detail-card {
    background: #fff; border-radius: 16px; padding: 20px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    border: 1.5px solid #f0ecfa;
}
.oms-detail-card-title {
    font-size: 15px; font-weight: 700; color: #6c3baa;
    margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 2px solid #f0ecfa;
}
.oms-detail-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 8px 0; border-bottom: 1px solid #fafafe; font-size: 14px; gap: 8px;
}
.oms-detail-row:last-child { border-bottom: none; }
.oms-detail-label { color: #888; flex-shrink: 0; }
.oms-detail-val { color: #1a1a2e; font-weight: 600; text-align: left; word-break: break-word; }
.oms-detail-val.highlight { color: #6c3baa; font-size: 17px; }

.oms-edit-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px;
    margin-top: 12px;
}

/* ── Responsive Admin ────────────────────────────────────── */
@media (max-width: 900px) {
    .oms-admin-wrap { flex-direction: column; }
    .oms-admin-sidebar { width: 100%; min-width: unset; height: auto; position: static; flex-direction: row; flex-wrap: wrap; padding: 12px; }
    .oms-admin-logo { padding: 8px 12px; border-bottom: none; flex: 1; }
    .oms-admin-nav { flex-direction: row; padding: 0; flex: unset; }
    .oms-admin-nav-item { padding: 8px 12px; font-size: 12px; }
    .oms-admin-logout { margin: 0; padding: 8px 12px; width: auto; }
    .oms-admin-content { padding: 16px; }
    .oms-detail-grid { grid-template-columns: 1fr; }
    .oms-edit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .oms-stats-grid { grid-template-columns: 1fr 1fr; }
    .oms-table { font-size: 12px; }
    .oms-table th, .oms-table td { padding: 8px 6px; }
}
