.auction-page .book-ticket-card {
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(1, 28, 56, 0.12);
}

.auction-hero {
  position: relative;
  background: linear-gradient(135deg, #001c38 0%, #014186 55%, #0a5cad 100%);
  color: #fff;
  padding: 2rem 1.75rem;
}

.auction-hero.has-image {
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.auction-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 28, 56, 0.92) 0%, rgba(1, 65, 134, 0.78) 100%);
}

.auction-hero-inner {
  position: relative;
  z-index: 1;
}

.auction-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.75rem;
}

.auction-hero-badge.is-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25);
}

.auction-hero-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.auction-hero-subtitle {
  opacity: 0.88;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.auction-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
}

.auction-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.95;
}

.auction-intro {
  padding: 1.5rem 1.75rem 0.5rem;
  color: #474747;
  font-size: 0.95rem;
  line-height: 1.65;
}

.auction-intro p:last-child {
  margin-bottom: 0;
}

.auction-lots-section {
  padding: 0.75rem 1.25rem 1.5rem;
}

.auction-lots-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #001c38;
  margin-bottom: 0.85rem;
}

.auction-lot-card {
  background: #fff;
  border: 1px solid rgba(1, 65, 134, 0.12);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: box-shadow 0.2s ease;
}

.auction-lot-card:hover {
  box-shadow: 0 6px 18px rgba(1, 65, 134, 0.12);
}

.auction-lot-card.is-sold {
  opacity: 0.82;
}

.auction-lot-media {
  position: relative;
  flex: 0 0 108px;
  width: 108px;
  max-width: 108px;
  background: #f4f7fb;
  overflow: hidden;
}

.auction-lot-media img {
  width: 100%;
  height: 100%;
  min-height: 108px;
  max-height: 130px;
  object-fit: cover;
}

.auction-lot-media a {
  display: block;
  height: 100%;
}

.auction-lot-status {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}

.auction-lot-status.live {
  background: #dcfce7;
  color: #166534;
}

.auction-lot-status.sold {
  background: #fee2e2;
  color: #991b1b;
}

.auction-lot-body {
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.auction-lot-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #001c38;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.auction-lot-description {
  font-size: 0.78rem;
  color: #5c6670;
  line-height: 1.45;
  margin-bottom: 0.5rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.auction-lot-description p:last-child {
  margin-bottom: 0;
}

.auction-lot-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(1, 65, 134, 0.08);
  margin-top: auto;
}

.auction-lot-bid-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin-bottom: 0.05rem;
}

.auction-lot-bid-amount {
  font-size: 1rem;
  font-weight: 700;
  color: #014186;
  line-height: 1.1;
}

.auction-lot-ends {
  font-size: 0.68rem;
  color: #6b7280;
  margin-top: 0.15rem;
}

.auction-lot-card .btn-bid-now {
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  min-width: auto;
}

.auction-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #f8fafc;
  border: 1px dashed rgba(1, 65, 134, 0.2);
  border-radius: 12px;
}

.auction-empty h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #001c38;
  margin-bottom: 0.5rem;
}

.auction-empty p {
  color: #6b7280;
  margin-bottom: 0;
  font-size: 0.9rem;
}

#bidModal .modal-content {
  background-color: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 28, 56, 0.2);
}

#bidModal .modal-header {
  border-bottom: 1px solid rgba(1, 65, 134, 0.1);
  padding: 1.25rem 1.5rem;
}

#bidModal .modal-title {
  font-weight: 600;
  color: #001c38;
}

#bidModal .modal-body {
  padding: 1.5rem;
}

#bidModal .btn-primary {
  background-color: #014186;
  border-color: #014186;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
}

#bidModal .form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

#bidModal #current_bid {
  background-color: #f8fafc;
  color: #014186;
  font-weight: 600;
  border-color: #e2e8f0;
}

#bidModal .auction-field-errors {
  min-height: 0;
}

#bidModal .auction-field-errors--checkbox {
  margin-top: 0.35rem;
  padding-left: 1.5rem;
}

#bidModal .parsley-errors-list {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
}

#bidModal .parsley-errors-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  font-weight: 500;
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
}

#bidModal .parsley-errors-list li::before {
  content: "\f06a";
  font-family: FontAwesome;
  font-weight: normal;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #dc2626;
}

#bidModal input.parsley-error,
#bidModal select.parsley-error {
  border-color: #f87171;
  background-color: #fffbfb;
}

#bidModal input.parsley-error:focus,
#bidModal select.parsley-error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.15);
}

#bidModal input.parsley-success,
#bidModal select.parsley-success {
  border-color: #86efac;
}

.auction-checkout-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0 0 1rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.auction-checkout-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.auction-checkout-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auction-checkout-eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #64748b;
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.auction-checkout-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #001c38;
  margin: 0 0 0.2rem;
  line-height: 1.35;
}

.auction-checkout-meta,
.auction-checkout-lot {
  font-size: 0.84rem;
  color: #475569;
  margin: 0;
  line-height: 1.45;
}

.auction-checkout-lot {
  margin-top: 0.15rem;
  font-weight: 500;
  color: #334155;
}

.auction-checkout-page .book-cart-card {
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
}

.auction-checkout-page .checkout-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #001c38;
  margin: 0 0 1rem;
}

@media (max-width: 767.98px) {
  .auction-hero {
    padding: 1.5rem 1.25rem;
  }

  .auction-intro,
  .auction-lots-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .auction-lot-media {
    flex: 0 0 96px;
    width: 96px;
    max-width: 96px;
  }

  .auction-lot-media img {
    min-height: 96px;
    max-height: 110px;
  }

  .auction-lot-footer {
    flex-wrap: wrap;
  }

  .auction-lot-card .btn-bid-now {
    width: 100%;
    margin-top: 0.25rem;
  }
}
