/* Deposit / prepayment step when booking online (js/booky-elavon-booking-deposit.js), from booky-wellness */

.deposit-modal-service-name {
  color: #555;
  margin-bottom: 16px;
}

.deposit-modal-invoice {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.deposit-modal-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid #f0f0f0;
}

.deposit-optional-title {
  font-size: 0.9rem;
  color: #777;
  margin-top: 10px;
  margin-bottom: 4px;
}

.deposit-optional-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 0.95rem;
  cursor: pointer;
}

.deposit-optional-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.deposit-optional-price {
  display: none;
}

.deposit-optional-check {
  top: 0;
}

.deposit-optional-row:has(.deposit-optional-check:checked) .deposit-optional-price {
  display: inline;
}

.deposit-modal-row:last-child {
  border-bottom: none;
}

.deposit-modal-total {
  margin-top: 4px;
  font-size: 1rem;
}

.deposit-modal-billing {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
}

.deposit-modal-billing label {
  font-size: 0.9rem;
  color: #555;
}

.deposit-modal-postal-input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  width: 100%;
}

.deposit-modal-btn {
  padding: 2px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase;
  height: 50px;
}

.deposit-modal-cancel {
  background-color: white;
  color: black;
  border: 2px solid black;
  width: 100%;
}

.deposit-modal-confirm {
  background-color: var(--portal-primary);
  color: white;
  width: 100%;
}

.deposit-modal-confirm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.deposit-buttons {
  gap: 10px;
  flex-wrap: unset;
}

#deposit-billing-postal-required {
  color: red;
  font-weight: bold;
}

/* Time left on the hold once the customer proceeds to payment */
.deposit-modal-hold-timer {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: #555;
}

.deposit-modal-hold-timer-expired {
  color: #b00020;
  font-weight: bold;
}
