/* Kur'an ayet tag sistemi — 2:255Tablo, 1:Sure, 1-5:SureMeal vb. */

.kuran-ayet-loading {
  color: #3498db;
  font-style: italic;
}

.kuran-ayet-error {
  color: #e74c3c;
  padding: 10px;
  background: #fdecea;
  border-left: 4px solid #e74c3c;
  border-radius: 4px;
  margin: 12px 0;
}

.kuran-sure-container,
.kuran-sure-meal-container {
  margin: 24px 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.kuran-sure-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0345BF;
}

.kuran-sure-header h2 {
  color: #0345BF;
  font-size: 1.35rem;
  margin: 0 0 4px;
}

.kuran-sure-header p {
  color: #666;
  margin: 0;
}

.kuran-sure-ayetler {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kuran-ayet-tablo,
.kuran-ayet-container {
  margin: 16px 0;
  padding: 16px;
  background: #fafbfc;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
}

.kuran-ayet-tablo-header,
.kuran-ayet-header {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dee2e6;
}

.kuran-ayet-tablo-header h3,
.kuran-ayet-header-top .kuran-sure-adi {
  color: #0345BF;
  font-size: 1.1rem;
  margin: 0 0 4px;
}

.kuran-ayet-header-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
}

.kuran-ayet-numara,
.kuran-ayet-tablo-header p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.kuran-ayet-tablo-section {
  margin-top: 12px;
}

.kuran-ayet-arapca {
  font-family: "Traditional Arabic", "Amiri", "Scheherazade New", serif;
  font-size: 1.35rem;
  line-height: 2;
  direction: rtl;
  text-align: right;
  padding: 14px;
  background: #fff;
  border-radius: 6px;
  border-right: 4px solid #2ecc71;
}

.kuran-ayet-latin,
.kuran-ayet-meal {
  font-size: 16px;
  padding: 14px;
  background: #fff;
  border-radius: 6px;
  color: #34495e;
  line-height: 1.8;
}

.kuran-ayet-latin {
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  border-left: 4px solid #9b59b6;
}

.kuran-ayet-meal {
  border-left: 4px solid #3498db;
}

.kuran-ayet-not {
  margin-top: 10px;
  padding: 10px 12px;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 4px;
  font-size: 14px;
  color: #856404;
  line-height: 1.6;
}

.kuran-ayet-meal-only {
  margin: 10px 0;
  padding: 12px 14px;
  background: #fff;
  border-left: 4px solid #3498db;
  border-radius: 0 6px 6px 0;
}

.kuran-ayet-meal-header {
  margin-bottom: 8px;
}

.kuran-ayet-numara-badge {
  display: inline-block;
  background: #0345BF;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 2px 10px;
  border-radius: 999px;
}

.kuran-ayet-meal-content {
  line-height: 1.75;
  color: #333;
}

.kuran-kavram-link {
  color: #3498db;
  cursor: pointer;
  text-decoration: underline;
  font-weight: bold;
}

.kuran-kavram-link:hover {
  color: #2980b9;
}

.kuran-kavram-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.kuran-kavram-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 2px solid #3498db;
  border-radius: 10px;
  padding: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 10000;
}

.kuran-kavram-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ecf0f1;
}

.kuran-kavram-popup-title {
  font-size: 20px;
  font-weight: bold;
  color: #2c3e50;
}

.kuran-kavram-popup-close {
  background: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.kuran-kavram-popup-close:hover {
  background: #c0392b;
}

.kuran-kavram-popup-content {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.kuran-kavram-popup-loading {
  text-align: center;
  color: #3498db;
  font-style: italic;
}

.kuran-ayet-audio-player {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  border-radius: 8px;
  width: 100%;
}

.kuran-ayet-play-btn {
  background: linear-gradient(135deg, #43a047, #66bb6a);
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kuran-ayet-play-btn:hover {
  transform: translateY(-1px);
}

.kuran-ayet-play-btn.playing {
  background: linear-gradient(135deg, #fb8c00, #ffa726);
}

.kuran-ayet-play-btn.loading {
  background: linear-gradient(135deg, #1976d2, #42a5f5);
  cursor: wait;
}

.kuran-ayet-play-btn.error {
  background: linear-gradient(135deg, #e53935, #ef5350);
}

.kuran-ayet-progress-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.kuran-ayet-progress-bar {
  width: 100%;
  height: 8px;
  background: #ddd;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
}

.kuran-ayet-progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #43a047, #66bb6a);
  width: 0%;
  transition: width 0.1s linear;
}

.kuran-ayet-progress-bar.playing .kuran-ayet-progress-fill {
  background: linear-gradient(135deg, #fb8c00, #ffa726);
}

.kuran-ayet-time-display {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
}
