/* Page Loader CSS */
#page-preloader {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 100000;
}

#page-preloader .loader-ring,
#page-preloader .loader-ring2 {
  border: 60px solid #7a86de;
  -moz-border-radius: 60px;
  -webkit-border-radius: 60px;
  border-radius: 60px;
  margin: -60px 0 0 -60px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#page-preloader .loader-ring,
#page-preloader .loader-ring2 {
  -webkit-animation: pulsate 1.6s linear infinite;
  -moz-animation: pulsate 1.6s linear infinite;
  -ms-animation: pulsate 1.6s linear infinite;
  animation: pulsate 1.6s linear infinite;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -ms-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

#page-preloader .loader-ring2 {
  -webkit-animation-delay: -0.8s;
  -moz-animation-delay: -0.8s;
  -ms-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes pulsate {
  0% {
    -moz-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    opacity: 0.5;
  }

  100% {
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 0;
  }
}

@-moz-keyframes pulsate {
  0% {
    -moz-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    opacity: 0.5;
  }

  100% {
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 0;
  }
}

@-ms-keyframes pulsate {
  0% {
    -moz-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    opacity: 0.5;
  }

  100% {
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate {
  0% {
    -moz-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    opacity: 0.3;
  }

  100% {
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* Toast CSS */
#toast-container>div {
  opacity: 1 !important;
}

.toast-success {
  background-color: var(--color-blue) !important;
}

.toast-info {
  background-color: var(--color-blue) !important;
}

.toast-error {
  background-color: var(--color-red) !important;
}

.toast .toast-close-button {
  box-shadow: none;
  font-size: 24px;
}

.toast .toast-title {
  font-weight: 600;
}

.toast .toast-message {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
}

.authtype-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: auto;
  border: 1px solid var(--color-indigo);
  border-radius: 50px;
  /* width: auto; */
  width: max-content;
  padding: 0px 4px;
}

.authtype-item {
  cursor: pointer;
  margin: 2px auto;
  padding: 2px 8px;
  border-radius: 50px;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-indigo) !important;
}

.authtype-item.active {
  background-color: var(--color-indigo) !important;
  color: #ffffff !important;
  transition: 400ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

#checkoutModal {
  background-image: var(--color-bg-dark);
  color: var(--color-primary);
  text-align: center;
  z-index: 99999;
}

#checkoutModal .modal-dialog {
  max-width: 400px;
  /* Adjust width to make it a skinny rectangle */
  user-select: none;
  margin: auto;
  /* Center the modal dialog */
}

#checkoutModal .modal-content {
  background-color: var(--color-bg-dark);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  /* Center the content inside the modal */
}

#checkoutModal .modal-header,
#checkoutModal .modal-body,
#checkoutModal .modal-footer {
  border: none;
  padding: 0 20px;
}

#checkoutModal .modal-header .close {
  color: rgb(118, 111, 139);
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 30px;
  font-weight: 300;
}

#checkoutModal .modal-header .close:hover {
  transform: scale(1.1);
}

#checkoutModal .modal-header .modal-title.plan-summary-title {
  color: var(--color-secondary);
  font-size: 24px;
  /* Larger font size */
  font-weight: 700;
  /* Make it bold */
  width: 100%;
  text-align: center;
  /* Center the text */
  margin: 0;
  /* Remove default margin */
}

#checkoutModal .modal-body {
  flex: none;
  text-align: center;
  /* Center the body content */
}

#checkoutModal .modal-body #planPrice {
  margin-top: 20px;
  color: var(--color-primary);
  font-size: 32px;
  font-weight: 700;
}

#checkoutModal .modal-body input:not([type="checkbox"]) {
  background-color: rgba(26, 24, 37, 0.75);
  border-radius: 5px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 400;
  padding: 8px 16px;
}

#checkoutModal .modal-body .input-group-append.couponBtn .input-group-text {
  background-color: transparent;
  border: none;
}

#checkoutModal .input-group-append.couponBtn .btn {
  background-color: var(--color-indigo);
  /* Match the theme */
  border: none;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  /* Add padding to make it a box */
  border-radius: 5px;
}

#checkoutModal .modal-body .payment-options-title {
  font-size: 18px;
  /* Slightly smaller font size */
  font-weight: 600;
  /* Bold font */
  color: var(--color-primary);
  text-align: center;
  /* Align to the center */
  margin: 20px 0 10px;
  /* Add margin to move it down and separate from options */
}

#checkoutModal .payment-options {
  display: flex;
  justify-content: center;
  gap: 10px;
  /* Adjust the gap between the options */
  margin-bottom: 20px;
  /* Add margin at the bottom to move the next section down */
}

#checkoutModal .payment-option {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-indigo);
  /* Background color similar to the button */
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s, border 0.3s;
  border: none;
  /* No border initially */
  width: 140px;
  /* Adjust width */
  height: 40px;
  /* Adjust height */
  position: relative;
  /* For positioning */
}

#checkoutModal .payment-option.selected {
  background: var(--color-primary);
  /* Lighter background color for selected option */
  color: var(--color-bg-dark);
  /* Adjust text color for contrast */
}

#checkoutModal .payment-option.greyed-out {
  background: grey;
  color: #aaa;
}

#checkoutModal .payment-radio {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

#checkoutModal .payment-icon {
  font-size: 16px;
  /* Adjust icon size */
  margin-right: 8px;
  /* Adjust spacing */
  color: white;
  /* Icon color */
}

#checkoutModal .payment-label {
  color: white;
  /* Text color */
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  /* Center-align text */
  display: flex;
  /* Flex for aligning icon and text */
  align-items: center;
  /* Center icon and text vertically */
}

.promo-code-section {
  margin-top: 45px;
  /* Add some space above the promo code section */
}

.promo-code-text {

  /* Space between the text and input */
  font-size: 12px;
  
  /* Adjust font size if needed */
  color: var(--color-secondary);
  text-align: center;
  /* Center text */
}

#checkoutModal .promo-code-input-group {

  display: flex;
  justify-content: center;
  /* Center the input group */
  align-items: center;
  /* Center items vertically */
  max-width: 180px;
  /* Make the input box smaller */
  margin: 0 auto;
  /* Center the input group within its container */
  border-radius: 10px;
  background-color: rgb(0, 0, 0);
  color: #7a86de;
}

#checkoutModal .coupon-input {
  width: 100%;
  /* Ensure the input takes full width of its container */
  background-color: white;
  /* Change the background color to white */
  color: black;
  /* Ensure text is readable */
  border: none;
  /* Remove border */
  border-radius: 5px;
  /* Add border radius for rounded corners */
  padding: 5px;
  font-size: 1rem;
  /* Add padding for better appearance */
}

#checkoutModal .promo-code-text {
  font-size: 10px;
  font-weight: 400;
  font-optical-sizing:auto;
  color: var(--color-primary);
  letter-spacing: 0cap;
  text-align: center;
}


#checkoutModal .modal-footer {
  margin-top: 20px;
}

#checkoutModal .modal-footer #checkoutPayBtn {
  margin-top: -30px;
  background-color: var(--color-indigo);
  border: none;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 5px;
}

#tosCheck {
  margin-right: 10px;
}

#checking-coupon {
  font-size: 14px;
  color: var(--color-secondary);
}

#couponDiscount {
  font-size: 14px;
  color: var(--color-secondary);
}

#planDetails {
  font-size: 20px;
  /* Increase the font size */
  color: var(--color-primary);
  /* Match the color theme */
  font-weight: 250;
  /* Make the text bold */
  margin-top: 30px;
  /* Add some margin on top */
  text-align: center;
  /* Center the text */
}
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ccc;
}

.divider:not(:empty)::before {
  margin-right: .25em;
}

.divider:not(:empty)::after {
  margin-left: .25em;
}

.btn-google {
  border: 1px solid #ccc;
  padding: 10px;
  width: 100%;
  margin-top: 10px;
  color: #fff;
  background-color: #343a40;
  border-radius: 5px;
  text-align: center;
}

.btn-google i {
  margin-right: 10px;
}
