/* Basic clean Arabic-friendly board */
.oxr-board-wrap { font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial; direction: rtl; }
.oxr-board-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin: 1rem 0; flex-wrap: wrap; }
.oxr-title { margin:0; font-size:1.5rem; }
.oxr-tools { display:flex; gap:0.75rem; align-items:center; }
.oxr-tools label { display:flex; gap:0.35rem; align-items:center; }
.oxr-search { padding:8px; min-width: 220px; }
.oxr-shot-btn, .oxr-convert-btn { padding:8px 12px; cursor:pointer; border:1px solid #ddd; background:#f6f6f6; border-radius:6px; }
.oxr-board-canvas { border:1px solid #e5e7eb; border-radius:8px; padding:1rem; background: #fff; }
.oxr-meta { color:#555; font-size:0.85rem; margin-bottom:0.5rem; display:flex; justify-content:flex-start; }
.oxr-table { width: 100%; border-collapse: collapse; }
.oxr-table th, .oxr-table td { border-bottom: 1px solid #eee; padding: 8px 10px; text-align: right; }
.oxr-table th { background: #fafafa; }
.oxr-rows tr.hidden { display:none; }

.oxr-converter { margin: 1rem 0; }
.oxr-converter .row { display:flex; flex-wrap:wrap; gap:0.6rem; align-items:center; }
.oxr-result { margin-inline-start: 0.5rem; font-weight:600; }


/* --- Enhancements v1.0.1 --- */
.oxr-board-wrap { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.oxr-board-header { gap: 0.75rem 1rem; }
.oxr-board-canvas { box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.oxr-table th { position: sticky; top: 0; z-index: 1; }
.oxr-table tbody tr:nth-child(even){ background: #fcfcfc; }
.oxr-table tbody tr:hover td{ background: #f7f7f7; }
.oxr-table td, .oxr-table th { white-space: nowrap; }
@media (max-width: 640px){
  .oxr-tools { width: 100%; justify-content: space-between; }
  .oxr-search { flex: 1 1 auto; min-width: 140px; }
  .oxr-board-canvas { padding: .75rem; }
  .oxr-table td, .oxr-table th { padding: 8px; }
}
