/* Minimal custom CSS for Applications page. Bootstrap handles layout and cards. */

.app-nav-pills .nav-link {
  color: #007cba;
  background: #e9f6fb;
  font-weight: 500;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
}
.app-nav-pills .nav-link.active,
.app-nav-pills .nav-link:focus,
.app-nav-pills .nav-link:hover {
  color: #fff;
  background: #007cba;
}

.card-img-top,
.app-img {
  object-fit: cover;
  width: 100%;
  height: 180px;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  background: #f8f9fa;
}

.app-img-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  height: 100%;
}

.card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-img-top {
  cursor: pointer;
  transition: transform 0.2s;
}

.card-img-top:hover,
.app-img:hover {
  transform: scale(1.05);
}

/* Optional: Modal image max-width for very large screens */
#appModalImg {
  max-width: 100%;
  height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .app-img-wrapper,
  .card-img-top,
  .app-img {
    height: 140px;
  }
}