.top-button {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 115%;
}
.footer-margin {
  margin-bottom: 70px;
}

.card-clickable {
  cursor: pointer;
  transition: transform 0.2s;
  border: 2px solid #0d6efd !important;
  border-radius: 8px;
}
.card-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-color: #0b5ed7 !important;
}
.verse-card {
  border-left: 4px solid #0d6efd;
}

/* Add blue border to all cards for better visibility */
.card {
  border: 2px solid #0d6efd !important;
  border-radius: 8px;
}

/* List view styling for letters and words */
.list-group-item {
  border: 1px solid #0d6efd !important;
  margin-bottom: 2px;
  border-radius: 6px !important;
  padding: 0.75rem 1rem;
}

.list-group-item:hover {
  background-color: #f8f9fa;
  border-color: #0b5ed7 !important;
  transform: translateX(5px);
  transition: all 0.2s ease;
}

.list-group-item .fw-bold {
  color: #0d6efd;
  font-size: 1rem;
}

.list-group-item .text-muted {
  color: #6c757d !important;
  font-size: 0.9rem;
}

.list-group-item:first-child {
  border-top-left-radius: 6px !important;
  border-top-right-radius: 6px !important;
}

.list-group-item:last-child {
  border-bottom-left-radius: 6px !important;
  border-bottom-right-radius: 6px !important;
}

/* Search box styling */
#letterSearch, #wordSearch {
  border: 2px solid #0d6efd;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

#letterSearch:focus, #wordSearch:focus {
  border-color: #0b5ed7;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  outline: 0;
}

/* Search input icons */
#letterSearch::placeholder, #wordSearch::placeholder {
  color: #6c757d;
  font-style: italic;
}

/* Search filtering styles */
.letter-item[style*="display: none"],
.word-item[style*="display: none"] {
  display: none !important;
  visibility: hidden !important;
}

.letter-item.d-none,
.word-item.d-none {
  display: none !important;
  visibility: hidden !important;
}
footer {
  margin-top: 50px;
}
/* Fix navbar link visibility */
.navbar-dark .navbar-nav .nav-link {
  color: #ffffff !important;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #f8f9fa !important;
}

/* Floating zoom controls */
.zoom-controls {
  position: fixed;
  bottom: 70px;
  right: 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  z-index: 999;
}

.zoom-btn {
  background: #333;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}
#installAppBtn {
  background-color: lightseagreen;
  display: none; /* Hidden by default, shown when PWA install prompt is available */
}
#installAppBtn:hover {
  background-color: #36a420;
}
