/* ========================================================================
   Account – Returns (Zwroty) page styles
   ======================================================================== */

/* --- Stats bar ---------------------------------------------------------- */
.returns-stats {
  display: flex;
  gap: 40px;
  background: #F2F5F2;
  border-radius: 16px;
  padding: 20px 28px;
  margin-bottom: 24px;
}
.returns-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}
.returns-stat__number {
  font-size: 34px;
  font-weight: 700;
  color: #111;
  line-height: 1;
  text-align: center;
}
.returns-stat__underline {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  margin-top: 4px;
}
.returns-stat__underline--black {
  background: #111;
}
.returns-stat__underline--blue {
  background: #45A0C9;
}
.returns-stat__label {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
}
/* Stack number + underline vertically */
.returns-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.returns-stat__number-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Title -------------------------------------------------------------- */
.returns-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}
.returns-title__count {
  color: #45C951;
  font-weight: 600;
}

/* --- Loading / empty / error -------------------------------------------- */
.returns-loading,
.returns-empty {
  text-align: center;
  padding: 48px 20px;
  font-size: 15px;
  color: #999;
}
.returns-error {
  text-align: center;
  padding: 48px 20px;
  font-size: 15px;
  color: #d32f2f;
}

/* --- Return card list --------------------------------------------------- */
.returns-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- Single return card ------------------------------------------------- */
.return-card {
  border: 2px solid var(--color-gray-150, #E5E5E5);
  border-radius: 18px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.return-card__date {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark, #1C2D1C);
}
.return-card__id {
  font-size: 14px;
  color: #555;
}
.return-card__id-value {
  text-decoration: underline;
}
.return-card__jars {
  font-size: 14px;
  color: #555;
}
.return-card__jars-count {
  font-weight: 600;
  color: #45A0C9;
}

/* --- Status pill -------------------------------------------------------- */
.return-card__status {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 4px;
  width: fit-content;
}

/* Colour variants applied via inline or JS */
.return-card__status--yellow {
  background: rgba(196, 174, 36, 0.1);
  color: rgb(196, 174, 36);
}
.return-card__status--green {
  background: rgba(69, 201, 81, 0.1);
  color: rgb(69, 201, 81);
}
.return-card__status--red {
  background: rgba(255, 0, 0, 0.1);
  color: rgb(255, 0, 0);
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 992px) {
  .returns-stats {
    gap: 24px;
    padding: 16px 20px;
  }
  .returns-stat__number {
    font-size: 28px;
  }
  .returns-stat__label {
    font-size: 14px;
  }
}
