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

html, body {
  height: 100%;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text-primary);
  direction: rtl;
  line-height: 1.6;
  font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* مؤشر تركيز موحّد لكل عناصر التفاعل — button/input/select/textarea فقدت outline الافتراضي أعلاه بلا بديل،
   فمستخدم لوحة المفاتيح (Tab) كان يفقد أي إشارة بصرية لمكان التركيز الحالي. :focus-visible يظهر الحلقة
   عند التنقل بالكيبورد فقط (لا عند الضغط بالماوس)، فلا يغيّر أي شكل مرئي حالي بالنقر العادي */
:focus-visible {
  outline: 2px solid var(--color-primary-blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
