/* spinner.css */
#overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Black with transparency */
  z-index: 9998;
  display: none;
}

#spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  z-index: 9999;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hyperlink {
  color: blue;
  cursor: pointer;
  text-decoration: underline;
}
.hyperlink:hover {
  color: darkblue;
}

body {
  padding-top: 87px; /* Adjust this value to match the height of your navbar */
}

.dropdown-item:hover {
  background-color: var(--bs-dark); /* Use the Bootstrap dark color */
  color: #ffffff;
}

/* Entry card styles for account holder home page */
.entry-card {
  margin-bottom: 1rem;
}

.entry-card img {
  width: 100%;
  height: auto;
  cursor: pointer;
  max-width: 100%;
  display: block;
  transition: transform 0.2s;
}

.entry-card img:hover {
  transform: scale(1.05);
}

.download-link {
  text-decoration: none;
}

#modalImage {
  max-width: 100%;
  max-height: 100vh;
  width: auto;
  height: auto;
  margin: auto;
  display: block;
}