@import "https://fonts.googleapis.com/css?family=Source+Sans+Pro:regular,bold,italic&subset=latin,latin-ext";
.App {
  box-sizing: border-box;
  text-align: center;
  color: #232c2f;
  justify-content: center;
  align-items: center;
  height: 100%;
  display: flex;
}

.App * {
  box-sizing: border-box;
}

.App button, .App button:hover {
  text-shadow: 0 0 #0000;
  background: none;
  border: 0 solid #0000;
  box-shadow: 0 0 #0000;
}

.App button:active {
  border: none;
  outline: none;
}

.App button:focus {
  outline: 0;
}

.App .submit-button {
  border-radius: 100px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 43px;
  margin-top: 20px;
  padding: 10px 25px;
  transition: all .1s ease-in-out;
  display: flex;
  position: relative;
}

.App .submit-button .submit-text {
  white-space: nowrap;
  opacity: 1;
  font-size: 18px;
  font-weight: 500;
  transition: all .1s ease-in-out;
}

.App .submit-button .loader-container {
  justify-content: center;
  width: 100%;
  display: flex;
  position: absolute;
}

.App .submit-button.submit-button-disabled {
  background-color: #eee;
  border: 0 solid #979797;
}

.App .submit-button.submit-button-disabled .submit-text {
  color: #adadad;
  position: absolute;
}

.App .submit-button.submit-button-disabled .submit-text.submit-text-hide {
  opacity: 0;
}

.App .submit-button.submit-button-disabled:hover {
  cursor: auto;
  background-color: #eee;
}

.App .submit-button.submit-button-loading {
  width: 43px;
  height: 43px;
  padding: 10px;
}

.App .submit-button:hover {
  cursor: pointer;
}

.error {
  border: 1px solid #e75a47;
}

.error-title {
  color: #e75a47;
  align-self: flex-start;
  font-size: 13px;
}

.App-logo {
  pointer-events: none;
  height: 40vmin;
}

.App-header {
  color: #fff;
  background-color: #282c34;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-size: calc(10px + 2vmin);
  display: flex;
}

@font-face {
  font-family: Gilroy;
  src: url("Gilroy-Thin.0624dec6.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: Gilroy;
  src: url("Gilroy-UltraLight.a6b63d88.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: Gilroy;
  src: url("Gilroy-Light.d9fcc2d5.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: Gilroy;
  src: url("Gilroy-Regular.0994b6fe.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: Gilroy;
  src: url("Gilroy-Medium.75b53dfb.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: Gilroy;
  src: url("Gilroy-SemiBold.0b658f11.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: Gilroy;
  src: url("Gilroy-Bold.7e9c5e32.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: Gilroy;
  src: url("Gilroy-ExtraBold.fbe898b7.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: Gilroy;
  src: url("Gilroy-Heavy.5dd2dd2d.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: Gilroy;
  src: url("Gilroy-Black.40547d94.ttf") format("truetype");
  font-weight: 950;
  font-style: normal;
}

* {
  font-family: Gilroy, sans-serif;
}

.signup-form-overlay {
  z-index: 1000;
  background-color: #00000080;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  inset: 0;
}

.signup-form-modal {
  background: #fff;
  border-radius: 40px;
  width: 450px;
  max-height: 90vh;
  padding: 50px;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 4px 20px #0000004d;
}

.signup-form-modal.success-modal {
  text-align: center;
  padding: 60px 50px;
}

.signup-form-modal.success-modal .success-content {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  display: flex;
}

.signup-form-modal.success-modal .success-title {
  color: #004349;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.signup-form-modal.success-modal .success-message {
  color: #666;
  max-width: 350px;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.signup-form-close {
  cursor: pointer;
  color: #004349;
  background: none;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-family: inherit;
  transition: background-color .2s;
  display: flex;
  position: absolute;
  top: 20px;
  right: 25px;
}

.signup-form-close:hover {
  background-color: #f0f0f0;
}

.signup-form-close svg {
  width: 20px;
  height: 20px;
}

.signup-form-header {
  text-align: center;
  margin-bottom: 10px;
}

.signup-form-title {
  color: #004349;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.signup-form-subtitle {
  color: #004349;
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.signup-form {
  flex-direction: column;
  gap: 15px;
  display: flex;
}

.form-field {
  flex-direction: column;
  align-items: center;
  gap: 6px;
  display: flex;
}

.form-input {
  box-sizing: border-box;
  border: 1px solid #c4dbe1;
  border-radius: 4px;
  width: 318px;
  height: 41px;
  padding: 0 16px;
  font-size: 16px;
  transition: border-color .2s;
}

.form-input::placeholder {
  color: #b6bec1;
  font-size: 16px;
}

.form-input:focus {
  color: #004349;
  outline: none;
}

.form-input.error {
  border-width: 1px;
  border-color: #d32f2f;
}

.password-input-container {
  align-items: center;
  width: 318px;
  display: flex;
  position: relative;
}

.password-toggle {
  cursor: pointer;
  color: #666;
  background: none;
  border: none;
  border-radius: 4px;
  padding: 4px;
  font-family: inherit;
  transition: color .2s;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}

.password-toggle:hover {
  color: #004349;
  background-color: #0043491a;
}

.password-toggle svg {
  width: 20px;
  height: 20px;
}

.password-strength {
  flex-direction: column;
  gap: 4px;
  width: 318px;
  margin-top: 8px;
  display: flex;
}

.strength-bar {
  background-color: #e0e0e0;
  border-radius: 2px;
  width: 100%;
  height: 4px;
  overflow: hidden;
}

.strength-fill {
  border-radius: 2px;
  height: 100%;
  transition: width .3s, background-color .3s;
}

.strength-text {
  text-transform: capitalize;
  font-size: 12px;
  font-weight: 500;
  transition: color .3s;
}

.error-message {
  color: #d32f2f;
  margin-top: 4px;
  font-size: 14px;
}

.error-message.global-error {
  text-align: center;
  background-color: #d32f2f1a;
  border: 1px solid #d32f2f4d;
  border-radius: 8px;
  padding: 12px;
}

.login-link {
  color: #666;
  text-align: center;
  font-size: 12px;
}

.login-link .login-link-text {
  color: #004349;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}

.login-link .login-link-text:hover {
  opacity: .8;
  text-decoration: underline;
}

.button-container {
  justify-content: center;
  display: flex;
}

.submit-button {
  cursor: pointer;
  color: #004349;
  background: none;
  border: none;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  transition: all .2s;
  display: flex;
  background-color: #d1ee71 !important;
  width: 247px !important;
  height: 48px !important;
  margin-top: 0 !important;
}

.submit-button:hover {
  color: #fff !important;
  background-color: #004349 !important;
}

.submit-button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.google-signup-button {
  cursor: pointer;
  color: #004349;
  background: #fff;
  border: none;
  border-radius: 25px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 318px;
  height: 50px;
  font-family: inherit;
  font-size: 16px;
  transition: all .2s;
  display: flex;
  border: 1px solid #004349 !important;
}

.google-signup-button:hover {
  background-color: #e5ffe4 !important;
}

.google-signup-button .google-logo {
  width: 20px;
  height: 20px;
}

.divider {
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 16px;
  display: flex;
  position: relative;
}

.divider:before, .divider:after {
  content: "";
  background-color: #ccc;
  flex: 1;
  max-width: 140px;
  height: 1px;
}

.divider span {
  color: #666;
  white-space: nowrap;
  background-color: #fff;
  padding: 0 2px;
  font-size: 16px;
}

.checkbox-field {
  justify-content: center;
  margin-top: 16px;
  display: flex;
}

.checkbox-label {
  cursor: pointer;
  color: #c5c5c5;
  align-items: flex-start;
  gap: 12px;
  max-width: 230px;
  font-size: 12px;
  line-height: 1.5;
  display: flex;
}

.checkbox-input {
  accent-color: #004349;
  cursor: pointer;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.checkbox-text {
  color: #c5c5c5;
  flex: 1;
  font-size: 12px;
  font-weight: 400;
}

.checkbox-text a {
  color: #004349;
  font-weight: 400;
  text-decoration: none;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

@media (width <= 480px) {
  .signup-form-modal {
    border-radius: 50px;
    width: calc(100vw - 40px);
    max-width: 450px;
    margin: 10px;
    padding: 30px 20px;
  }

  .signup-form-modal.success-modal {
    padding: 40px 30px;
  }

  .signup-form-title {
    font-size: 16px;
  }

  .signup-form-subtitle {
    font-size: 14px;
  }

  .form-input, .submit-button, .google-signup-button, .password-input-container, .password-strength {
    width: 100%;
    max-width: 318px;
  }
}
