body {
  font-family: 'Noto Naskh Arabic', serif;
  background-color: #f9f9f9;
  color: #222;
  margin: 0;
  padding: 20px;
  direction: rtl;
}


.tab-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
  gap: 10px;
}
.tab-toggle button {
  padding: 8px 16px;
  border: none;
  background-color: #e6e6e6;
  border-radius: 6px;
  border-color: #333;
  cursor: pointer;
  font-weight: bold;
}
.tab-toggle button:hover {
  background-color: #ccc;
}




.container {
  max-width: 1050px;
  margin: auto;
}

.heading {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
}

input[type="text"] {
  width: 98%;
  padding: 12px;
  font-size: 18px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.index-list {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.index-list button {
  padding: 6px 12px;
  border: none;
  background-color: #e0e0e0;
  cursor: pointer;
  border-radius: 6px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 16px;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.card h3 {
  margin: 0 0 10px 0;
}

.card a {
  color: #0077cc;
  text-decoration: none;
  display: block;
  margin-top: 5px;
}

.load-more {
  margin: 20px auto 0;
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  background: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.lang-toggle {
  text-align: left;
  margin-bottom: 10px;
}

.lang-toggle button {
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  background: #dcdcdc;
  border: none;
  border-radius: 5px;
}

.pagination {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination button {
  padding: 6px 12px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pagination button:hover {
  background-color: #ccc;
  color:  #0077cc;
}

.pagination .active-page {
  background-color: #0077cc;
  color: white;
}