/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1a1a2e;
  --navy-dark:  #14142a;
  --navy-light: #252545;
  --accent:     #f5a623;
  --accent-lt:  #fff3cd;
  --green:      #1a7a45;
  --green-lt:   #d4f0e2;
  --red:        #b82c2c;
  --red-lt:     #fde8e8;
  --gray-50:    #f7f8fa;
  --gray-100:   #eef0f4;
  --gray-200:   #dde1e9;
  --gray-400:   #8e97a8;
  --gray-600:   #525e72;
  --gray-800:   #1e2535;
  --white:      #ffffff;
  --border:     #dde1e9;
  --radius:     8px;
  --radius-lg:  12px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 12px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.05);
  --font:       'Segoe UI', Tahoma, Arial, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: #f0f2f5;
  color: var(--gray-800);
  line-height: 1.6;
  min-height: 100vh;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-size: 17px; font-weight: 600; color: white; letter-spacing: -.01em; }

.main-nav { display: flex; gap: 4px; }
.nav-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-family: var(--font);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.nav-btn:hover { background: rgba(255,255,255,.1); color: white; }
.nav-btn.active { background: rgba(255,255,255,.15); color: white; border-color: rgba(255,255,255,.25); }
.badge-count {
  background: var(--accent);
  color: #5a3a00;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 20px;
  min-width: 20px;
  text-align: center;
}

/* ===== MAIN / SECTIONS ===== */
main { max-width: 1100px; margin: 0 auto; padding: 32px 24px 60px; }
.section { display: none; }
.section.active { display: block; }

.page-title { margin-bottom: 24px; }
.page-title h1 { font-size: 22px; font-weight: 600; color: var(--gray-800); }
.page-title p  { font-size: 14px; color: var(--gray-400); margin-top: 4px; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  overflow: hidden;
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--navy);
  border-radius: var(--radius) var(--radius) 0 0;
}
.card-header h2 { font-size: 15px; font-weight: 700; color: var(--accent); }
.hint { font-size: 12px; color: rgba(255,255,255,0.65); }
.card-body { padding: 20px; }
.card-body.no-pad { padding: 0; }

/* ===== FORMS ===== */
.form-grid { display: grid; gap: 14px; margin-bottom: 14px; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.form-grid.two   { grid-template-columns: repeat(2, 1fr); }
.form-grid:last-child { margin-bottom: 0; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13px; font-weight: 500; color: var(--gray-600); }
.req { color: var(--red); }
.field input,
.field select,
.field textarea {
  padding: 9px 12px;
  font-size: 14px;
  font-family: var(--font);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-800);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(42,84,148,.12);
}
.field textarea { resize: vertical; min-height: 72px; line-height: 1.6; }

/* ===== ENTRIES TABLE ===== */
.table-wrap { overflow-x: auto; }
.entries-table { width: 100%; border-collapse: collapse; }
.entries-table th {
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--navy);
  text-align: right;
  border-bottom: 1px solid var(--border);
  background: var(--gray-50);
  white-space: nowrap;
}
.entries-table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.entries-table tbody tr:last-child td { border-bottom: none; }
.entries-table tbody tr:hover { background: rgba(28,63,110,.025); }

.col-desc { width: auto; }
.col-num  { width: 160px; text-align: left; }
.col-diff { width: 130px; }
.col-act  { width: 46px; }

.entries-table td input {
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: var(--font);
  color: var(--gray-800);
  padding: 4px 6px;
  width: 100%;
  border-radius: 4px;
  transition: background .1s;
}
.entries-table td input:focus {
  outline: none;
  background: var(--gray-50);
}
.entries-table td.col-num input { text-align: left; direction: ltr; }
.row-diff { font-size: 13px; font-weight: 500; }
.row-diff.ok   { color: var(--green); }
.row-diff.bad  { color: var(--red); }
.row-diff.zero { color: var(--gray-400); }

.del-row-btn {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: var(--gray-400);
  transition: all .12s;
}
.del-row-btn:hover { background: var(--red-lt); color: var(--red); }

.table-footer { padding: 10px 14px; border-top: 1px solid var(--gray-100); }
.add-row-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-family: var(--font);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius);
  background: transparent;
  color: var(--gray-400);
  cursor: pointer;
  transition: all .15s;
}
.add-row-btn:hover { border-color: var(--navy); color: var(--navy); background: rgba(28,63,110,.04); }

/* ===== SUMMARY STRIP ===== */
.summary-strip {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  overflow: hidden;
}
.sum-item {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sum-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-400); font-weight: 600; }
.sum-val { font-size: 22px; font-weight: 600; color: var(--gray-800); line-height: 1; direction: ltr; text-align: right; }
.sum-unit { font-size: 12px; color: var(--gray-400); }
.sum-divider { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; }

.status-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.status-badge[data-st="neutral"]  { background: var(--gray-100); color: var(--gray-400); }
.status-badge[data-st="matched"]  { background: var(--green-lt); color: var(--green); }
.status-badge[data-st="diff"]     { background: var(--red-lt);   color: var(--red); }

/* ===== ACTION BAR ===== */
.action-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px;
  font-size: 14px;
  font-family: var(--font);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .15s;
  border: 1px solid transparent;
  font-weight: 500;
}
.btn-primary  { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-secondary { background: white; color: var(--gray-600); border-color: var(--border); }
.btn-secondary:hover { background: var(--gray-50); border-color: var(--gray-400); }
.btn-ghost  { background: transparent; color: var(--gray-400); }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-600); }
.btn-danger { background: var(--red-lt); color: var(--red); border-color: var(--red-lt); }
.btn-danger:hover { background: #f9d0d0; }

/* ===== ARCHIVE ===== */
.filter-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.search-wrap { position: relative; flex: 1; min-width: 220px; }
.search-icon {
  position: absolute;
  right: 11px; top: 50%; transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}
.search-wrap input {
  padding: 9px 12px; padding-right: 36px;
  font-size: 14px; font-family: var(--font);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); color: var(--gray-800);
  width: 100%; transition: all .15s;
}
.search-wrap input:focus { outline: none; border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(42,84,148,.12); }
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-group select,
.filter-group input[type="date"] {
  padding: 9px 12px; font-size: 13px; font-family: var(--font);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); color: var(--gray-600);
  transition: border-color .15s;
}
.filter-group select:focus,
.filter-group input[type="date"]:focus { outline: none; border-color: var(--navy-light); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.stat-card.matched { border-top: 3px solid var(--green); }
.stat-card.diff    { border-top: 3px solid var(--red); }
.stat-num  { display: block; font-size: 26px; font-weight: 700; color: var(--gray-800); direction: ltr; }
.stat-label{ display: block; font-size: 12px; color: var(--gray-400); margin-top: 3px; }

.archive-table { width: 100%; border-collapse: collapse; }
.archive-table th {
  padding: 11px 16px; font-size: 12px; font-weight: 600;
  color: var(--accent); text-align: right;
  border-bottom: 1px solid var(--border);
  background: var(--navy);
  white-space: nowrap;
}
.archive-table td {
  padding: 11px 16px; font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
}
.archive-table tbody tr:last-child td { border-bottom: none; }
.archive-table tbody tr:hover { background: var(--gray-50); }
.cust-name { font-weight: 600; color: var(--navy); }
.st-badge { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.st-badge.matched { background: var(--green-lt); color: var(--green); }
.st-badge.diff    { background: var(--red-lt);   color: var(--red); }
.tbl-btns { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.icon-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 6px;
  background: var(--white); cursor: pointer; color: var(--gray-600);
  transition: all .12s;
}
.icon-btn:hover { background: var(--gray-50); border-color: var(--gray-400); }
.icon-btn.danger:hover { background: var(--red-lt); border-color: var(--red); color: var(--red); }

.empty-state {
  text-align: center; padding: 56px 20px;
  color: var(--gray-400);
}
.empty-state svg { display: block; margin: 0 auto 12px; opacity: .35; }
.empty-state p { font-size: 14px; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 200;
}
.modal {
  position: fixed;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: min(96vw, 740px);
  max-height: 88vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  z-index: 201;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--gray-50);
  flex-shrink: 0;
}
.modal-header h3 { font-size: 16px; font-weight: 600; color: var(--gray-800); }
.modal-close {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border: none; background: none; cursor: pointer; color: var(--gray-400);
  border-radius: 6px; transition: all .12s;
}
.modal-close:hover { background: var(--gray-100); color: var(--gray-800); }
.modal-body { padding: 20px; overflow-y: auto; flex: 1; }
.modal-footer {
  display: flex; gap: 8px; justify-content: flex-end;
  padding: 14px 20px; border-top: 1px solid var(--border); flex-shrink: 0;
}

/* Modal content */
.modal-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.meta-item { background: var(--gray-50); border-radius: var(--radius); padding: 10px 14px; }
.meta-item .mk { font-size: 11px; color: var(--gray-400); margin-bottom: 4px; }
.meta-item .mv { font-size: 14px; font-weight: 600; color: var(--gray-800); }
.modal-entries-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 16px; }
.modal-entries-table th {
  padding: 8px 12px; background: var(--gray-50); font-weight: 600;
  color: var(--gray-400); border-bottom: 1px solid var(--border); text-align: right;
}
.modal-entries-table td {
  padding: 8px 12px; border-bottom: 1px solid var(--gray-100); color: var(--gray-800);
}
.modal-entries-table tr:last-child td { border-bottom: none; }
.modal-summary { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.ms-item {
  flex: 1; min-width: 140px; background: var(--gray-50); border-radius: var(--radius); padding: 12px 14px;
}
.ms-item .mk { font-size: 11px; color: var(--gray-400); margin-bottom: 4px; }
.ms-item .mv { font-size: 18px; font-weight: 600; color: var(--gray-800); direction: ltr; }
.notes-box { background: var(--gray-50); border-radius: var(--radius); padding: 12px 14px; font-size: 13px; color: var(--gray-600); }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--gray-800); color: white;
  padding: 11px 22px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  opacity: 0; transition: all .25s; pointer-events: none; z-index: 999;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== PRINT ===== */
@media print {
  .no-print, .site-header, .action-bar, .filter-bar,
  .modal-overlay, .modal, .toast { display: none !important; }
  body { background: white; }
  main { max-width: 100%; padding: 0; }
  .section { display: block !important; }
  #section-archive { display: none !important; }
  .card { box-shadow: none; border: 1px solid #ccc; }
  .summary-strip { box-shadow: none; border: 1px solid #ccc; }
  .page-title { margin-bottom: 16px; }
  .entries-table td input { font-size: 12px; }
  .print-header { display: block !important; margin-bottom: 20px; text-align: center; }
  .print-header h1 { font-size: 18px; font-weight: bold; }
  .print-header p  { font-size: 13px; color: #666; }
}
.print-header { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  .header-inner { padding: 0 14px; }
  main { padding: 20px 14px 48px; }
  .form-grid.three { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .summary-strip { flex-wrap: wrap; }
  .sum-divider { display: none; }
  .sum-item { min-width: 45%; }
  .modal { top: auto; bottom: 0; left: 0; right: 0; transform: none; width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 90vh; }
  .modal-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .form-grid.three, .form-grid.two { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .brand-name { display: none; }
}


/* ===== COMPANY HEADER ===== */
.company-header {
  background: #fff;
  border-bottom: 3px solid #1a1a2e;
  padding: 20px 0 0 0;
  text-align: center;
  direction: rtl;
}

.company-header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 16px;
}

.company-name-ar {
  font-size: 2rem;
  font-weight: 900;
  color: #1a1a2e;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.company-name-en {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.company-details {
  font-size: 0.85rem;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

/* ===== RECONCILIATION REQUEST MESSAGE ===== */
.reconciliation-request-msg {
  background: #fff3cd;
  border-top: 3px solid #f5a623;
  padding: 20px 32px;
  text-align: right;
  direction: rtl;
}

.reconciliation-request-msg .msg-ar {
  font-size: 0.95rem;
  color: #1e2535;
  line-height: 1.9;
  margin: 4px 0;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.reconciliation-request-msg .msg-en {
  font-size: 0.9rem;
  color: #1e2535;
  line-height: 1.9;
  margin: 4px 0;
  direction: ltr;
  text-align: left;
}

.reconciliation-request-msg .msg-ar:first-child {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  color: #1C3F6E;
  border-bottom: 1px dashed #c0c8d8;
  padding-bottom: 10px;
  margin-bottom: 12px;
}

@media print {
  .company-header {
    border-bottom: 2px solid #000;
  }
  .site-header {
    display: none !important;
  }
}



/* ========================================
   Company Header — متوائم مع تصميم الصفحة
   ======================================== */

#company-header {
  background: var(--white);
  border-bottom: 3px solid var(--navy);
  box-shadow: 0 2px 8px rgba(28,63,110,.12);
  font-family: var(--font);
  direction: rtl;
}

.company-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-direction: row-reverse;
  border-bottom: 1px solid var(--border);
}

.company-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 4px;
  background: var(--gray-50);
  flex-shrink: 0;
}

.company-logo[src="https://i.imgur.com/placeholder.png"],
.company-logo:not([src]),
.company-logo[src=""] {
  display: none;
}

.company-info {
  text-align: right;
  flex: 1;
}

.company-name-ar {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.company-name-en {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-light);
  letter-spacing: .03em;
  margin-bottom: 8px;
}

.company-details {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.7;
}

.company-details:first-of-type {
  border-top: 1px dashed var(--gray-200);
  padding-top: 6px;
  margin-top: 4px;
}

.reconciliation-request-msg {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px 18px;
  direction: rtl;
}

.msg-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: var(--accent-lt);
  border-right: 4px solid var(--accent);
  padding: 8px 14px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.msg-title-ar,
.msg-title-en {
  font-weight: 700;
  font-size: 14px;
}

.msg-body {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.85;
}

.lang-block {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.85;
}

.lang-block p {
  margin-bottom: 4px;
}

.lang-block .msg-to {
  font-weight: 600;
  color: var(--gray-800);
  background: var(--gray-50);
  padding: 7px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  font-size: 13.5px;
}

.lang-block .msg-closing {
  color: var(--gray-400);
  font-style: italic;
  font-size: 13px;
  margin-top: 6px;
}

.lang-block .msg-signature {
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 4px;
}

.lang-block strong {
  color: var(--navy);
  font-weight: 700;
  background: var(--accent-lt);
  padding: 1px 5px;
  border-radius: 4px;
}

.lang-block.lang-en { text-align: left; }
.lang-block.lang-ar { text-align: right; }

/* ====== Language Toggle Button ====== */
.lang-btn {
  border: 1px solid rgba(255,255,255,.35) !important;
  background: rgba(255,255,255,.1) !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 6px 12px !important;
  gap: 5px !important;
  letter-spacing: .05em;
  transition: all .2s ease;
}

.lang-btn:hover {
  background: rgba(255,255,255,.2) !important;
  border-color: rgba(255,255,255,.6) !important;
  color: white !important;
}

.lang-btn .lang-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body[data-lang="en"] {
  direction: ltr;
}

body[data-lang="en"] .company-header-inner,
body[data-lang="en"] .reconciliation-request-msg {
  direction: ltr;
}

body[data-lang="en"] .company-info {
  text-align: left;
}

/* ====== @media print ====== */
@media print {
  #company-header {
    display: block !important;
    visibility: visible !important;
    page-break-inside: avoid;
    border-bottom: 2pt solid #1C3F6E;
    padding-bottom: 12pt;
    margin-bottom: 16pt;
  }
  #company-header * { visibility: visible !important; }
  .lang-block { display: block !important; }
  .msg-title-ar, .msg-title-en { display: inline !important; }
  .company-header-inner,
  .reconciliation-request-msg,
  .company-info,
  .company-name-ar,
  .company-name-en,
  .company-details,
  .msg-title,
  .msg-body { display: block !important; visibility: visible !important; }
  .company-header-inner {
    padding: 0 0 10pt 0;
    border-bottom: 1pt solid #dde1e9;
    margin-bottom: 10pt;
  }
  .company-name-ar { font-size: 16pt; font-weight: bold; color: #1C3F6E; }
  .company-name-en { font-size: 10pt; color: #2a5494; }
  .company-details { font-size: 9pt; color: #525e72; }
  .msg-title {
    font-size: 10pt; font-weight: bold; color: #1C3F6E;
    background: #FEF3D7; padding: 5pt 8pt; border-radius: 3pt; margin-bottom: 8pt;
  }
  .lang-block p { font-size: 9.5pt; color: #525e72; line-height: 1.7; margin-bottom: 3pt; }
}
