/* ===============================
   HEADER MIS RECIBOS
   =============================== */

.sa-receipts-header {
  width: 100%;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
  margin-bottom: 40px;
}

.sa-receipts-header__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
}

.sa-receipts-header__subtitle {
  margin-top: 10px;
  font-size: 15px;
  color: #6b7280;
}

/* ===============================
   MIS RECIBOS
   =============================== */

.sa-receipts {
  display: grid;
  gap: 24px;
  width: 100%;
}

/* Card recibo */
.sa-receipt-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
   width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.sa-receipt-card__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}


/* Tipo */
.sa-receipt-card__type {
  align-self: center;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px !important;
  border-radius: 999px;

}

/* CUOTA */
.sa-receipt-card--cuota .sa-receipt-card__type {
  background: #e6f6ec;
  color: #0f7a3a;
}

/* ACTIVIDAD */
.sa-receipt-card--actividad .sa-receipt-card__type {
  background: #e8f0fe;
  color: #1a56db;
}

/* RENOVACIÓN */
.sa-receipt-card--renovacion .sa-receipt-card__type {
  background: #fff4e5;
  color: #b45309;
}

/* Título */
.sa-receipt-card__title {
  font-weight: 600;
  color: #111827;
  margin-top: 12px !important;
}

/* Meta */
.sa-receipt-card__meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: #374151;

}

.sa-receipt-card__number {
  font-weight: 600;
}

.sa-receipt-card__amount {
  font-size: 18px;
  font-weight: 700;
  color: #059669;
}


/* ===============================
   BOTONES RECIBOS
   =============================== */

.sa-receipt-card__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.sa-receipt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 5px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 120px;
}

/* Botón VER */
.sa-receipt-btn--view {
  background: transparent;
  color: #374151 !important;
  border: 2px solid #e5e7eb !important;
}

.sa-receipt-btn--view:hover {
  background: #f3f4f6;
  color: #374151 !important;
}

/* Botón DESCARGAR */
.sa-receipt-btn--download {
  background: #c8102e;
  color: #ffffff !important;
  border: none;
}

.sa-receipt-btn--download:hover {
  background: #a50d25;
}


/* ===============================
   RESPONSIVE
   =============================== */
/* Pantallas grandes */
@media (min-width: 1800px) {
  .sa-receipts {
    grid-template-columns: repeat(6, minmax(260px, 1fr));
  }
}

@media (max-width: 1799px) and (min-width: 1600px) {
  .sa-receipts {
    grid-template-columns: repeat(5, minmax(260px, 1fr));
  }
}

/* Portátil */
@media (max-width: 1599px) and (min-width: 1280px) {
  .sa-receipts {
    grid-template-columns: repeat(4, minmax(260px, 1fr));
  }
}

/* Escritorio pequeño */
@media (max-width: 1279px) and (min-width: 992px) {
  .sa-receipts {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 640px) {
  .sa-receipts {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

/* Móvil */
@media (max-width: 639px) {
  .sa-receipts {
    grid-template-columns: 1fr;
  }
}

.sa-load-more-wrap {
  text-align: center;
  margin: 40px 0;
}

.sa-load-more-btn {
  background: #c8102e;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.sa-load-more-btn:hover {
  background: #a50d25;
}