.cheque-container {
  background-color: white;
}

.container.height {
  margin-top: 10px;
}

.cheque-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 35px;
}

.bank-details {
  text-align: center;
  margin-bottom: 40px;
}

.cheque-body {
  margin-top: 20px;
}

.cheque-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cheque-row label {
  flex: 0 0 150px;
}

.cheque-row label.extend {
  flex: 0 0 215px;
}

.cheque-row .dotted-line {
  flex-grow: 1;
  border-bottom: 1px dotted #333;
}

.cheque-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
}

.signature-line {
  border-top: 1px solid #333;
  text-align: center;
  padding-top: 5px;
  font-size: 14px;
}

.amount-in-words {
  font-style: italic;
}

.amount-numbers {
  font-size: 18px;
  font-weight: bold;
}

.dotted-line {
  position: relative;
}

.dotted-line::after {
  content: "";
  position: absolute;
  border-bottom: 1px dotted;
  width: 100%;
  bottom: -1px;
  left: 0;
}

.invoice_line {
  border: 1px solid black;
  width: 85%;
  margin: 10px auto;
  opacity: 1;
}

.receipt-content .rental.invoice-wrapper {
  padding: 30px 30px 40px;
}

.receipt_tag {
  background-color: #dee2e6;
  padding: 15px;
  border-radius: 10px;
}

@media print {
  .receipt-content.invoice .container {
    width: unset;
  }

  .receipt-content.invoice .invoice-wrapper {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: unset !important;
    margin-top: unset !important;
    border-radius: unset !important;
    margin-bottom: 35px !important;
  }

  .receipt-content.invoice .rental.invoice-wrapper {
    padding: unset;
  }
}

@media screen and (max-width: 767px) {
  .cheque-row {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 500px) {
  .cheque-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}
