body {
  background-color: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
  font-size: 15px;
  color: #222;
}

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
}

.btn {
  border-radius: 20px;
  font-size: 0.9rem;
}

.btn-success {
  background-color: #00c853;
  border-color: #00c853;
}

.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
  color: #333 !important;
  font-weight: bold;
  font-size: 1.3rem;
}

.alert {
  border-radius: 10px;
}


.card {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.ajax-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ajax-overlay .spinner-border {
  width: 3rem;
  height: 3rem;
}

.auction-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 8px;
}
.auction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.bid-btn {
  background-color: #ff6600;
  border: none;
}
.bid-btn:hover {
  background-color: #ff5500;
}

/* 🔆 Auction card bid highlight effect */
@keyframes bidHighlight {
  0%   { box-shadow: 0 0 0px rgba(255, 215, 0, 0); }
  30%  { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
  70%  { box-shadow: 0 0 15px rgba(255, 215, 0, 0.5); }
  100% { box-shadow: 0 0 0px rgba(255, 215, 0, 0); }
}

.auction-highlight {
  animation: bidHighlight 1.2s ease-in-out;
  border-color: gold !important;
}

/* 🕒 Ended auction card visual */
.auction-ended {
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.6s ease;
  position: relative;
}

.auction-ended::after {
  content: "AUCTION ENDED";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}

