@font-face {
  font-family: 'SolaimanLipi';
  src: url('fonts/SolaimanLipi.ttf') format('truetype');
}

@font-face {
  font-family: 'NooreHuda';
  src: url('fonts/noorehuda.ttf') format('truetype');
}

html, body {
  margin: 0;
  padding: 0;
  height: 100vh; /* পুরো ভিউপোর্ট উচ্চতা */
  font-family: 'SolaimanLipi', sans-serif;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.toolbar {
  background-color: #01837A;
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toolbar-title {
  font-size: 18px;
  font-weight: bold;
}

.icon-img {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

#loading {
  text-align: center;
  padding: 20px;
  font-size: 18px;
  color: #555;
}

#ayahList {
  flex-grow: 1; /* অবশিষ্ট স্পেস নেবে */
  overflow-y: auto; /* স্ক্রল করবে */
  padding: 10px;
  box-sizing: border-box;
}

.ayah-card {
  margin: 10px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 10px;
}

.top-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.number-box {
  width: 50px;
  height: 50px;
  background-image: url('ic_1_4.png');
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.number-text {
  font-size: 11px;
  font-weight: bold;
  color: #607D8B;
}

.actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.actions img {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.verse-arabic {
  font-family: 'NooreHuda', serif;
  font-size: 28px;
  text-align: right;
  direction: rtl;
  unicode-bidi: plaintext;
  color: #000;
  margin: 10px 0;
}

.kanzul, .irfan {
  font-size: 14px;
  padding: 8px;
  margin: 10px 0 5px;
  font-weight: bold;
}

.kanzul {
  background-color: #E0F2F1;
  color: #009688;
}

.irfan {
  background-color: #E3F2FD;
  color: #1E88E5;
}

.kanzul-text, .irfan-text {
  font-size: 16px;
  color: #000;
  margin: 5px 0 10px;
}

#searchBox {
  display: none;
  padding: 10px;
}

#searchInput {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  font-family: 'SolaimanLipi', sans-serif;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.audio-controller {
  position: fixed;
  bottom: 0; /* নিচ থেকে পুরোপুরি লাগবে */
  left: 0;
  right: 0;
  background: #01837A;
  color: white;
  padding: 10px 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
  z-index: 9999;
}

.audio-controller img {
  width: 28px;
  height: 28px;
  cursor: pointer;
  filter: invert(1); /* হালকা আইকনের জন্য কালার ইনভার্ট */
}

.next-icon {
  transform: rotate(180deg);
}

.highlighted {
  background-color: #d1fae5; /* light green */
  border-left: 4px solid #10b981; /* teal */
}

/* কাস্টম ডায়লগ বক্সের জন্য স্টাইল */
.custom-dialog {
  display: none;
  position: fixed;
font-family: 'SolaimanLipi', sans-serif;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.dialog-content {
  background-color: #ffffff;
font-family: 'SolaimanLipi', sans-serif;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
}

#ayahInput {
  padding: 10px;
  font-family: 'SolaimanLipi', sans-serif;
  margin: 10px 0;
  width: calc(100% - 20px); /* সঠিকভাবে ইনপুট ফিল্ডের প্রস্থ ঠিক করা */
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box; /* বর্ডার এবং প্যাডিং সহ সঠিক প্রস্থ */
}

button {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  background-color: #01837A;
font-family: 'SolaimanLipi', sans-serif;
  color: white;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

/* টোস্টের স্টাইল */
.toast {
  position: fixed;
  bottom: 20px;
font-family: 'SolaimanLipi', sans-serif;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  opacity: 1;
  transition: opacity 0.5s;
  font-size: 14px;
  z-index: 9999;
}