@import url("https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&display=swap");

:root {
  --body-background: #f3f4fa;
  --color-white: #ffffff;
  --color-black: #000000;
  --input-text-color: #495057;
  --heading-color: #616161;
  --button-color: #3fb0ff;
  --button-hover-color: #0151f0;
  --body-font-size: 16px;
  --para-font-size: 16px;
  --para-color: #212529;
  --input-font-size: 16px;
  --font-family: "Cabin", sans-serif;
  --outline-color: 0, 0, 0;
  --input-outline-color-1: 60, 66, 87;
  --input-outline-color-2: 58, 151, 212;
  --input-outline-color-3: #e0e0e0;
  --radio-btn-color: #8b8b8b;
  --radio-btn-background: #f9f9f9;
  --radio-btn-font-size: 14px;
  --border-color: #888888;
  --border-radius: 6px;
}

* {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
}

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--body-background);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--body-font-size);
  font-weight: normal;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--heading-color);
  font-family: var(--font-family);
}

a {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-decoration: none;
  cursor: pointer;
}

p {
  line-height: normal;
  font-weight: 400;
  margin: 0 0 15px 0;
  font-size: var(--para-font-size);
  font-family: var(--font-family);
  line-height: 1.5;
  color: var(--para-color);
}

strong {
  font-weight: 700;
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

*,
:after,
:before {
  box-sizing: border-box;
}

.mb-4 {
  margin-bottom: 20px;
}

.text-center {
  text-align: center;
}

/***********************/
form {
  box-sizing: border-box;
  box-shadow: 0px 0px 8px 6px rgba(var(--outline-color), 0.02);
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 10px;
  max-width: 500px;
  margin: 50px auto;
}

.d-flex-center {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.divider {
  overflow: hidden;
  position: relative;
  padding-bottom: 32px;
  padding-top: 16px;
}

.divider hr {
  background-color: hsla(0, 0%, 10%, 1);
  border: none;
  height: 1px;
  width: 100%;
  box-sizing: content-box;
  overflow: visible;
}

.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--input-text-color);
  font-size: var(--input-font-size);
}

.fieldgroup-container {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.no-wrap {
  flex-wrap: nowrap;
}

.relative {
  position: relative;
}

.fieldgroup-child--width-12 {
  width: 100%;
}

.fieldgroup-child--width-8 {
  width: 75%;
}

.fieldgroup-child--width-6 {
  width: 50%;
}

.fieldgroup-child--width-4 {
  width: 25%;
}

.fieldgroup-child--width-12 .hostedfield-wrapper {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.fieldgroup-child--width-6 .hostedfield-wrapper {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.fieldgroup-child--width-6.child-left .hostedfield-wrapper {
  border-bottom-right-radius: 0;
}

.fieldgroup-child--width-6.child-right .hostedfield-wrapper {
  border-bottom-left-radius: 0;
}

.fieldgroup-child--width-8 input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.fieldgroup-child--width-4 input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.cards_icons {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-white);
  min-height: 20px;
  gap: 3px;
  z-index: 5;
}

.cards_icons img {
  width: 24px;
}

input {
  position: relative;
  display: block;
  width: 100%;
  height: 48px;
  padding: 0.375rem 0.75rem;
  font-size: var(--input-font-size);
  font-weight: 400;
  line-height: 1.5;
  color: var(--input-text-color);
  font-family: var(--font-family);
  background-color: var(--color-white);
  background-clip: padding-box;

  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 0 0 1px var(--input-outline-color-3),
    0 2px 4px 0 rgba(var(--outline-color), 0.07),
    0 1px 1.5px 0 rgba(var(--outline-color), 0.05);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.hostedfield-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  display: block;
  width: 100%;
  height: 48px;
  padding: 0.375rem 0.75rem;
  font-size: var(--input-font-size);
  font-weight: 400;
  line-height: 1.5;
  color: var(--input-text-color);
  font-family: var(--font-family);
  background-color: var(--color-white);
  background-clip: padding-box;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 0 0 1px var(--input-outline-color-3),
    0 2px 4px 0 rgba(var(--outline-color), 0.07),
    0 1px 1.5px 0 rgba(var(--outline-color), 0.05);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.hostedfield-wrapper>div {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}

.hostedfield-wrapper:hover,
input:hover,
.hostedfield-wrapper:focus,
input:focus,
.input:focus-visible {
  border: none;
  outline: 0;
  box-shadow: rgba(var(--input-outline-color-2), 0.36) 0px 0px 0px 4px,
    rgba(var(--input-outline-color-1), 0.16) 0px 0px 0px 1px;
  z-index: 1;
}

.no-wrap .hostedfield-wrapper:first-child {
  z-index: 0;
}

.no-wrap .hostedfield-wrapper:nth-child(2),
.no-wrap .hostedfield-wrapper:nth-child(3) {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 0;
  box-shadow: none;
  width: 80px;
  z-index: 1;
}

.no-wrap .hostedfield-wrapper:nth-child(2) {
  right: 80px;
}

.no-wrap .hostedfield-wrapper:nth-child(3) {
  right: 0;
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.btn {
  border-radius: var(--border-radius);
  background-color: var(--button-color);
  font-size: 18px;
  line-height: 21px;
  color: var(--color-white);
  font-weight: 700;
  font-family: var(--font-family);
  padding: 15px;
  border: 0;
  width: 100%;
  height: 55px;
  text-transform: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus {
  background-color: var(--button-hover-color);
  color: var(--color-white);
}

/*****************/
.pay-options-tabs {
  margin: 0px;
  padding: 0px;
  list-style: none;
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 15px -5px 30px;
  flex-wrap: nowrap;
  gap: 0;
}

.select-btn-radio {
  background: none;
  color: var(--color-black);
  cursor: pointer;
  padding: 0;
  display: flex;
  flex: 1 1 32%;
  max-width: 32%;
  margin: 0px 5px;
}

.select-btn-radio input[type="radio"]:checked,
.select-btn-radio input[type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

.select-btn-radio input[type="checkbox"],
.select-btn-radio input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

.select-btn-radio label {
  color: var(--radio-btn-color);
  position: relative;
  margin-bottom: 0;
  background: var(--radio-btn-background);
  border-radius: var(--border-radius);
  cursor: pointer;
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
  transition: all 0.3s;
  font-size: var(--radio-btn-font-size);
  line-height: 20px;
  padding: 10px;
  font-weight: 500;
}

.select-btn-radio input[type="radio"]:checked+label {
  background: var(--button-color);
  color: var(--color-white);
}

.select-btn-radio input[type="radio"]:not(:checked)+label::before,
.select-btn-radio input[type="radio"]:checked+label::before {
  content: "";
  width: 17px;
  min-width: 17px;
  height: 17px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  background: var(--color-white);
  margin-right: 8px;
}

.select-btn-radio input[type="radio"]:checked+label::before {
  background: var(--color-white);
  border: 1px solid var(--color-white);
  box-shadow: 0 0 0px 2px var(--button-color) inset;
}

.tab-content {
  display: none;
  background: transparent;
  padding: 0px;
}

.tab-content.current {
  display: inherit;
}

.lrn-more-link {
  color: var(--button-color);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.lrn-more-link:hover {
  color: var(--button-hover-color);
}

.form-footer {
  padding-top: 30px;
  justify-content: center;
}

.footer-links {
  padding: 0 0 0 16px;
}

.footer-poweredby {
  padding-right: 16px;
}

.link {
  font-size: 12px;
  font-weight: 400;
  color: var(--input-text-color);
}

.footer-links .link {
  text-decoration: underline solid var(--input-text-color);
  margin-right: 12px;
}

.footer-links .link:hover {
  text-decoration: none;
}

.divider-line {
  background: var(--input-text-color);
  width: 1px;
  height: 15px;
  display: inline-flex;
  opacity: 0.5;
}

/****************/
@media (max-width: 767px) {
  form {
    margin: 30px auto;
  }

  .mb-4 {
    margin-bottom: 15px;
  }
}

@media (max-width: 575px) {
  form {
    max-width: 100%;
    margin: 30px 20px;
    padding: 30px 20px;
  }

  .hostedfield-wrapper,
  input {
    height: 36px;
    font-size: 14px;
  }

  .cards_icons {
    gap: 0;
  }

  .cards_icons img {
    width: 20px;
  }

  .pay-options-tabs {
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .pay-options-tabs .select-btn-radio {
    margin: 5px;
    -webkit-box-flex: auto;
    -ms-flex: auto;
    flex: auto;
    max-width: none;
  }

  .btn {
    line-height: 1;
    height: 45px;
    font-size: 16px;
  }

  .no-wrap {
    flex-wrap: wrap;
  }

  .no-wrap .hostedfield-wrapper:nth-child(2),
  .no-wrap .hostedfield-wrapper:nth-child(3) {
    position: static;
    transform: translateY(0%);
    width: 50%;
    box-shadow: 0 0 0 1px var(--input-outline-color-3),
      0 2px 4px 0 rgba(var(--outline-color), 0.07),
      0 1px 1.5px 0 rgba(var(--outline-color), 0.05);
  }

  .no-wrap .hostedfield-wrapper:first-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .no-wrap .hostedfield-wrapper:nth-child(2) {
    border-bottom-left-radius: var(--border-radius);
  }

  .no-wrap .hostedfield-wrapper:nth-child(3) {
    border-top-right-radius: 0;
    border-bottom-right-radius: var(--border-radius);
  }
}

@media (max-width: 414px) {
  .cards_icons {
    top: -5px;
    right: 5px;
    border: 1px solid rgba(var(--input-outline-color-1), 0.16);
    border-radius: 4px;
  }
}

/*********** For Stripe starts ***********/
.blink-form__group.fieldgroup-container.no-wrap {
  flex-wrap: wrap;
}

div#card-number-element {
  width: 100%;
}

#card-expiry-element,
#card-cvc-element {
  width: 50%;
}

.StripeElement {
  position: relative;
  display: block;
  width: 100%;
  height: 48px;
  padding: 0.375rem 0.75rem;
  padding-top: 15px;
  font-size: var(--input-font-size);
  font-weight: 400;
  line-height: 1.5;
  color: var(--input-text-color);
  font-family: var(--font-family);
  background-color: var(--color-white);
  background-clip: padding-box;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 0 0 1px var(--input-outline-color-3),
    0 2px 4px 0 rgba(var(--outline-color), 0.07),
    0 1px 1.5px 0 rgba(var(--outline-color), 0.05);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

div#card-number-element.StripeElement {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

#card-expiry-element.StripeElement,
#card-cvc-element.StripeElement {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#card-expiry-element.StripeElement {
  border-bottom-right-radius: 0;
}

#card-cvc-element.StripeElement {
  border-bottom-left-radius: 0;
}

.custom-button1,
#stripeSubmit,
#stripe {
  border-radius: var(--border-radius);
  background-color: var(--button-color);
  font-size: 18px;
  line-height: 21px;
  color: var(--color-white);
  font-weight: 700;
  font-family: var(--font-family);
  padding: 15px;
  border: 0;
  width: 100%;
  height: 55px;
  text-transform: none;
  cursor: pointer;
}

.custom-button1:hover,
.custom-button1:focus,
#stripe:hover,
#stripe:focus #stripeSubmit:hover,
#stripeSubmit:focus {
  background-color: var(--button-hover-color);
  color: var(--color-white);
}


/*********** For Stripe end ***********/