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

  :root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --button: #1f85f2;
  }
  
  /* Dark Mode styles */
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #22272e;
      --text: darkgray;
      --button: #1f85f2;
    }
  }

  a, p {
    text-decoration: none;
    color: var(--text);
  }
  
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Amiri', serif;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content label {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 10px;
}

#reciterSelect,
#reciterSearch {
  width: min(360px, calc(100% - 40px));
  padding: 12px 14px;
  border: 1px solid #b8c2cc;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

#reciterSearch {
  margin-bottom: 8px;
}

#reciterSelect {
  margin-bottom: 36px;
}

#reciterSelect:disabled,
#reciterSearch:disabled {
  opacity: 0.7;
}

#souraTitle {
  font-size: 1.2rem;
  margin-bottom: 50px;
  padding: 0 20px;
  font-weight: bold;
}
  
#playPauseButton {
  font-size: 2rem;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  background-color: var(--button);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}
  
#playPauseButton:hover {
  background-color: #14555b;
}

footer {
  font-size: 0.9rem;
  color: var(--text);
  text-align: center;
  padding: 50px;
}

footer p {
  margin-top: 10px;
}

.footer-heart img {
  vertical-align: middle;
}

audio {
  display: none;
}
