/* Simple Home - Mobile-First Auction List Styles */

.section--simple-home {
  padding: 20px;
  padding-left: 80px; /* Extra left padding to avoid lateral menu overlap on mobile */
  max-width: 1200px;
  margin: 0 auto;
}

.section--simple-home .section__wrap {
  background: transparent;
}

.section--simple-home .section__header {
  margin-bottom: 20px;
  text-align: center;
}

.section--simple-home .section__title {
  color: #021344;
  font-size: 28px;
  margin-bottom: 10px;
}

/* Auction List Container */
.auctions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Auction Card - Mobile First */
.auction-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(2, 19, 68, 0.08);
  text-decoration: none;
  color: #021344;
  transition: all 0.3s ease;
  border: 1px solid rgba(31, 80, 255, 0.1);
}

.auction-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(31, 80, 255, 0.15);
  border-color: rgba(31, 80, 255, 0.3);
}

.auction-card__content {
  flex: 1;
  min-width: 0;
}

.auction-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #021344;
  margin-bottom: 12px;
  line-height: 1.3;
}

.auction-card__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.auction-card__date,
.auction-card__time,
.auction-card__location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #5a6c8f;
}

.auction-card__date .material-symbols-rounded,
.auction-card__time .material-symbols-rounded,
.auction-card__location .material-symbols-rounded {
  font-size: 18px;
  color: #1f50ff;
}

/* Badge Styles */
.auction-card__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auction-card__badge--open {
  background: #e8f5e9;
  color: #2e7d32;
}

.auction-card__badge--live {
  background: #ffebee;
  color: #c62828;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Arrow Icon */
.auction-card__arrow {
  flex-shrink: 0;
  margin-left: 16px;
}

.auction-card__arrow .material-symbols-rounded {
  font-size: 24px;
  color: #1f50ff;
  transition: transform 0.3s ease;
}

.auction-card:hover .auction-card__arrow .material-symbols-rounded {
  transform: translateX(4px);
}

/* Tablet and Desktop Styles */
@media (min-width: 720px) {
  .section--simple-home {
    padding: 40px 20px;
  }

  .section--simple-home .section__title {
    font-size: 36px;
  }

  .auctions-list {
    gap: 20px;
  }

  .auction-card {
    padding: 24px;
  }

  .auction-card__title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .auction-card__details {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .auction-card__date,
  .auction-card__time,
  .auction-card__location {
    font-size: 15px;
  }

  .auction-card__badge {
    font-size: 13px;
    padding: 6px 16px;
  }
}

/* Large Desktop */
@media (min-width: 960px) {
  .section--simple-home .section__title {
    font-size: 42px;
  }

  .auction-card__title {
    font-size: 24px;
  }
}

/* Empty State */
.alert-info {
  background: #e3f2fd;
  color: #1565c0;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #90caf9;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .auction-card,
  .auction-card__arrow .material-symbols-rounded,
  .auction-card__badge--live {
    animation: none;
    transition: none;
  }
}
