.trade-credit-form {
    position: fixed;
    opacity: 0;
    background: #FFF;
    box-shadow: 0 0 6px 1px rgba(0, 0, 0, 0.14);
    padding: 15px 50px 22px 50px;
    visibility: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50% );
    z-index: 9999;
}

.trade-credit-form form {
    width: 300px;
}

.trade-credit-form .wpcf7-spinner {
    margin: 15px auto 0 auto;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3E464A;
}

.wpcf7-form label {
    font-size: 12px;
    margin-bottom: 2px;
}

.wpcf7-form input {
    margin-bottom: 15px !important;
}

.wpcf7-form input:focus {
    outline: none;
}

.trade-credit-form__open {
    opacity: 1;
    width: 400px;
    visibility: visible;
}


.trade-credit-form__open h3 {
    position: relative;
    top: 50%;
    transform: translateY(-100%);
    height: fit-content;
}


.wpcf7-submit {
    cursor: pointer;
    display: block;
    margin-top: 30px;
    padding: 13px 10px;
    font-size: rem(16px);
    font-weight: 400;
    box-shadow: none !important;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    width: 100%;
    background: #F9D80C;
    border: none !important;
    border-radius: 0 !important;
    color: #000;
    transition: .4s background, .4s color ease;
    z-index: 99999;
}


.wpcf7-submit:hover {
    background: #3E464A;
    color: #FFF;
    transition: .4s background, .4s color ease;
}

.close-popup {
    cursor: pointer;
    position: relative;
    left: 100%;
    background: none;
    border: none;
}

.close-popup svg {
    width: 18px;
}

.sevensun-toolbar__trade br {
    display: none !important;
}

.sevensun-toolbar__trade  > span {
    display: flex;
    align-items: center;
}

.sevensun-toolbar__trade .price-label {
    display: none !important;
}

.loader-button {
  display: inline-block;
  position: relative;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-left: 5px;
}

.loader-button::after {
  content: "";
  border-radius: 50%;
  position: absolute;
  inset: 0;
  box-shadow: 0 2px 0 #F9D80C inset;
  animation: spin 1s linear infinite;
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sevensun-trade-credit-mobile .trade-credit-wrapper,
.sevensun-account-credit-info .trade-credit-wrapper {
    display: flex;
    flex-direction: column;
}

.sevensun-account-credit-info .trade-credit-wrapper p {
    font-weight: 700;
}

.sevensun-account-credit-info .trade-credit-wrapper .woocommerce-Price-amount, 
.sevensun-account-credit-info .trade-credit-wrapper p span {
    font-weight: 400;
}

.sevensun-toolbar__trade-overdue p {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}