.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.auth-container {
  margin: 48px 48px 0 48px;
  min-height: calc(100vh - 152px);
  display: flex;
  justify-content: center;
  gap: 120px;
  border-style: none;
  border-bottom: .5px solid #C1C1C2;
  align-items: center;
}

.auth-top-bar {
  width: 100%;
  padding: 10px 60px 10px 60px;
  background: #FAFAFA;
  border-bottom: 1px solid #DEDCDD;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-image {
  height: 32px;
}

.top-bar-image svg {
  height: 32px;
  width: 141.33px;
}

.auth-form-container {
  display: flex;
  align-items: center;
  max-width: 584px;
  height: 100%;
  min-height: calc(100vh - 152px);
}

.auth-form {
  margin-right: 48px;
}

.login-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.login-header h1 {
  font-family: 'Tiempos Fine';
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 40px;
  color: #101820;
  margin: 0;
  height: min-content;
  min-height: 36px;
}

.login-header h1:lang(vi) {
  font-family: 'Times New Roman', serif;
}

.create-account-line {
  font-family: 'Rand', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #101820;
  padding-top: 8px;
  white-space: nowrap;
}

.create-account-line:lang(vi) {
  font-family: Arial, sans-serif;
}

.create-account-line a {
  font-weight: 500;
  color: #1135F2;
  text-decoration: underline;
  font-size: 16px;
  line-height: 24px;
}
.create-account-line a:hover {
  color: #001EB3;
  text-decoration: underline;
}

.auth-form label {
  font-family: 'Rand', Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  color: #5C5F61;
  margin-bottom: 8px;
  display: block;
  margin-top: 24px;
}

.auth-form label:lang(vi) {
  font-family: Arial, sans-serif;
}

.auth-form input {
  background: #FFFFFF;
  border: 1px solid #C1C1C2;
  box-sizing: border-box;
  border-radius: 8px;
  width: 100%;
  padding: 10px 12px;
  font-family: 'Rand', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}

.auth-form input:lang(vi) {
  font-family: Arial, sans-serif;
}

.auth-form input:focus {
  border: 1px solid #101820;
  outline: none;
}

.auth-form .password-container {
  position: relative;
}
.password-container .show-hide-password {
  height: 24px;
  position: absolute;
  right: 12px;
  top: 32px;
  border: 0;
  background: none;
  cursor: pointer;
  margin-top: 0;
}

.password-container input {
  padding-right: 50px;
}

.show-hide-password .show-password,
.show-hide-password .hide-password {
  height: 24px;
}

.auth-form input::placeholder {
  color: #959596;
}
.auth-form .password-reset-link {
  margin-top: 16px;
}
.auth-form.rebind-form .password-reset-link {
  margin-top: 24px;
}
.auth-form .password-reset-link a {
  font-family: 'Rand', Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: right;
  text-decoration-line: underline;
  color: #1135F2;
}
.auth-form .password-reset-link:hover a {
  color: #001EB3;
  text-decoration: underline;
}

.auth-form .password-reset-link a:focus-visible {
  outline: 2px solid #6080FF;
}
.auth-form .password-reset-link a:lang(vi) {
  font-family: Arial, sans-serif;
}

.auth-form .error-container {
  position: relative;
  padding: 16px;
  border-radius: 8px;
  overflow: hidden;
  background: #FFE0DB; /* warning 2 */
  margin-top: 24px;
  font-family: 'Rand', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #940200; /* warning dark */
}

.auth-form .error-container:lang(vi) {
  font-family: Arial, sans-serif;
}

.auth-form .error-container ul {
  margin: 0;
  padding-inline-start: 0;
}

.auth-form .error-container li {
  list-style-type: none;
}
.auth-form .error-container li:not(:last-child) {
  margin-bottom: 8px;
}

.auth-form button {
  margin-top: 40px;
}

.auth-button {
  width: 100%;
  margin-top: 40px;
  height: 60px;
  background: #1135F2;
  border-radius: 40px;
  font-family: 'Rand', Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #FFFFFF;
  cursor: pointer;
  border: none;
}
.auth-button:lang(vi) {
  font-family: Arial, sans-serif;
}
.auth-button:hover {
  background: #3253FF;
}
.auth-button:active {
  background: #001EB3;
}
.auth-button:focus,
.auth-button:focus-visible,
.toggle-play-pause:focus,
.toggle-play-pause:focus-visible {
  outline: 2px solid #6080FF;
  outline-offset: 2px;
}
.auth-button:focus:not(:focus-visible) {
  outline: none;
}
.auth-button:disabled {
  background: #D0E2FF;
  color: #5C5E61;
  cursor: auto;
}

.reset-done-button {
  display: block;
  height: auto;
  width: max-content;
  padding: 10px 24px;
  text-decoration: none;
  font-size: 16px;
  line-height: 20px;
}

.reset-done-button:hover {
  color: #FFFFFF;
}

.reset-done-button:focus {
  text-decoration: none;
}

.auth-form .hidden {
  display: none !important;
}

.or-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
}
.or-divider-text {
  position: absolute;
  font-family: 'Rand', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #5C5F61;
  background: #FFFFFF;
  padding: 0 16px;
}
.or-divider-text:lang(vi) {
  font-family: Arial, sans-serif;
}
.or-divider-line {
  width: 100%;
  border-style: none;
  border-bottom: 1px solid #C1C1C2;
}

.auth-privacy-text {
  font-family: 'Rand', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #101820;
  padding: 24px 16px;
}

.auth-privacy-text:lang(vi) {
  font-family: Arial, sans-serif;
}

.privacy-text-link {
  color: #1135F2;
  text-decoration: underline;
}
.privacy-text-link:hover {
  color: #001EB3;
  text-decoration: underline;
}

.privacy-text-link:focus-visible {
  outline: 2px solid #3253FF;
}
.auth-final-margin {
  height: 56px;
  width: 100%;
}

/* Language Selector styles */
.language-selector-container {
  position: relative;
  display: flex;
  gap: 8px;
  width: 240px;
}

.selector-globe-icon {
  width: 28px;
  height: 28px;
}

.language-selector-container select {
  width: 100%;
  padding: 5px 11px;
  color: #101820;
  font-family: 'Rand', Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  appearance: none;

  border: 1px solid #C1C1C2;
  background: #FFFFFF;
  border-radius: 8px;
}

.language-selector-container select:lang(vi) {
  font-family: Arial, sans-serif;
}

.language-selector-container .selector-arrow {
  position: absolute;
  top: 2px;
  right:16px;
}

/* Language Selector on Signup */
.signup-language-selector {
  position: relative;
}

.signup-language-selector select {
  background: #FFFFFF;
  border: 1px solid #C1C1C2;
  box-sizing: border-box;
  border-radius: 8px;
  width: 100%;
  padding: 10px 12px;
  font-family: 'Rand', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  appearance: none;

  margin-bottom: 24px;
}

.signup-language-selector select:lang(vi) {
  font-family: Arial, sans-serif;
}

.signup-language-selector .selector-arrow {
  position: absolute;
  top: 10px;
  right: 16px;
}

/* Signup specific styles */
.signup-name-container {
  display: flex;
  gap: 24px;
}
.signup-first-name,
.signup-last-name {
  width: 50%;
}
.auth-form .signup-first-name label,
.auth-form .signup-last-name label {
  margin-top: 0;
}

.password-strength-container {
  margin-top: 16px;
  padding-left: 16px;
}
.password-strength-line {
  display: flex;
  align-items: center;
}
.password-strength-line:not(:last-child) {
  margin-bottom: 8px;
}
.password-strength-line div {
  height: 16px;
}
.password-strength-line div svg {
  margin-right: 8px;
}

.auth-form #accept-tos {
  display: flex;
  align-items: center;
  font-family: 'Rand', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #101820;
  margin-top: 24px;
}

.auth-form #accept-tos:lang(vi) {
  font-family: Arial, sans-serif;
}

.auth-form #accept-tos input {
  width: auto;
  margin-right: 10px;
  height: 16px;
  width: 16px;
  border: 1px solid #101820;
  border-radius: 4px;
  cursor: pointer;
}

/* reauth_bind_socialaccount styles */
.explain-connection {
  font-family: 'Rand', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #101820;
}

.explain-connection:lang(vi) {
  font-family: Arial, sans-serif;
}

/* code transitions between 3 images */
.fc-auth-crossfade-image {
  height: calc(100vh - 200px);
  max-height: 700px;
  width: 45%;
  max-width: 572px;
  position: relative;
  display: flex;
  align-items: center;
}

button.toggle-play-pause {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  z-index: 1;
  position: absolute;
  right: max(-2vw, -48px);
  bottom: 0;
  cursor: pointer;
}

.fc-auth-crossfade-image.paused button.toggle-play-pause {
  background: #1135F2; /* primary 1 */
}

.fc-auth-crossfade-image:not(.paused) button.toggle-play-pause {
  background: #F5F5F5; /* gray 8 */
}

.fc-auth-crossfade-image.paused button.toggle-play-pause:hover {
  background: #6080FF; /* primary 3 */
}
.fc-auth-crossfade-image:not(.paused) button.toggle-play-pause:hover {
  background: #EBEBEB; /* gray 7 */
}

.fc-auth-crossfade-image.paused button.toggle-play-pause:active {
  background: #001EB3; /* primary dark */
}
.fc-auth-crossfade-image:not(.paused) button.toggle-play-pause:active {
  background: #DEDCDD; /* gray 6 */
}

.pause-icon {
  display: flex;
  gap: 4px;
}

.pause-icon span {
  width: 6px;
  height: 20px;
  background: #000000;
}

.play-icon {
  margin-left: 4px;
}

.fc-auth-crossfade-image img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: scale-down;

  animation: fade 15s cubic-bezier(0.1, 0.69, 0, 1.56) infinite;
  -webkit-animation: fade 15s cubic-bezier(0.1, 0.69, 0, 1.56) infinite;
  -moz-animation: fade 15s cubic-bezier(0.1, 0.69, 0, 1.56) infinite;
  -o-animation: fade 15s cubic-bezier(0.1, 0.69, 0, 1.56) infinite;
  -ms-animation: fade 15s cubic-bezier(0.1, 0.69, 0, 1.56) infinite;
}

.fc-auth-crossfade-image.paused .pause-icon,
.fc-auth-crossfade-image:not(.paused) .play-icon {
  display: none;
}
.fc-auth-crossfade-image.paused img {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  button.toggle-play-pause {
    display: none;
  }
  .fc-auth-crossfade-image img {
    animation: none;
  }
}
@keyframes fade {
  0% {opacity: 0;}
  20% {opacity: 1;}
  33% {opacity: 1;}
  53% {opacity: 0;}
  100% {opacity: 0;}
}
@-webkit-keyframes fade {
  0% {opacity: 0;}
  20% {opacity: 1;}
  33% {opacity: 1;}
  53% {opacity: 0;}
  100% {opacity: 0;}
}
@-moz-keyframes fade {
  0% {opacity: 0;}
  20% {opacity: 1;}
  33% {opacity: 1;}
  53% {opacity: 0;}
  100% {opacity: 0;}
}
@-o-keyframes fade {
  0% {opacity: 0;}
  20% {opacity: 1;}
  33% {opacity: 1;}
  53% {opacity: 0;}
  100% {opacity: 0;}
}
@-ms-keyframes fade {
  0% {opacity: 0;}
  20% {opacity: 1;}
  33% {opacity: 1;}
  53% {opacity: 0;}
  100% {opacity: 0;}
}
img.woman-in-dress {
  opacity: 1;
}
img.man-in-shirt {
  opacity: 0;
  animation-delay: 5s;
  -webkit-animation-delay: 5s;
  -moz-animation-delay: 5s;
  -o-animation-delay: 5s;
  -ms-animation-delay: 5s;
}
img.man-in-blazer {
  opacity: 0;
  animation-delay: 10s;
  -webkit-animation-delay: 10s;
  -moz-animation-delay: 10s;
  -o-animation-delay: 10s;
  -ms-animation-delay: 10s;
}

@media (max-width: 1024px) {
  .auth-container {
    gap: 60px;
  }
}

@media (max-width: 903px) {
  .auth-container {
    margin: 40px 24px 40px 24px;
  }

  .auth-top-bar {
    padding: 12px 16px 11px 16px;
  }

  .top-bar-image {
    height: 28px;
  }

  .top-bar-image svg {
    height: 28px;
    width: 126px;
  }

  .language-selector-container {
    width: 200px;
  }

  .auth-form-container {
    align-items: flex-start;
  }

  .auth-form {
    margin-top: 0;
    margin-right: 0;
  }

  .fc-auth-crossfade-image {
    display: none;
  }

  .signup-name-container {
    display: block;
  }
  .signup-first-name,
  .signup-last-name {
    width: 100%;
  }

  .auth-form .signup-last-name label {
    margin-top: 24px;
  }

  .auth-final-margin {
    display: none;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
