/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.wcp-form{
  -webkit-transition: opacity .2s;
  transition: opacity .2s;
}
.wcp-form.is-loading{
  opacity: .7;
  pointer-events: none;
}
.wcp-form-inner{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.wcp-form-group{
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  margin-bottom: 15px;
}
.wcp-form-label{
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}
.wcp-form-group .wcp-form-control{
  min-width: 100%;
  line-height: 1;
  height: 40px;
  padding: 9px 8px;
  border: solid 1px #ddd;
  background: #fff;
}
.wcp-form-group.has-error .wcp-form-control{

}
.wcp-button-confirm{
  position: relative;
}
.wcp-form.is-loading .wcp-button-confirm span{
  opacity: 0;
}
.wcp-form.is-loading .wcp-button-confirm:after{
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  content: " ";
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  border: 1px solid #fff;
  border-radius: 50%;
  z-index: 16;
  border-top-color: transparent !important;
  -webkit-animation: wcp-load-spin 450ms infinite linear;
  animation: wcp-load-spin 450ms infinite linear;
}
.wcp-alert{
  padding: 5px 0;
  line-height: 1;
}
.has-error .wcp-alert{
  color: red;
}
.wcp-form-success-message{
  color: #73af55;
  line-height: 1;
  margin: 0 0 30px;
  padding: 8px 15px;
  background: #f8f8f8;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
}
.wcp-form-success-message > *{
  -webkit-flex-basis: 0;
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}
.wcp-form-success-message a{
  font-weight: bold;
  color: #73af55;
}
.wcp-form-success-message p{
  margin: 0;
}
.wcp-upload-status{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #eff6ff;
  color: #075985;
  font-weight: 700;
  line-height: 1.45;
}
.wcp-upload-status span{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid #93c5fd;
  border-top-color: #1683e8;
  border-radius: 999px;
  animation: wcp-load-spin 650ms infinite linear;
}
.wcp-success-popup{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, .52);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}
.wcp-success-popup.is-visible{
  opacity: 1;
  visibility: visible;
}
.wcp-success-popup__dialog{
  position: relative;
  width: min(420px, 100%);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .26);
  transform: translateY(12px) scale(.98);
  transition: transform .18s ease;
  outline: none;
}
.wcp-success-popup.is-visible .wcp-success-popup__dialog{
  transform: translateY(0) scale(1);
}
.wcp-success-popup__close{
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #eef6ff;
  color: #1683e8;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.wcp-success-popup__body{
  padding: 34px 30px 28px;
  text-align: center;
}
.wcp-success-popup__title{
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 24px;
  font-weight: 800;
}
.wcp-success-popup__message{
  color: #334155;
  line-height: 1.65;
}
.wcp-success-popup__message .wcp-form-success-message{
  justify-content: center;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #1683e8;
}
.wcp-success-popup__button{
  min-width: 120px;
  margin-top: 22px;
  border-radius: 999px;
  background: #1683e8;
  color: #fff;
}
.checkmark{
  width: 30px;
  height: 35px;
  margin-right: 10px;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 30px;
  -ms-flex: 0 0 30px;
  flex: 0 0 30px;
  max-width: 30px;
}
.checkmark-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
}
.checkmark-path.circle {
  -webkit-animation: wcp-dash 0.9s ease-in-out;
  animation: wcp-dash 0.9s ease-in-out;
}
.checkmark-path.line {
  stroke-dashoffset: 1000;
  -webkit-animation: wcp-dash 0.9s 0.35s ease-in-out forwards;
  animation: wcp-dash 0.9s 0.35s ease-in-out forwards;
}
.checkmark-path.check {
  stroke-dashoffset: -100;
  -webkit-animation: wcp-dash-check 0.9s 0.35s ease-in-out forwards;
  animation: wcp-dash-check 0.9s 0.35s ease-in-out forwards;
}
.wcp-account-detail-item{
  display: block;
}
.wcp-account-detail-item ul{
  width: 100%;
  display: table;
  padding: 0;
  margin: 0;
  list-style: none;
  display: table;
}
.wcp-account-detail-item li{
  display: table-cell;
  width: 35%;
  padding-bottom: 5px;
}
.wcp-account-detail-item li.wcp-account-bank{
  width: 45%;
}
.wcp-account-detail-item li.wcp-account-bank input{
  height: auto;
  margin: 0;
}
.wcp-account-detail-item li.wcp-account-number{
  width: 20%;
}
li.wcp-account-bank img{
  width: 40px;
  height: 40px;
  margin: 0 10px;
  display: inline-block !important;
  vertical-align: middle;
}

.wcp-our-bank-title{
  margin: 15px 0 10px;
}
.wcp-our-bank{
  padding: 0;
  margin: 0;
  list-style: none;
}
.wcp-our-bank-item{
  display: inline-block;
  margin-right: 5px;
}
.wcp-our-bank-item img{
  position: relative !important;
  right: 0 !important;
  left: 0 !important;
  float: none !important;
  margin: 0 !important;
  opacity: 1 !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  transform: translate(0,0);
  -webkit-transform: translate(0,0);
}

img.wcp-slip{
  margin: 0 !important;
}

.wcp-slip-preview{
  display: block;
  width: 100px;
  height: 120px;
  margin-top: 12px;
  border: 1px solid #d5dce8;
  border-radius: 10px;
  background: #f8fafc;
  object-fit: cover;
  cursor: zoom-in;
}

.wcp-slip-preview[hidden]{
  display: none;
}

.wcp-slip-lightbox{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(15, 23, 42, .78);
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, visibility .16s ease;
}

.wcp-slip-lightbox.is-visible{
  opacity: 1;
  visibility: visible;
}

.wcp-slip-lightbox__dialog{
  position: relative;
  display: grid;
  place-items: center;
  max-width: min(96vw, 1100px);
  max-height: 92vh;
  outline: none;
}

.wcp-slip-lightbox__close{
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .24);
  cursor: pointer;
}

.wcp-slip-lightbox__image{
  display: block;
  max-width: min(96vw, 1100px);
  max-height: 92vh;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .34);
}

body.woocommerce-account .wcp-payment-history-card {
  overflow: hidden;
  border: 1px solid #b8d7f5;
  border-radius: 10px;
  background: #fff;
}

body.woocommerce-account .wcp-payment-history-card .wcp-payment-history-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
}

body.woocommerce-account .wcp-payment-history-card .wcp-payment-history-table thead th {
  border: 0;
  background: #1683e8;
  color: #fff;
  font-weight: 700;
}

body.woocommerce-account .wcp-payment-history-card .wcp-payment-history-table tbody tr {
  background: #fff;
}

body.woocommerce-account .wcp-payment-history-card .wcp-payment-history-table tbody tr:nth-child(even) {
  background: #eaf6ff;
}

body.woocommerce-account .wcp-payment-history-card .wcp-payment-history-table tbody td {
  border-top: 1px solid #cfe4f8;
  background: transparent;
}

body.woocommerce-account .wcp-payment-history-card .wcp-payment-history-table tbody tr:first-child td {
  border-top: 0;
}

.wc-bacs-bank-details.bacs_details .bank_logo{
  list-style: none !important;
}
@keyframes wcp-load-spin {
  100% {
    transform: rotate(360deg);
  }
}
@-o-keyframes wcp-load-spin {
  100% {
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-ms-keyframes wcp-load-spin {
  100% {
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes wcp-load-spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes wcp-load-spin {
  100% {
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@media (min-width: 768px){

  .wcp-col-2{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@-webkit-keyframes wcp-dash {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes wcp-dash {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes wcp-dash-check {
  0% {
    stroke-dashoffset: -100;
  }
  100% {
    stroke-dashoffset: 900;
  }
}
@keyframes wcp-dash-check {
  0% {
    stroke-dashoffset: -100;
  }
  100% {
    stroke-dashoffset: 900;
  }
}

@media (min-width: 861px) {
  body.woocommerce-account dialog.nx-account-confirm-dialog[open],
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open {
    width: min(94vw, 980px) !important;
    max-height: min(90vh, 820px) !important;
  }

  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .nx-account-confirm-body,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .nx-account-confirm-body,
  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-form,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-form,
  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-form-inner,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-form-inner {
    width: 100% !important;
    max-width: none !important;
  }

  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-form-inner,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-form-inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px 28px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-form-group,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-form-group,
  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-col-2,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-col-2 {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    flex: none !important;
  }

  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-form-group:not(.wcp-col-2),
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-form-group:not(.wcp-col-2),
  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-form-summary,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-form-summary {
    grid-column: 1 / -1 !important;
  }

  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-form-control,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-form-control {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #111827 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  body.woocommerce-account dialog.nx-account-confirm-dialog[open] input[type="file"].wcp-form-control,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open input[type="file"].wcp-form-control {
    height: auto !important;
    min-height: 50px !important;
    padding: 10px 14px !important;
  }

  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-payment-summary,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-payment-summary {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: none !important;
    padding: 16px !important;
    border: 1px solid #dbe7f5 !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #fbfdff, #f4f9ff) !important;
  }

  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-payment-summary > div,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-payment-summary > div {
    min-width: 0 !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    background: #fff !important;
  }

  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-payment-summary strong,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-payment-summary strong {
    font-size: 24px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-form-input-radio,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-form-input-radio,
  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-account-detail-item,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-account-detail-item,
  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-account-detail-item ul,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-account-detail-item ul {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-account-detail-item li.wcp-account-bank,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-account-detail-item li.wcp-account-bank,
  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-account-bank,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-account-bank {
    display: grid !important;
    grid-template-columns: auto 52px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 86px !important;
    padding: 16px 18px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #fff, #f8fbff) !important;
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06) !important;
    overflow-wrap: anywhere !important;
  }

  body.woocommerce-account dialog.nx-account-confirm-dialog[open] li.wcp-account-bank img,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open li.wcp-account-bank img {
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 6px !important;
    border-radius: 999px !important;
    background: #fff !important;
    object-fit: contain !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .08) !important;
  }

  body.woocommerce-account dialog.nx-account-confirm-dialog[open] .wcp-form-actions,
  body.woocommerce-account dialog.nx-account-confirm-dialog.is-open .wcp-form-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    padding-top: 20px !important;
  }
}
