.merchant-terminal-wrap {
  margin: 0;
  padding: 0;
}

/* Login block */
.mt-login {
  position: relative;
}

.mt-login img {
  max-width: 100%;
  vertical-align: middle;
}

.mt-login-header {
  position: relative;
  overflow: hidden;
  height: 130px;
  text-align: center;
}

.mt-login-header img {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  min-width: 375px;
  transform: translateX(-50%);
}

.mt-login-header:before {
  left: 0;
  background: rgb(108, 186, 181);
  background: linear-gradient(
  180deg,
  rgb(95 189 182) 0%,
  rgba(99, 183, 177, 1) 49%,
  rgba(95, 177, 171, 1) 100%
  );
}

.mt-login-header:after {
  right: 0;
  background: rgb(85, 154, 149);
  background: linear-gradient(
  180deg,
  rgb(73 152 147) 0%,
  rgba(72, 147, 141, 1) 49%,
  rgba(68, 139, 135, 1) 100%
  );
}

.mt-login-header:before,
.mt-login-header:after {
  position: absolute;
  z-index: 1;
  top: 0;
  width: 50%;
  height: 100%;
  content: '';
}

.mt-login-content-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 130px);
}

.mt-login-content {
  max-width: 380px;
  padding: 85px 50px 100px;
}

.mt-login-content-image {
  margin-bottom: 48px;
}

.mt-login-content-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 40px;
  text-align: center;
  color: #575962;
}

.mt-login-form-wrap {
  margin-bottom: 0;
}

.mt-login-form-row {
  margin-bottom: 24px;
}

.mt-login-form-row:last-child {
  margin-bottom: 0;
}

.mt-login-form-wrap label {
  font-size: 13px !important;
  font-weight: bold;
  line-height: 16px;
  display: block;
  margin-bottom: 10px;
  color: #575962 !important;
}

.mt-login-form-wrap input {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  line-height: 40px;
  width: 100%;
  height: 40px;
  padding: 0 18px;
  color: #575962;
  border: 1px solid #ebedf2;
  border-radius: 3px;
  background-color: #fff;
}

.mt-login-form-wrap input::placeholder {
  opacity: 0.3;
}

.mt-login-form-wrap button {
  font-size: 13px;
  font-weight: bold;
  line-height: 16px;
  display: block;
  width: 100%;
  padding: 14px;
  cursor: pointer;
  color: #fff;
  border: none;
  border-radius: 25px;
  outline: none;
  background-color: #4cb5ae;
}

/* Login block */

/* Inner code block */
.mt-code {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.mt-code-top {
  text-align: center;
}

.mt-code-top-logo img {
  max-width: 100%;
  /* width: 10vw; */
  height: 9vh;
}

.mt-code-top-logo {
  max-width: 400px;
  margin: 0 auto;
  padding: 24px;
}

.mt-code-top-content span {
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 20px;
  color: #575962;
}

.details {
  font-size: 16px;
}

.mt-code-content-wrap {
  display: flex;
  align-items: flex-start;
  flex: 1 0 auto;
  justify-content: center;
  padding: 10px;
}

.mt-select-method {
  margin-top: 10px;
  margin-bottom: 30px;
}

.mt-select-method p {
  font-size: 17px;
  line-height: 21px;
  margin-bottom: 24px;
  text-align: center;
  color: #575962;
}

.mt-select-method-radio-btn {
  margin-bottom: 16px;
}

.mt-select-method-radio-btn.disabled-radio-btn {
  pointer-events: none;
  opacity: 0.35;
}

.mt-select-method-radio-btn:last-child {
  margin-bottom: 0;
}

.mt-select-method-radio-btn a,
.mt-select-method-radio-btn button {
  font-size: 17px;
  font-weight: bold;
  display: block;
  width: 100%;
  padding: 18px 20px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  color: #575962;
  border: 2px solid #4cb5ae;
  border-radius: 25px;
  background: none;
}

.mt-select-method-radio-btn a i,
.mt-select-method-radio-btn button i {
  color: #4cb5ae;
}

.mt-select-method-radio-btn a:hover,
.mt-select-method-radio-btn button:hover {
  background: #eee;
}

.mt-select-method-radio-btn img {
  max-width: 140px;
  max-height: 35px;
}

.mt-text-area-width {
  width: 100%;
  resize: none;
}

.mt-confirm-form {
  width: 280px;
  margin-top: 50px;
  margin-bottom: 30px;
}

.mt-confirm-form-row {
  margin-bottom: 24px;
}

.mt-confirm-form-row:last-child {
  margin-bottom: 0;
}

.mt-confirm-form-row label {
  font-size: 17px !important;
  font-weight: bold;
  line-height: 21px;
  display: block;
  margin-bottom: 24px;
  text-align: center;
  color: #575962 !important;
}

.mt-confirm-form-row input {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  line-height: 40px;
  width: 100%;
  height: 40px;
  padding: 0 18px;
  color: #575962;
  border: 1px solid #ebedf2;
  border-radius: 3px;
  background-color: #fff;
}

.mt-confirm-form-row textarea {
  font-size: 15px;
  font-weight: 400;
  line-height: 16px;
  width: 100%;
  padding: 0 13px;
  color: #575962;
  border: 1px solid #ebedf2;
  border-radius: 3px;
  background-color: #fff;
}

.mt-confirm-form-row button[type='submit'] {
  font-size: 13px;
  font-weight: bold;
  line-height: 16px;
  display: block;
  width: 100%;
  padding: 14px;
  cursor: pointer;
  color: #fff;
  border: none;
  border-radius: 25px;
  outline: none;
  background-color: #4cb5ae;
}

.mt-confirm-form-row button[type='submit']:disabled {
  cursor: default;
  opacity: 0.5;
}

.mt-back-button {
  font-size: 13px;
  line-height: 16px;
  width: 100%;
  cursor: pointer;
  text-align: center;
  color: #4cb5ae;
  border: none;
  outline: none;
  background: none;
}

.mt-qr-code {
  margin-top: 10px;
  margin-bottom: 30px;
}

.mt-qr-code-title {
  font-size: 16px;
  line-height: 19px;
  margin-bottom: 16px;
  text-align: center;
  color: #575962;
}

.mt-qr-code-price {
  font-size: 24px;
  font-weight: bold;
  line-height: 29px;
  margin-bottom: 24px;
  text-align: center;
  color: #575962;
}

.mt-qr-code-data {
  width: 210px;
  height: 210px;
  margin: 0 auto;
  background-image: linear-gradient(
  0deg,
  rgb(0 0 0 / 0.07) 25%,
  #fff 25%,
  #fff 50%,
  rgb(0 0 0 / 0.07) 50%,
  rgb(0 0 0 / 0.07) 75%,
  #fff 75%,
  #fff 100%
  );
  background-size: 20px 20px;
}

.mt-code-bottom {
  padding: 24px;
  text-align: center;
}

.mt-code-bottom-title {
  font-size: 10px;
  line-height: 12px;
  color: #575962;
}

.mt-code-bottom-title span {
  margin-right: 10px;
}

.mt-code-bottom-title img {
  max-width: 80px;
}

.mt-cash-in-out-label {
  font-size: 16px !important;
}

.swal2-popup.cash-in-out-details-template p {
  font-weight: bold;
}

.swal2-popup.cash-in-out-details-template h3 {
  font-size: 30px;
  font-weight: bold;
}

.swal2-popup.cash-in-out-details-template input {
  font-size: 14px;
  width: 220px;
}

.swal2-popup.cash-in-out-details-template .swal2-buttonswrapper {
  flex-direction: column;
}

.swal2-popup.cash-in-out-details-template .swal2-buttonswrapper button {
  width: 220px;
}

.icon-stack {
  position: relative;
}

.icon-stack i:last-child {
  font-size: 10px;
  position: absolute;
  right: 5px;
  bottom: 0;
  color: #000;
}

@media (max-width: 768px) and (orientation: landscape) {
  .mt-code-top {
    margin-bottom: 10px;
  }

  .mt-select-method,
  .mt-qr-code,
  .mt-confirm-form {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

/* Inner code block */

/* BAF policy*/
div#qrcodeWrapper {
  text-align: center;
}

.mt-pi {
  width: 290px;
  margin: 0 auto;
  text-align: center;
}

.mt-pi-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.mt-pi-subtitle {
  font-size: 13px;
  line-height: 13px;
  margin-bottom: 12px;
}

.mt-pi-subtitle span {
  font-size: 17px;
  font-weight: bold;
  line-height: 13px;
}

.mt-pi-info, .mt-pi-warning {
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 5px;
  background: #eee;
}

.mt-pi-warning {
  background: #F3652233;
}

.mt-pi-info-line, .mt-pi-warning-line {
  margin-bottom: 14px;
}

.mt-pi-info-line:last-child, .mt-pi-warning-line:last-child {
  margin-bottom: 0;
}

.mt-pi-info-line > div:last-child, .mt-pi-warning-line > div:last-child {
  font-size: 17px;
  font-weight: 700;
}

input#amount {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  line-height: 40px;
  width: 100%;
  height: 40px;
  padding: 0 18px;
  color: #575962;
  border: 1px solid #ebedf2;
  border-radius: 3px;
  background-color: #fff;
}

.mt-pi-pay-title,
.mt-pi-pay-duedate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 20px;
}

.mt-pi-pay-title > div:first-child,
.mt-pi-pay-duedate > div:first-child {
  font-size: 13px;
}

.mt-pi-pay-title > div:last-child {
  font-size: 22px;
  font-weight: 700;
  color: #516f14;
}

.mt-pp-pay-submit button[type='submit'],
.mt-pi-pay-submit button[type='submit'] {
  font-size: 13px;
  font-weight: bold;
  line-height: 16px;
  display: block;
  width: 100%;
  margin: 20px 0;
  padding: 14px;
  cursor: pointer;
  color: #fff;
  border: none;
  border-radius: 25px;
  outline: none;
  background-color: #4cb5ae;
}

.mt-pi-pay-box-amount {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mt-pi-pay-box-amount > input {
  font-size: 17px;
  font-weight: 700;
  line-height: 20px;
  width: 40px;
  text-align: center;
  color: #060043;
  border: none;
  outline: none;
  background: none;
}

.mt-pi-pay-box-amount .amount-minus {
  font-size: 24px;
  line-height: 24px;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 5px;
  cursor: pointer;
  color: #f36522;
}

.mt-pi-pay-box-amount .amount-plus {
  font-size: 24px;
  line-height: 24px;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  cursor: pointer;
  color: #f36522;
}

.mt-pi-pay-box-amount .amount-minus.disabled,
.mt-pi-pay-box-amount .amount-plus.disabled {
  cursor: default;
  color: #c4c4c4;
}

.mt-pi-pay-box {
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 5px;
  background: #eee;
}

.mt-pi-pay-box-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mt-pi-pay-box-row:last-child {
  margin-bottom: 0;
}

.mt-pi-pay-box-remove {
  cursor: pointer;
  color: #df2127;
}

/*CART */
.mt-pp-list-item {
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 5px;
  background: #eee;
}

.mt-pp-list-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.mt-pp-list-item-name {
  font-family: 'Lato';
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  line-height: 17px;
  text-align: center;
  color: #575962;
}

.mt-pp-list-item-price {
  font-family: 'Lato';
  font-size: 17px;
  font-weight: 700;
  font-style: normal;
  line-height: 20px;
  color: #516f14;
}

.mt-pp-list-item-line {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  margin-bottom: 5px;
}

.mt-pp-list-item-title {
  font-family: 'Lato';
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  line-height: 14px;
  margin-right: 15px;
  color: #575962;
}

.mt-pp-list-item-data {
  font-family: 'Lato';
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  line-height: 17px;
  color: #575962;
}

.mt-pp-list-item-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.mt-pp-list-item-remove {
  font-family: 'Lato';
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  line-height: 17px;
  margin-top: -40px;
  margin-right: -10px;
  padding: 10px 10px 0;
  cursor: pointer;
  color: #df2127;
  background: #eee;
}

.mt-pp-list-item-add {
  font-family: 'Lato';
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  line-height: 18px;
  cursor: pointer;
  color: #575962;
  border: 1px solid #4cb5ae;
  border-radius: 30px;
  background: #fff;
}

.mt-pp-list-item-add a {
  font-family: 'Lato';
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  line-height: 18px;
  display: block;
  padding: 8px;
  text-decoration: none;
  color: #575962;
}

.mt-pp-pay {
  margin-top: 30px;
}

.mt-pp-pay-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-top: 4px;
  border-top: 1px solid #888;
}

.mt-pp-pay-total-text {
  font-family: 'Lato';
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  line-height: 16px;
  color: #575962;
}

.mt-pp-pay-total-price {
  font-family: 'Lato';
  font-size: 22px;
  font-weight: 700;
  font-style: normal;
  line-height: 26px;
  text-align: right;
  color: #516f14;
}
