.upsell-card-wrapper {
  margin-top: 20px;
  margin-left: 63px;
  width: 337px;
}

.upsell-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1.5px solid rgba(174, 181, 189, 0.7);
  box-shadow: 0px 2px 2px rgb(0 0 0 / 16%);
  padding: 20px;
  width: 337px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
  margin: 0 auto;
}

.upsell-card__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upsell-card__question {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin: 0;
  margin-bottom: 0 !important;
  font-family: "Inter", sans-serif;
}

.upsell-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.upsell-card__image {
  border-radius: 12px !important;
  object-fit: cover;
  width: 60px;
  height: 60px !important;
  flex-shrink: 0;
}

.upsell-card__subtitle {
  color: #444;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
  font-family: "Inter", sans-serif;
  margin-bottom: 0 !important;
}

.upsell-card__dates {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.upsell-card__date {
  background: #ffffff;
  border-radius: 8px;
  text-align: center;
  color: #222;
  font-weight: 500;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  min-width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 60px;
  padding: 0;
  transition: border-color 0.2s;
}

.upsell-card__date:hover {
  border-color: #800000 !important;
  background-color: white;
  color: #800000;
}

.upsell-card__date:focus {
  border-color: #800000 !important;
  background-color: white;
  color: #800000;
}

.upsell-card__date--more {
  background: #ffffff;
  font-family: "Inter", sans-serif;
  color: #222;
}

.upsell-card__date-short-name {
  font-weight: 400;
  font-size: 13px;
  font-family: "Inter", sans-serif;
  text-transform: capitalize;
}

.upsell-card__date-day {
  font-weight: 700;
  font-size: 15px;
  font-family: "Inter", sans-serif;
}

.upsell-card__date.upsell-card__date--more {
  font-size: 13px;
  gap: 4px;
}

.upsell-card__date-text {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.upsell-card__date-icon {
  display: flex;
}

.upsell-card__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.upsell-card__loading svg {
  width: 24px;
  height: 24px;
  animation: upsell-spin 1s linear infinite;
  color: #cf3a37;
}

@keyframes upsell-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 767px) {
  .upsell-card-wrapper {
    margin: 20px auto;
  }
  .upsell-card {
    width: 100%;
  }
}
