/* ============================================================
   ProExcel Business Systems - التنسيق الرئيسي (RTL)
   الهوية: أزرق داكن #123A63 | أخضر #21A366 | أبيض ومحايدات
   ============================================================ */
:root {
  --blue-950: #0A2340;
  --blue-900: #0D2B4A;
  --blue-800: #123A63;
  --blue-700: #1A4A7E;
  --blue-600: #22598F;
  --blue-100: #DCE7F3;
  --blue-50:  #EEF3F9;
  --green-700: #1B8756;
  --green-600: #21A366;
  --green-100: #D9F2E6;
  --green-50:  #EAF7F1;
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --text: #182635;
  --muted: #5A6B7D;
  --border: #E2E8F0;
  --danger: #C0392B;
  --danger-100: #FDEDEB;
  --warning: #9A6700;
  --warning-100: #FFF3D6;
  --info-100: #E3F0FB;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 18px rgba(18, 58, 99, 0.08);
  --shadow-lg: 0 14px 34px rgba(18, 58, 99, 0.14);
  --font: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.site-main { min-height: 55vh; }

h1, h2, h3, h4 { color: var(--blue-900); line-height: 1.4; margin: 0 0 12px; }

/* ============================ الترويسة ============================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue-900); }
.brand-logo { max-height: 48px; width: auto; max-width: 210px; object-fit: contain; }
.brand-mark {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-800), var(--green-600));
  color: #fff; font-weight: 800; font-size: 17px; letter-spacing: .5px;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 800; font-size: 17px; color: var(--blue-900); }
.brand-sub { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.main-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  text-decoration: none; color: var(--text); font-weight: 700; font-size: 14.5px;
  padding: 9px 14px; border-radius: 9px; transition: background .18s, color .18s;
}
.main-nav a:hover { background: var(--blue-50); color: var(--blue-800); }
.nav-toggle { display: none; margin-inline-start: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.6px; background: var(--blue-900); border-radius: 3px; margin: 5px 0; transition: .2s; }

/* ============================ القسم الرئيسي Hero ============================ */
.hero {
  background:
    radial-gradient(720px 340px at 88% -10%, rgba(33, 163, 102, 0.28), transparent 60%),
    radial-gradient(600px 300px at 8% 110%, rgba(33, 163, 102, 0.16), transparent 60%),
    linear-gradient(150deg, var(--blue-950), var(--blue-800) 55%, var(--blue-700));
  color: #fff; padding: 64px 0 70px;
}
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; padding: 0 20px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22);
  color: #DFF5EA; font-size: 13px; font-weight: 700;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.hero-badge svg { width: 15px; height: 15px; }
.hero h1 { color: #fff; font-size: clamp(27px, 4.4vw, 46px); font-weight: 800; margin-bottom: 14px; }
.hero h1 .hl { color: #55D69B; }
.hero p { color: #C9D7E6; font-size: clamp(15px, 1.8vw, 18px); margin: 0 auto 28px; max-width: 640px; }
.hero-search {
  display: flex; gap: 10px; background: #fff; padding: 8px;
  border-radius: 14px; box-shadow: var(--shadow-lg); max-width: 620px; margin: 0 auto;
}
.hero-search input {
  flex: 1; border: 0; outline: none; font-family: var(--font); font-size: 15.5px;
  padding: 10px 14px; color: var(--text); background: transparent; min-width: 0;
}
.hero-search .btn { flex-shrink: 0; }
.hero-stats { display: flex; justify-content: center; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat b { display: block; font-size: 24px; color: #55D69B; font-weight: 800; }
.hero-stat span { font-size: 13px; color: #B9C8D8; }

/* ============================ الأزرار ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 14.5px;
  padding: 11px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: all .18s; line-height: 1.4;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: 0 0 17px; }
.btn-primary { background: var(--blue-800); color: #fff; }
.btn-primary:hover { background: var(--blue-900); transform: translateY(-1px); }
.btn-green { background: var(--green-600); color: #fff; }
.btn-green:hover { background: var(--green-700); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--blue-800); border-color: var(--blue-100); }
.btn-outline:hover { border-color: var(--blue-600); background: var(--blue-50); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); }
.btn-danger-outline { background: #fff; color: var(--danger); border-color: #F0C9C4; }
.btn-danger-outline:hover { background: var(--danger-100); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #A93226; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-sm svg { width: 14px; height: 14px; flex: 0 0 14px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn[disabled], .btn.disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }

/* ============================ الأقسام العامة ============================ */
.section { padding: 54px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; margin: 0; }
.section-head .section-sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.section-link { font-weight: 700; font-size: 14px; text-decoration: none; color: var(--green-600); }

/* ============================ شريط الفلترة ============================ */
.filter-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow);
}
.cat-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-800); font-size: 13.5px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; transition: .15s;
}
.chip:hover { border-color: var(--blue-600); }
.chip.active { background: var(--blue-800); color: #fff; }
.sort-box { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.sort-box label { font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
select.sort-select {
  font-family: var(--font); font-size: 14px; font-weight: 600;
  padding: 8px 12px; border-radius: 9px; border: 1.5px solid var(--border);
  background: #fff; color: var(--text); cursor: pointer;
}
select.sort-select:focus { outline: none; border-color: var(--blue-600); }

/* ============================ شبكة المنتجات: 4 بطاقات متساوية في الصف ============================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 1199px) { .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(140deg, var(--blue-800) 0%, var(--blue-700) 58%, var(--green-700) 130%);
  display: flex; align-items: center; justify-content: center;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .media-placeholder { color: rgba(255,255,255,.9); text-align: center; }
.card-media .media-placeholder svg { width: 54px; height: 54px; margin: 0 auto 8px; opacity: .95; }
.card-media .media-placeholder span { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.75); display: block; }
.card-flags { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.flag {
  font-size: 11.5px; font-weight: 800; padding: 4px 11px; border-radius: 999px; color: #fff;
}
.flag-featured { background: var(--green-600); }
.flag-off { background: var(--danger); }
.card-cat {
  position: absolute; bottom: 12px; inset-inline-start: 12px;
  background: rgba(10, 35, 64, 0.72); color: #fff; backdrop-filter: blur(4px);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 16px; gap: 8px; }
.card-title { font-size: 16.5px; font-weight: 800; color: var(--blue-900); margin: 0; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--blue-700); }
.card-desc {
  color: var(--muted); font-size: 13.5px; margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 46px;
}
.card-price { font-size: 20px; font-weight: 800; color: var(--green-700); }
.card-price small { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-inline-start: 6px; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.card-actions .btn { padding: 9px 8px; font-size: 13px; }
.card-actions .btn-buy { grid-column: 1 / -1; }

/* ============================ حالة فراغ ============================ */
.empty-state {
  text-align: center; padding: 60px 20px; background: var(--surface);
  border: 1.5px dashed var(--border); border-radius: var(--radius); color: var(--muted);
}
.empty-state svg { width: 52px; height: 52px; color: var(--blue-100); margin-bottom: 12px; }
.empty-state h3 { margin-bottom: 6px; }

/* ============================ كيف يعمل الشراء ============================ */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }
.how-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow); position: relative;
}
.how-num {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-50); color: var(--green-700); font-weight: 800; font-size: 18px; margin-bottom: 14px;
  border: 1.5px solid var(--green-100);
}
.how-card h3 { font-size: 17px; font-weight: 800; }
.how-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ============================ الأسئلة الشائعة ============================ */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.faq-item h4 { margin: 0 0 6px; font-size: 15.5px; font-weight: 800; color: var(--blue-900); }
.faq-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* ============================ صفحة تفاصيل المنتج ============================ */
.crumbs { font-size: 13.5px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue-700); }
.product-page { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; padding: 22px 0 40px; align-items: start; }
@media (max-width: 980px) { .product-page { grid-template-columns: 1fr; } }
.gallery-main {
  aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: linear-gradient(140deg, var(--blue-800) 0%, var(--blue-700) 58%, var(--green-700) 130%);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .media-placeholder { color: rgba(255,255,255,.9); text-align: center; }
.gallery-main .media-placeholder svg { width: 64px; height: 64px; margin: 0 auto 10px; }
.gallery-main .media-placeholder span { font-size: 13.5px; color: rgba(255,255,255,.8); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs button {
  padding: 0; border: 2px solid var(--border); border-radius: 10px; overflow: hidden;
  cursor: pointer; background: var(--blue-50); aspect-ratio: 16/10; transition: border-color .15s;
}
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--green-600); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 8px; }
.pd-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pd-price {
  background: var(--green-50); border: 1.5px solid var(--green-100); color: var(--green-700);
  font-size: 26px; font-weight: 800; border-radius: var(--radius-sm);
  padding: 12px 22px; display: inline-block; margin: 6px 0 18px;
}
.pd-price small { font-size: 13px; color: var(--muted); font-weight: 600; }
.pd-desc { color: var(--text); font-size: 15px; white-space: pre-line; }
.pd-block { margin-top: 26px; }
.pd-block h3 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.pd-block h3 svg { width: 19px; height: 19px; color: var(--green-600); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.feature-list li svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--green-600); margin-top: 3px; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.info-list li { display: flex; gap: 10px; align-items: flex-start; }
.info-list li svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--blue-700); margin-top: 3px; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.pd-buy-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px; position: sticky; top: 92px;
}
@media (max-width: 980px) { .pd-buy-card { position: static; } }
.pd-buy-card h3 { margin: 0 0 12px; font-size: 16.5px; }
.demo-note { background: var(--info-100); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13.5px; color: var(--blue-800); margin-top: 14px; }

/* ============================ نماذج الطلب ============================ */
.page-title-wrap { padding: 34px 0 8px; text-align: center; }
.page-title-wrap h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.page-title-wrap p { color: var(--muted); margin: 0; }
.order-wrap { max-width: 960px; margin: 20px auto 50px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
@media (max-width: 820px) { .order-wrap { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.form-card h2 { font-size: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; color: var(--blue-900); }
.form-group label .req { color: var(--danger); }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"],
.form-group input[type="password"], .form-group input[type="url"], .form-group input[type="number"],
.form-group select, .form-group textarea {
  width: 100%; font-family: var(--font); font-size: 14.5px; color: var(--text);
  padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(33, 163, 102, 0.12);
}
.form-group .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.form-group.ltr input { direction: ltr; text-align: left; }
.check-row { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; }
.check-row input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--green-600); }
.check-row label { font-weight: 600; color: var(--text); cursor: pointer; }
.hp-field { position: absolute; inset-inline-start: -9999px; opacity: 0; height: 0; overflow: hidden; }
.order-summary { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 22px; }
.order-summary h3 { font-size: 15.5px; margin-bottom: 12px; }
.order-summary .sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 7px 0; border-bottom: 1px dashed var(--blue-100); }
.order-summary .sum-row:last-of-type { border-bottom: 0; }
.order-summary .sum-row b { color: var(--blue-900); }
.order-summary .total { font-size: 19px; font-weight: 800; color: var(--green-700); }

/* صفحة انتظار تأكيد الدفع */
.pending-card { max-width: 640px; margin: 30px auto 60px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; text-align: center; }
.pending-icon { width: 74px; height: 74px; border-radius: 50%; background: var(--warning-100); color: var(--warning); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pending-icon svg { width: 36px; height: 36px; }
.pending-card h1 { font-size: 23px; }
.order-no-box {
  background: var(--blue-50); border: 1.5px dashed var(--blue-600); color: var(--blue-900);
  font-weight: 800; font-size: 19px; letter-spacing: 1px; direction: ltr;
  padding: 10px 18px; border-radius: var(--radius-sm); display: inline-block; margin: 8px 0 18px;
}
.pending-details { text-align: start; background: var(--bg); border-radius: var(--radius-sm); padding: 16px 18px; margin: 14px 0; display: grid; gap: 8px; font-size: 14.5px; }
.pending-details .row { display: flex; justify-content: space-between; gap: 10px; }
.pending-details .row span { color: var(--muted); }
.pending-details .row b { color: var(--blue-900); }
.pay-notice { font-size: 13.5px; color: var(--muted); background: var(--bg); border-radius: var(--radius-sm); padding: 12px 16px; margin-top: 16px; line-height: 1.9; }

/* ============================ التذييل ============================ */
.site-footer { background: var(--blue-950); color: #C3D0DE; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 34px; padding: 46px 20px 34px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .brand-name { color: #fff; font-weight: 800; font-size: 17px; }
.footer-about { font-size: 13.5px; color: #9FB0C2; margin: 0 0 16px; max-width: 380px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08);
  color: #DCE7F3; display: inline-flex; align-items: center; justify-content: center; transition: .15s;
}
.footer-social a:hover { background: var(--green-600); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-title { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; }
.footer-links a { color: #9FB0C2; text-decoration: none; transition: .15s; }
.footer-links a:hover { color: #55D69B; }
.footer-contact li { display: flex; gap: 9px; align-items: center; color: #9FB0C2; }
.footer-contact svg { width: 16px; height: 16px; flex: 0 0 16px; color: #55D69B; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; font-size: 13px; color: #8DA0B5; text-align: center; }

/* ============================ التنبيهات ============================ */
.alert {
  display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; margin: 14px 0; line-height: 1.7;
}
.alert-icon { width: 19px; height: 19px; flex: 0 0 19px; margin-top: 3px; }
.alert-success { background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100); }
.alert-error { background: var(--danger-100); color: var(--danger); border: 1px solid #F5D3CE; }
.alert-info { background: var(--info-100); color: var(--blue-800); border: 1px solid var(--blue-100); }
.container-narrow { max-width: 640px; margin: 0 auto; }

/* ============================ ترقيم الصفحات ============================ */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; padding: 8px 13px; text-align: center; border-radius: 9px;
  font-weight: 700; font-size: 13.5px; text-decoration: none; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text);
}
.pagination a:hover { border-color: var(--blue-600); color: var(--blue-800); }
.pagination .current { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }

/* ============================ الجوال ============================ */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; inset-inline: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 10px 16px 16px; gap: 2px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 14px; }
  .hero { padding: 44px 0 52px; }
  .hero-search { flex-direction: column; }
  .hero-search .btn { width: 100%; }
  .hero-stats { gap: 20px; }
  .card-actions { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
}

/* ============================ شارات الحالة (عامة) ============================ */
.badge {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; white-space: nowrap;
}
.badge-success { background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100); }
.badge-warning { background: var(--warning-100); color: var(--warning); border: 1px solid #F3E2B0; }
.badge-danger { background: var(--danger-100); color: var(--danger); border: 1px solid #F5D3CE; }
.badge-info { background: var(--info-100); color: var(--blue-800); border: 1px solid var(--blue-100); }
.badge-muted { background: #EEF1F5; color: var(--muted); border: 1px solid var(--border); }
