/* Desktop: grid */
.cvr_dashboard__active_offers__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 2fr 2fr 1fr 1fr auto;
  width: 100%;
}

.cvr_dashboard__active_offers__row {
  display: contents;
}

/* Cells */
.cvr_dashboard__active_offers__cell {
  padding: 1.25rem 0.65em;
  border-bottom: 1px solid #eee;
}

/* Header */
.cvr_dashboard__active_offers__header .cvr_dashboard__active_offers__cell {
  font-weight: bold;
  background-color: #000;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1rem;
}

/* Mobile: stack */
@media (max-width: 767px) {
  .cvr_dashboard__active_offers__list {
    display: block; /* disabling the grid on mobile */
  }

  .cvr_dashboard__active_offers__row {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
  }

  .cvr_dashboard__active_offers__cell {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: none; /* row handles the border now */
  }

  .cvr_dashboard__active_offers__cell::before {
    content: attr(data-label) ": ";
    font-weight: bold;
    margin-right: 0.5rem;
  }

  .cvr_dashboard__active_offers__header {
    display: none;
  }
}

.cvr_dashboard__active_offers__status {
  color: #fff;
  font-size: 1.35em;
  font-weight: 600;
  text-align: center;
}

/* Status Colors */
.cvr_dashboard__active_offers__status--Reviewing {
  background-color: #FFC107;
}

.cvr_dashboard__active_offers__status--Accepted {
  background-color: #03B72C;
}