﻿:root {
  --amexPrimaryColor: #006fcf;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "ICPangeaText";
  src: url("/Content/Fonts/ICPangeaText-RegularWeb.woff2") format("woff2"),
    url("/Content/Fonts/ICPangeaText-Regular.ttf") format("truetype");
}

main,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #101820;
}
h1,
h2 {
  font-weight: 600;
}
h3,
h4,
h5,
h6 {
  font-weight: 400;
}
.progress-bar {
  width: 100%;
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.segment {
  flex: 1;
  height: 5px;
  border-radius: 4px;
  background-color: lightgray;
}

.completed {
  background-color: black;
}
.segment.amex.completed{
  background-color: var(--amexPrimaryColor);
}

.formTemplate__container {
  font-family: "ICPangeaText";
  position: relative;
  width: 100%;
  max-width: 748px;
}

.formTemplate__Title {
  font-size: 24px;
  font-weight: 600;
  text-align: right;
}

.formTemplate__card {
  border-radius: 10px;
  border: 1px solid #9fa3a6;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.formTemplate__card-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 420px;
  margin: 32px 0;
}

.validationPage {
  display: none;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  border: 1px solid #e50000;
  width: 100%;
  padding: 10px;
}

.validationPage img {
  width: 24px;
  height: 24px;
}

.validationPage span {
  line-height: normal;
}

.formTemplate__nextBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 327px;
  width: 100%;
  height: 52px;
  border-radius: 4px;
  border: none;
  background-color: #101820;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  align-self: center;
  cursor: pointer;
}

.formTemplate__nextBtn.amex {
  background-color: var(--amexPrimaryColor);
}

.formTemplate__prevBtn {
  font-size: 18px;
  font-weight: 400;
  border: none;
  background-color: transparent;
  text-decoration: underline;
  cursor: pointer;
  width: fit-content;
  align-self: center;
  color: #101820;
}
.formTemplate__prevBtn.amex {
  color: var(--amexPrimaryColor);
}

.loaderOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #6f6f6fb3;
  display: none;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
  justify-content: center;
}
.loaderOverlay.amex{
  background-color: #fffcfcb3;
  
}

.formLoaderContainer {
  height: 30rem;
  width: 50%;
  display: none;
}
.formLoader {
  display: flex;
  /* border: 5px solid white; */
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  animation: swiper-preloader-spin 4s infinite linear;
  border-top-color: transparent;
}

/* Amex spinner styles */
.formLoader.amex-spinner {
  width: 40px;
  height: 40px;
  border: 5px solid var(--amexPrimaryColor);
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: amex-spin 1s linear infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes amex-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.gt-navigation {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.gt-breadCrumbs-container {
  display: flex;
  list-style: none;
  gap: 8px;
  font-size: 14px;
  color: #101820;
  width: 1080px;
}

.gt-breadCrimbs-item a {
  text-decoration: none !important;
  color: #101820;
}

.gt-breadCrimbs-item:hover {
  cursor: pointer;
}

.select2-results__option img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

@media screen and (max-width: 768px) {
  .progress-bar {
    margin-top: 24px;
  }
  .formTemplate__container {
    position: unset;
    margin: 0;
    width: auto;
  }
  .formTemplate__Title {
    padding: 24px;
  }
  .formTemplate__card {
    border: none;
    /* box-sizing: border-box; */
  }

  .formTemplate__card-container {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    gap: 24px;
    padding: 0 24px;
  }
}

#formTemplate-main {
  display: flex;
  background-color: #ffffff;
  justify-content: center;
  flex-direction: column;
  align-items: stretch;
  min-height: 500px;
  width: 100%;
  padding-top: 0;
}
.formTemplate-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: 500px;
    align-items: flex-start;
}
#main{
  padding-top: 0;
}

#formTemplate-main.iframe-mode{
  padding-top: 24px;
}