@import url("https://qab2chtmlcontent.blob.core.windows.net/b2c/CG/styles/fonts.css");

:root {
  --cta-color: #B09C79;
  --error: #d30000;
  --create-cta-color: #B09C79;
  --divider-bg: #cdcfd5;
  --forget-cta-color: #B09C79;
  --forget-password-text-decoration: none;
  --forget-password-top: 60px;
  --body-bg: #F1ECE6;
  --body-text-color: #FFFFFF;
  --email-resent-color: #F1ECE6;
  --email-resent-text-color: #303030;
  --body-bg-mobile: #fff;
  --header-bg: #ffffff;
  --form-bg-color: #ffffff;
  --page-level-error-bg: #fccac9;
  --page-level-error-border: #ddafb2;
  --intro-text-color: #70695C;
  --continue-with-google-text-color: #989182;
  --input-title-color: #989182;
  --create-account-secondaty-text-color: #70695C;
  --font-regular: Lato-Regular;
  --font-light: Lato-Light;
  --font-medium: Lato-Regular;
  --font-bold: Lato-Bold;
  --font-secondary-regular: Lato-Regular;
  --cta-border-radius: 0px;
  --social-cta-radius: 0px;
  --login-form-bg-color: #fff;
  --intro-top-position: 0px;
  --intro-position: static;
  --heading-text-color:  #70695C;
  --subtext-text-color: #989182;
  --normal-text-color: #989182;
  --footer-bg-color: #ded4c6 !important;
  --footer-text-color:  #a48962 !important;
  --create-margin-top: 0px;
}

body {
  visibility: visible;
}

body,
button {
  font-family: var(--font-regular), sans-serif;
}

input {
  font-family: var(--font-light), sans-serif;
}

.header {
  position: relative;
  display: flex;
  height: 77px;
  flex-direction: row;
  background-color: var(--header-bg);
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #d6d6d6;
  background-image: url(https://qab2chtmlcontent.blob.core.windows.net/b2c/CG/assets/images/header-bg.png);
}

#root {
  display: flex;
  flex: 1;
  flex-direction: column;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex: 1;
  height: 100vh;
  background-color: var(--body-bg);
}

#api {
  display: flex;
  width: 100%;
  flex: 1;
}

.claims-provider-list-buttons {
  width: 50%; /* Left half of the screen */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: url(https://qab2chtmlcontent.blob.core.windows.net/b2c/CG/assets/images/bg.png) no-repeat bottom;
  background-size: contain;
}

/* Login form */
#localAccountForm {
  width: 50%; /* Right half of the screen */
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  background-color: var(--login-form-bg-color);
  justify-content: center;
}

@media screen and (min-width: 750px){
  .claims-provider-list-buttons {
    margin: auto;
    justify-content: flex-start;
    align-items: stretch;
  }
  #localAccountForm {
    justify-content: flex-start;
    overflow: auto !important;
  }
  @media screen and (min-height: 680px){
    #localAccountForm{
      justify-content: center;
    }
  }
  .options{
    margin: auto;
  }
  .create p {
    padding-bottom: 140px;
  }
}

.social .intro {
  display: none;
}

.localAccount .intro {
  display: flex;
}

.intro {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  position: var(--intro-position);
  top: var(--intro-top-position);
}

.intro h2 {
  font-size: 32px;
  font-weight: 400;
  font-family: var(--font-secondary-regular);
  color: var(--intro-text-color);
}

/* Divider OR box */
.divider:nth-child(2) {
  width: 70px;
  height: 70px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  margin: 0;
  align-self: center;
  background-color: #ffffff;
  border-radius: 1000px;
  border: 1px solid #eeeee9;
  justify-self: center;
  font-size: 16px;
  font-weight: 300;
  color: #737373;
}
.divider h2 {
  font-weight: 300;
  line-height: 36px;
}

.localAccount .divider {
  font-size: 10px;
  display: none;
}

.options {
  display: flex;
  flex-direction: column;
}

#FacebookExchange {
  position: relative;
  width: 396px;
  height: 64px;
  background-color: #1877f2;
  color: #fff;
  border: 1px solid #1877f2;
  border-radius: var(--social-cta-radius);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 20px;
  outline: none;
  margin: 16px 0px;
}

#FacebookExchange::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: url("https://qab2chtmlcontent.blob.core.windows.net/b2c/CG/assets/images/facebook.svg") center/contain no-repeat;
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 10px;
}

#FacebookExchange::after {
  content: "";
  position: absolute;
  left: 64px;
  top: 50%;
  height: 60%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
}

#FacebookExchange:hover {
  background-color: #135293;
}

#GoogleExchange {
  position: relative;
  width: 396px;
  height: 64px;
  background-color: #ffffff;
  color: var(--continue-with-google-text-color);
  border: 1px solid #dedede;
  border-radius: var(--social-cta-radius);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 20px;
  outline: none;
  margin: 16px 0px;
}

#GoogleExchange::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: url("https://qab2chtmlcontent.blob.core.windows.net/b2c/CG/assets/images/google.svg") center/contain no-repeat;
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 10px;
}

#GoogleExchange::after {
  content: "";
  position: absolute;
  left: 64px;
  top: 50%;
  height: 60%;
  width: 1px;
  background-color: #838383;
  opacity: 20%;
  transform: translateY(-50%);
}

#GoogleExchange:hover {
  background-color: #dedede;
}

#AppleExchange {
  position: relative;
  width: 396px;
  height: 64px;
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  border-radius: var(--social-cta-radius);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 20px;
  outline: none;
  margin: 16px 0px;
}

#AppleExchange::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: url("https://qab2chtmlcontent.blob.core.windows.net/b2c/CG/assets/images/apple.svg") center/contain no-repeat;
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 10px;
}

#AppleExchange::after {
  content: "";
  position: absolute;
  left: 64px;
  top: 50%;
  height: 60%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%);
}

#AppleExchange:hover {
  background-color: #090606;
}

.entry {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.entry-item {
  position: relative;
  margin-bottom: 40px;
  width: 60%;
  display: flex;
  border-bottom: 1px solid var(--divider-bg, #ccc);
}

.entry-item input {
  width: 100%;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 5px;
  border: none;
  outline: none;
  position: relative;
  font-size: 18px;
  font-family: var(--font-regular);
  background-color: var(--login-form-bg-color);
}

.entry-item input::placeholder {
  font-size: 16px;
  color: transparent;
}

.entry-item label {
  position: absolute;
  top: -15px;
  left: 32px;
  pointer-events: none;
  transition: top 0.3s;
  color: #777;
  z-index: 1;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.email-icon {
  width: 24px;
  height: 24px;
  align-self: center;
  cursor: pointer;
}

.error {
  color: var(--error);
}

.error p {
  margin-block-start: 0px;
  margin-block-end: 20px;
}

.pageLevel {
  width: 60%;
  align-self: center;
  margin-bottom: 30px;
  min-height: 40px;
  display: block !important;
}

.pageLevel p {
  background-color: var(--page-level-error-bg);
  border: 1px solid var(--page-level-error-border);
  padding: 12px;
  border-radius: 6px;
  margin-block-end: 0px;
  color: #303030;
  font-size: 14px;
}

.pageLevel p:empty {
  background-color: transparent;
  border: 1px solid transparent;
}

/* error message */
.entry-item .error {
  position: absolute;
  z-index: 1;
  top: 40px;
  display: flex;
}

.entry-item .error p {
  display: flex;
  margin-top: 4px;
  font-size: 14px;
}

#forgotPassword {
  position: absolute;
  height: auto;
  bottom: 0;
  z-index: 1;
  right: 0;
  color: var(--forget-cta-color);
  text-decoration: var(--forget-password-text-decoration);
  top: var(--forget-password-top);
}

#password {
  margin-bottom: 0px;
}

.buttons {
  display: flex;
  width: 60%;
}

#next {
  background-color: var(--cta-color);
  box-shadow: none;
  display: flex;
  width: 100%;
  height: 44px;
  justify-content: center;
  align-items: center;
  outline: none;
  border: none;
  border-radius: var(--cta-border-radius);
  text-transform: uppercase;
  color: var(--body-text-color);
  font-size: 16px;
  margin-top: 20px;
  cursor: pointer;
  font-family: var(--font-medium);
}

.create p {
  color: var(--create-account-secondaty-text-color);
  font-size: 16px;
  font-weight: 400;
  word-wrap: break-word;
}

#createAccount {
  color: var(--create-cta-color);
  font-size: 16px;
  font-weight: 500;
  word-wrap: break-word;
  margin-left: 4px;
  text-decoration: none;
  font-family: var(--font-medium);
}

@media screen and (max-width: 950px) {
  #FacebookExchange,
  #GoogleExchange,
  #AppleExchange {
    width: 296px;
  }
  .entry-item,
  .pageLevel,
  .buttons {
    width: 60%;
  }
}

.appleExchangeInvisible{
  display: none !important;
}

.create {
    margin-top: var(--create-margin-top);
}

@media screen and (max-width: 750px) {
  body {
    background-color: var(--body-bg-mobile);
  }
  #api {
    flex-direction: column-reverse;
    background-color: var(--body-bg-mobile);
  }
  .options {
    flex-direction: row;
  }

  .claims-provider-list-buttons {
    width: 100%;
    /* height: auto; */
    background: none;
    background-color: var(--body-bg-mobile);
    /* margin-top: 40px; */
    margin-bottom: 20px;
    justify-content: initial;
  }
  #localAccountForm {
    width: 100%;
    background-color: var(--body-bg-mobile);
    margin-top: 0px;
  }
  .social .intro {
    display: flex;
    padding: 0px 10px;
  }

  #FacebookExchange {
    font-size: 0px;
    width: 40px;
    height: 40px;
    padding: 0px;
    background: url("https://qab2chtmlcontent.blob.core.windows.net/b2c/CG/assets/images/facebook_mobile.svg") no-repeat;
    margin: 0px 12px;
  }

  #FacebookExchange::after {
    display: none;
  }
  #FacebookExchange::before {
    display: none;
  }

  #GoogleExchange {
    font-size: 0px;
    width: 40px;
    height: 40px;
    padding: 0px;
    background: url("https://qab2chtmlcontent.blob.core.windows.net/b2c/CG/assets/images/google_mobile.svg") no-repeat;
    margin: 0px 12px;
  }

  #GoogleExchange::after {
    display: none;
  }
  #GoogleExchange::before {
    display: none;
  }

  #AppleExchange {
    font-size: 0px;
    width: 40px;
    height: 40px;
    padding: 0px;
    background: url("https://qab2chtmlcontent.blob.core.windows.net/b2c/CG/assets/images/apple_mobile.svg") no-repeat;
    margin: 0px 12px;
  }

  #AppleExchange::after {
    display: none;
  }
  #AppleExchange::before {
    display: none;
  }

  .localAccount .intro {
    padding: 0px;
  }
  .divider:nth-child(2) {
    width: 40%;
    height: auto;
    position: relative;
    top: 0%;
    left: 0%;
    transform: translate(0%, 0%);
    text-align: center;
    margin: 0;
    align-self: center;
    background-color: var(--body-bg-mobile);
    border-radius: 0px;
    border: none;
    justify-self: center;
    font-size: 16px;
    font-weight: 300;
    color: #737373;
    padding: 0px;
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .divider h2 {
    font-weight: 300;
    font-size: 18px;
    text-transform: lowercase;
    margin-block-start: 0px;
    margin-block-end: 0px;
  }

  .divider:nth-child(2)::before,
  .divider:nth-child(2)::after {
    display: flex;
    flex: 1;
    content: "";
    position: absolute;
    top: 50%;
    height: 1px;
    width: 50%;
    background-color: var(--divider-bg);
  }

  .divider:nth-child(2)::before {
    left: -20px; /* Adjust the distance from the text to the left line */
  }

  .divider:nth-child(2)::after {
    right: -20px; /* Adjust the distance from the text to the right line */
  }

  .entry-item input {
    background-color: var(--body-bg-mobile);
  }
  .entry-item,
  .buttons {
    width: 80%;
  }

  .pageLevel {
    width: 80%;
    min-height: 30px;
    margin-bottom: 20px;
    margin-top: 10px;
  }

  .create {
    margin-top: 30px;
  }

  .reset-password-container-visible {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background-color: var(--body-bg-mobile);
  }
  .reset-password-title {
    margin-top: 30px;
    color: var(--heading-text-color);
    text-align: center;
    font-family: var(--font-medium);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 0px;
  }
  .reset-password-subtext {
    margin-bottom: 0px;
    margin-top: 8px;
  }
  #reset-password-done-cta {
    margin-top: 44px;
  }

  .intro h2 {
    font-size: 24px;
  }
}

.peer:placeholder-shown ~ .peer-label {
  top: 0.5rem;
  color: var(--input-title-color);
}

.peer:focus ~ .peer-label {
  top: -0.875rem;
  color: var(--input-title-color);
}

.peer:autoFill ~ .peer-label {
  top: -0.875rem;
  color: var(--input-title-color);
}

.reset-password-container {
  display: none;
}

@media (min-width: 750px) {
  .reset-password-container-visible {
    margin: auto;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.04);
    background-color: var(--form-bg-color);
    padding: 30px 50px 30px 50px;
    display: grid;
    width: 461px;
  }
  .reset-password-title {
    font-family: var(--font-medium);
    color: var(--heading-text-color);
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    margin-bottom: 0px;
    text-align: center;
  }
  .reset-password-subtext {
    margin-bottom: 0px;
    margin-top: 14px;
  }
  #reset-password-done-cta {
    margin-top: 40px;
  }
}

.check-mark-icon {
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

.reset-password-subtext {
  color: var(--subtext-text-color);
  text-align: center;
  font-family: var(--font-regular);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

#reset-password-done-cta {
  width: 100%;
  padding: 10px;
  border-radius: var(--cta-border-radius);
  background-color: var(--cta-color);
  color: #ffffff;
  text-align: center;
  font-family: var(--font-regular);
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.email-resent-message {
  color: #808080;
  font-family: var(--font-regular);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 125% */
}

.email-resent-message span {
  color: var(--create-cta-color);
  font-family: var(--font-medium);
  font-weight: 800;
  cursor: pointer;
}

.body-bg {
  background-color: var(--body-bg);
  background-image: url(https://qab2chtmlcontent.blob.core.windows.net/b2c/CG/assets/images/bg.png);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

#next[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

.arrow {
  position: absolute;
  left: 20px;
}

.hidden {
  display: none;
}

.resent-email-success {
  display: none;
}
.resent-email-success-visible {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 10px;
  border-radius: var(--cta-border-radius);
  background-color: var(--email-resent-color);
  color: var(--email-resent-text-color);
  text-align: center;
}
.email-resent-container{
  height: 40px;
  width: 100%;
}
footer {
  background-color: var(--footer-bg-color);
  background-image: url();
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 20px 40px;
}
.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 16px;
  line-height: 1;
  color: var(--footer-text-color);
  font-family: var(--font-regular), sans-serif;
}
nav.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

nav.footer-nav a {
  color: var(--footer-text-color);
  text-decoration: none;
  font-size: 0.9em;
}
nav.footer-nav a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  footer {
    padding: 15px;
  }
  .footer-container {
    align-items: center;
    font-size: 14px;
  }
}