/* =========================================================
   MoveDone Update 077
   Tender capacity / customer-choice UI
   ========================================================= */

.tender-slot-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 8px;
  padding: 3px 9px;
  border: 1px solid #dbe8e1;
  border-radius: 999px;
  background: #f4fbf7;
  color: #21764f;
  font-size: .67rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
}

.tender-slot-pill.last {
  border-color: #f4d2a0;
  background: #fff8eb;
  color: #94611e;
}

.tender-slot-pill.full,
.tender-slot-pill.closed {
  border-color: #eaded9;
  background: #f7f3f1;
  color: #776964;
}

.tender-card-rule,
.tender-modal-status {
  display: grid;
  gap: 4px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #dceae2;
  border-radius: 13px;
  background: #f6fbf8;
}

.tender-card-rule strong,
.tender-modal-status strong {
  color: #21764f;
  font-size: .76rem;
  font-weight: 950;
}

.tender-card-rule span,
.tender-modal-status span {
  color: #6d756f;
  font-size: .68rem;
  line-height: 1.35;
}

.tender-card-rule.last,
.tender-modal-status.last {
  border-color: #f1d4aa;
  background: #fff9ef;
}

.tender-card-rule.last strong,
.tender-modal-status.last strong {
  color: #98631d;
}

.tender-card-rule.full,
.tender-modal-status.full,
.tender-card-rule.closed,
.tender-modal-status.closed {
  border-color: #e9dfda;
  background: #f8f5f3;
}

.tender-card-rule.full strong,
.tender-modal-status.full strong,
.tender-card-rule.closed strong,
.tender-modal-status.closed strong {
  color: #786b65;
}

.tender-commercial-disclosure {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,.08);
  color: #6c6f6d;
  font-size: .67rem;
  line-height: 1.45;
}

.deposit-action-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.tender-release-button {
  border: 1px solid #ebc9c4 !important;
  background: #fff8f7 !important;
  color: #a8443a !important;
}

.customer-tender-choice {
  display: grid;
  gap: 4px;
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid #d7eadf;
  border-radius: 14px;
  background: #f4fbf7;
}

.customer-tender-choice strong {
  color: #21764f;
  font-size: .82rem;
  font-weight: 950;
}

.customer-tender-choice span {
  color: #68716b;
  font-size: .73rem;
  line-height: 1.45;
}

.customer-tender-choice.expired {
  border-color: #efd6d2;
  background: #fff8f7;
}

.customer-tender-choice.expired strong {
  color: #a8443a;
}

.customer-booking-awaiting {
  margin: 10px 0 0;
  padding: 9px 10px;
  border-radius: 10px;
  background: #fff7e8;
  color: #8b5d1f;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .tender-slot-pill {
    margin-left: 0;
    margin-top: 5px;
  }

  .deposit-action-stack {
    width: 100%;
    justify-content: stretch;
  }

  .deposit-action-stack .button {
    flex: 1 1 100%;
  }
}
