/* ---------------------------------------------------------------
   Design direction: a field operations log, not a generic SaaS admin
   panel. The PR team is triaging a queue under time pressure, so the
   UI leans into dense, scannable rows and a "manifest" feel — booth
   numbers, monospace data, stamped status pills — rather than soft
   cards and whitespace. Signature element: the status pill system
   reads like cargo/shipping tracking, since that's functionally what
   this is (tracking exhibitors from "spotted" to "secured").
   ------------------------------------------------------------------ */

:root {
  --ink: #1a1d1f;
  --paper: #f7f5f0;
  --paper-raised: #ffffff;
  --line: #ddd8cc;
  --line-strong: #1a1d1f;
  --amber: #c4742a;
  --amber-soft: #f3e3d0;
  --green: #3d6b4f;
  --green-soft: #dde9e0;
  --red: #a83e3e;
  --red-soft: #f3dcdc;
  --blue: #3d5a80;
  --blue-soft: #dde3ec;
  --muted: #8a8478;

  --font-display: 'Space Grotesk', 'IBM Plex Sans Arabic', sans-serif;
  --font-body: 'Inter', 'IBM Plex Sans Arabic', sans-serif;
  --font-mono: 'IBM Plex Mono', 'IBM Plex Sans Arabic', monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.app {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* ---------- Topbar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 20px;
  border-bottom: 2px solid var(--line-strong);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.topbar-title h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  margin: 0;
  letter-spacing: -0.01em;
}

.topbar-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.topbar-stats {
  display: flex;
  gap: 28px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-toggle {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  padding: 6px 12px;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
}

.lang-toggle:hover { background: var(--ink); color: var(--paper); }

.stat-block {
  text-align: right;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.stat-number.warn { color: var(--amber); }

/* ---------- Tabs ---------- */

.tabs {
  display: flex;
  gap: 2px;
  margin-top: 18px;
  border-bottom: 1px solid var(--line);
}

.tab {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: none;
  border: none;
  padding: 11px 16px;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab:hover { color: var(--ink); }

.tab.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
  font-weight: 500;
}

.tab-badge {
  background: var(--amber);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 8px;
  min-width: 14px;
  text-align: center;
}

.tab-badge:empty { display: none; }

/* ---------- Main layout ---------- */

main { padding-top: 24px; }

.section-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 28px 0 10px;
}

.section-heading:first-child { margin-top: 0; }

/* ---------- Exhibition cards ---------- */

.exhibition-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.exhibition-row {
  background: var(--paper-raised);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  transition: background 0.1s ease;
}

.exhibition-row:hover { background: #fdfcfa; }

.ex-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  line-height: 1.4;
}

.ex-date .month { color: var(--muted); font-size: 10px; text-transform: uppercase; }

.ex-main h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 3px;
}

.ex-meta {
  font-size: 12px;
  color: var(--muted);
}

.ex-meta .dot { margin: 0 6px; }

.ex-counts {
  display: flex;
  gap: 16px;
  align-items: center;
}

.count-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
}

.count-pill .n {
  font-size: 18px;
  font-weight: 600;
  display: block;
}

.count-pill .l {
  font-size: 9px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.count-pill.flag .n { color: var(--amber); }

.ex-arrow {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 18px;
}

/* ---------- Exhibition detail header ---------- */

.exhibition-header {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 20px 22px;
  margin-bottom: 8px;
}

.exhibition-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.exhibition-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.info-value {
  font-size: 13px;
  color: var(--ink);
}

.info-value a {
  color: var(--blue);
  text-decoration: none;
}

.info-value a:hover { text-decoration: underline; }

/* ---------- Admin controls ---------- */

.toolbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 28px 0 10px;
}

.toolbar-row .section-heading { margin: 0; }

.icon-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 5px 10px;
  cursor: pointer;
  color: var(--muted);
}

.icon-btn:hover { color: var(--ink); border-color: var(--ink); }
.icon-btn.danger:hover { color: var(--red); border-color: var(--red); }

.ex-admin {
  display: flex;
  gap: 6px;
}

.form-field { margin-bottom: 12px; }

.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 13px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
}

.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.contact-row-admin {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}

.contact-row-admin:last-child { border-bottom: none; }

.contact-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.contact-actions button {
  font-family: var(--font-mono);
  font-size: 10px;
  background: none;
  border: 1px solid var(--line);
  padding: 3px 7px;
  cursor: pointer;
  color: var(--muted);
}

.contact-actions button:hover { color: var(--ink); border-color: var(--ink); }

.locked-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  color: var(--green);
  margin-left: 5px;
}

.danger-zone {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ---------- Confirm dialog (replaces browser confirm()) ---------- */

#confirm-overlay { z-index: 60; }

.confirm-modal {
  width: 380px;
  padding: 22px 24px;
}

.confirm-message {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.confirm-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* A toolbar-row nested inside the exhibition header (title + Edit button)
   shouldn't carry the page-level top margin meant for section headings --
   that was creating a large gap above the exhibition title. */
.exhibition-header .toolbar-row {
  margin: 0 0 14px;
}

/* Shrink-to-fit columns (status pills, remove buttons, booth numbers)
   instead of letting them stretch across whatever space is left over
   from wider columns like Contact -- fixes the large gap that appeared
   between the Status and Remove columns. */
.status-col,
.remove-col,
.booth-col {
  width: 1%;
  white-space: nowrap;
}

/* ---------- Company table ---------- */

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-raised);
  border: 1px solid var(--line);
}

.company-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 500;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #f1efe8;
}

.company-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  vertical-align: middle;
}

.company-table tr:last-child td { border-bottom: none; }

.company-table tr.review-row { background: var(--amber-soft); }

.company-table tr:hover { background: #fbf9f4; }
.company-table tr.review-row:hover { background: #f0dcc0; }

.company-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}

.company-name.placeholder {
  font-family: var(--font-mono);
  font-weight: 400;
  font-style: italic;
  color: var(--amber);
}

.booth {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.contact-cell {
  font-family: var(--font-mono);
  font-size: 12px;
}

.contact-cell .none { color: var(--muted); font-style: italic; }

.find-contact-btn {
  margin-left: 8px;
  font-size: 10px;
  padding: 2px 7px;
}
.find-contact-btn:disabled { opacity: 0.6; cursor: default; }

/* ---------- Website cell ---------- */

.website-cell {
  font-family: var(--font-mono);
  font-size: 12px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.website-cell .none { color: var(--muted); font-style: italic; }

.website-link {
  color: var(--blue);
  text-decoration: none;
}

.website-link:hover { text-decoration: underline; }

.confidence-tag {
  display: inline-block;
  font-size: 9px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.confidence-tag.verified { background: var(--green-soft); color: var(--green); }
.confidence-tag.guessed { background: var(--amber-soft); color: var(--amber); }
.confidence-tag.manual { background: var(--blue-soft); color: var(--blue); }

/* ---------- Region pills ---------- */

.region-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 2px 7px;
  border-radius: 3px;
}

.region-pill.saudi { background: var(--green-soft); color: var(--green); }
.region-pill.gulf { background: var(--blue-soft); color: var(--blue); }
.region-pill.other { background: var(--red-soft); color: var(--red); }
.region-pill.unclassified {
  background: transparent;
  color: var(--muted);
  border: 1px dashed var(--line);
  font-style: italic;
}

.filter-row-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-right: 4px;
  align-self: center;
}

/* ---------- Status pills ---------- */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
  cursor: pointer;
  background: var(--paper-raised);
}

.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-pill.new { color: var(--muted); }
.status-pill.contacted { color: var(--blue); }
.status-pill.interested { color: var(--amber); }
.status-pill.converted { color: var(--green); }
.status-pill.declined { color: var(--red); }

.status-col .review-btn { margin-right: 8px; }

.review-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  letter-spacing: 0.03em;
}

.review-btn:hover { background: #3a3a38; }

/* ---------- Review queue (logo cards) ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.review-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 14px;
}

.review-logo-placeholder {
  width: 100%;
  height: 100px;
  background: repeating-linear-gradient(
    45deg, #ece8de, #ece8de 8px, #e3ddcf 8px, #e3ddcf 16px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 10px;
  text-align: center;
  padding: 8px;
}

.review-card-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 8px;
}

.review-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 13px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  margin-bottom: 8px;
}

.review-save {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 7px;
  cursor: pointer;
}

/* ---------- Pipeline (kanban) ---------- */

.pipeline-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.pipeline-col {
  background: #f1efe8;
  border: 1px solid var(--line);
  min-height: 200px;
}

.pipeline-col-head {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
}

.pipeline-card {
  background: var(--paper-raised);
  margin: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  font-size: 12px;
}

.pipeline-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
}

.pipeline-card-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

/* ---------- Filters ---------- */

.filter-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.filter-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  padding: 5px 11px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  cursor: pointer;
  color: var(--muted);
}

.filter-chip.active {
  border-color: var(--ink);
  color: var(--ink);
  background: #ece8de;
}

.filter-chip:disabled {
  cursor: default;
  opacity: 0.6;
}

/* ---------- Auto-scrape result banner ----------
   Shown right below the exhibitors toolbar after a "Try Auto-Scrape"
   attempt -- green for a successful save, amber for a failure, using
   the same soft/solid pairs as the confidence tags and flag styling
   elsewhere so it reads as part of the same visual language rather
   than a one-off alert box. */
.scrape-banner {
  font-family: var(--font-body);
  font-size: 13px;
  padding: 9px 12px;
  border: 1px solid transparent;
  margin-bottom: 14px;
  line-height: 1.5;
}

.scrape-banner-success {
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--green);
}

.scrape-banner-failure {
  background: var(--amber-soft);
  border-color: var(--amber);
  color: var(--amber);
}

.search-input {
  font-family: var(--font-body);
  font-size: 13px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  flex: 1;
  min-width: 180px;
  background: var(--paper-raised);
}

/* ---------- Generic message banner (standalone pages: forms/status) ----------
   Same visual language as .scrape-banner, generalized with a name that
   makes sense outside the auto-scrape context -- used on Manage Accounts
   and Audit Log for success/error feedback. */
.msg-banner {
  font-family: var(--font-body);
  font-size: 13px;
  padding: 9px 12px;
  border: 1px solid transparent;
  margin-bottom: 14px;
  line-height: 1.5;
  display: none;
}

.msg-banner.show { display: block; }
.msg-banner.success { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.msg-banner.error { background: var(--red-soft); border-color: var(--red); color: var(--red); }

/* ---------- Role badges (account roles: developer/supervisor/agent) ---------- */
.role-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: 3px;
}

.role-badge.developer { background: var(--amber-soft); color: var(--amber); }
.role-badge.supervisor { background: var(--blue-soft); color: var(--blue); }
.role-badge.agent {
  background: transparent;
  color: var(--muted);
  border: 1px dashed var(--line);
}

/* ---------- Action badges (audit log) ---------- */
.action-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  background: #f1efe8;
  color: var(--muted);
}

.action-badge.destructive { background: var(--red-soft); color: var(--red); }
.action-badge.create { background: var(--green-soft); color: var(--green); }

/* icon-btn doubles as a link (Back to dashboard) on standalone pages */
a.icon-btn { text-decoration: none; display: inline-block; }

/* ---------- Modal ---------- */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 29, 31, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--paper-raised);
  width: 480px;
  max-width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  padding: 24px;
}

.modal h2 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0 0 4px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--muted);
}

.modal-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.modal-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.modal-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
}

.status-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ---------- Calendar ---------- */

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.calendar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.calendar-dow {
  background: #f1efe8;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-align: center;
  padding: 8px 4px;
}

.calendar-day {
  background: var(--paper-raised);
  min-height: 96px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-day.other-month { background: #fbfaf7; }
.calendar-day.other-month .calendar-day-num { color: var(--line); }

.calendar-day.today { box-shadow: inset 0 0 0 2px var(--ink); }
.calendar-day.today .calendar-day-num { color: var(--ink); font-weight: 600; }

.calendar-day-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.cal-chip {
  font-family: var(--font-body);
  font-size: 10px;
  line-height: 1.3;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 2px 5px;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-chip:hover { background: var(--blue); color: white; }

.cal-chip.flag { background: var(--amber-soft); color: var(--amber); }
.cal-chip.flag:hover { background: var(--amber); color: white; }

@media (max-width: 760px) {
  .pipeline-board { grid-template-columns: 1fr; }
  .exhibition-row { grid-template-columns: 1fr; gap: 8px; }
  .topbar-stats { display: none; }
  .calendar-day { min-height: 60px; }
  .calendar-title { font-size: 15px; }
  .cal-chip { font-size: 9px; }
}

/* ---------- RTL (Arabic) ----------
   Flexbox and grid main-axis order mirror automatically once <html
   dir="rtl"> sets the inherited `direction` property (nav tabs, topbar
   left/right split, exhibition row columns, the pipeline board, modal
   action rows, etc. all flip on their own -- that's most of "full RTL
   mirror" for free). What's left here is the handful of PHYSICAL
   left/right values that don't flip with direction: explicit text-align,
   an absolutely-positioned offset, and margins used for one-directional
   spacing next to preceding text. */

[dir="rtl"] .stat-block { text-align: left; }
[dir="rtl"] .company-table th { text-align: right; }
[dir="rtl"] .filter-row-label { margin-right: 0; margin-left: 4px; }
[dir="rtl"] .status-col .review-btn { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .confidence-tag { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .locked-tag { margin-left: 0; margin-right: 5px; }
[dir="rtl"] .find-contact-btn { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .modal-close { right: auto; left: 18px; }
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select { text-align: right; }
