@charset "UTF-8";
/* Фон модального окна (затемнение) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

/* Контентная область окна */
.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 1200px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Кнопка закрытия (крестик) */
.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover {
  color: black;
}

.lesson-list {
  list-style: none;
  display: flex;
}

.lesson-list li {
  font-size: 24px;
  padding: 20px;
  cursor: pointer;
}

.lesson-list li:hover {
  background-color: #f9f9f9;
}

.lesson-list a {
  color: black;
  text-decoration: none;
}

.lesson-list a:hover {
  color: #6fe6eb;
}

.sidebar .lessons-list {
  border-radius: 5px;
  padding: 5px;
}
.sidebar label {
  display: block;
}

.content {
  direction: rtl;
}

.sub-head {
  text-align: center;
}

.ar {
  font-family: "Calibri", serif;
  font-size: 33px;
}

.ru {
  font-size: 20px;
  direction: ltr;
}

.front-content {
  direction: ltr !important;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.front-content .front-chapters-item {
  border: 1px dashed red;
  font-size: 24px;
  padding: 15px;
}
.front-content .front-chapters-item:hover {
  background-color: red;
}

.vocab {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.vocab .word {
  border: 1px solid #555;
  border-radius: 4px;
  padding: 10px 7px 7px 7px;
  min-width: 160px;
  cursor: pointer;
}
.vocab .word:hover {
  background-color: #eceaea;
}
.vocab .word .ar, .vocab .word .ru {
  text-align: center;
}

.text {
  margin-top: 30px;
}
.text .sentences {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.text .sentence {
  padding: 15px 5px 5px 5px;
  display: flex;
}
.text .words {
  display: flex;
  gap: 15px;
}
.text .word {
  cursor: pointer;
  padding: 10px;
}
.text .word:hover {
  background-color: #5e5b5b;
}
.text .ar {
  font-size: 48px;
}
.text .ru {
  text-align: center;
}
.text .perevod {
  display: none;
  font-size: 18px;
  border: 1px dashed #eceaea;
  color: green;
  background-color: rgba(229, 235, 146, 0.3137254902);
  text-align: center;
}

.play {
  cursor: pointer;
}
.play:hover {
  color: blue !important;
}

.sentences .active {
  background-color: #fefff5;
  border: 1px solid #cddc39;
  border-radius: 6px;
}

/* Контейнер для кнопок */
.audio-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  direction: ltr;
  justify-content: center;
  /* Общие стили для всех кнопок */
  /* Кнопка Играть (Зеленая) */
  /* Кнопка Пауза (Оранжевая) */
  /* Кнопка Стоп (Красная) */
  /* Эффект нажатия (для всех) */
  /* Стиль для отключенных кнопок (disabled) */
  /* Стили для карточек (чтобы сочетались с кнопками) */
}
.audio-controls .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: white;
  min-width: 120px;
}
.audio-controls .btn-play {
  background-color: #2ecc71;
  box-shadow: 0 4px 0 #27ae60;
}
.audio-controls .btn-play:hover:not(:disabled) {
  background-color: #27ae60;
  transform: translateY(-1px);
}
.audio-controls .btn-pause {
  background-color: #f39c12;
  box-shadow: 0 4px 0 #d35400;
}
.audio-controls .btn-pause:hover:not(:disabled) {
  background-color: #e67e22;
  transform: translateY(-1px);
}
.audio-controls .btn-stop {
  background-color: #e74c3c;
  box-shadow: 0 4px 0 #c0392b;
}
.audio-controls .btn-stop:hover:not(:disabled) {
  background-color: #c0392b;
  transform: translateY(-1px);
}
.audio-controls .btn:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}
.audio-controls .btn:disabled {
  background-color: #bdc3c7 !important;
  box-shadow: 0 4px 0 #95a5a6 !important;
  cursor: not-allowed;
  opacity: 0.7;
  transform: none !important;
}
.audio-controls .sound-card {
  border: 2px solid transparent;
  transition: all 0.3s ease;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 10px;
}
.audio-controls .sound-card.active {
  border-color: #2ecc71;
  background-color: #f0fff4;
  transform: translateX(10px);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}/*# sourceMappingURL=style.css.map */