/* Global styles */
html {
	font-family: 'Lato';
}

*, :after, :before { /* Auth0 uses border-box */
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
optgroup,
select,
textarea {
  font-family: 'Lato';
}

a {
  color: #006395;
  text-decoration: underline;
}
a:hover {
  color: #003760;
  border: none;
}
a:focus {
  outline: 2px solid #c5edff !important;
}


/* Main */
.container {
  height: 100%;
  overflow: auto;
  background-image: url("./42dacb08-100.webp");
  background-color: white;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.left-container {
  min-height: 100%;
  width: 40%;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  display: flex;
  background: white;
}

@media only screen and (max-width: 1193px) {
  .left-container {
    width: 100%;
  }

  .container {
    background-image: none;
    overflow-x: hidden;
  }

  .form-input {
    font-size: 16px;
  }
}

.form-container {
  flex-grow: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px; /* TODO: consider */
  display: flex;
}

.form-component-container {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  display: flex;
  width: 400px;
  padding: 40px;
}

/* Form styles */
.form-header {
  color: #004578;
  line-height: 150%;
  font-size: 19.5px;
  font-weight: 700;
  margin-bottom: 5px;
}

.form-header-inner-container {
  align-self: stretch;
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
}

.form-header-logo {
  width: 137px;
  height: 12px;
  margin-bottom: 30px;
}

.form-body-form-container {
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
  display: flex;
}

.form-body-text {
  color: #5A5A5A;
  font-size: 13px;
  line-height: 150%;
  font-weight: 400;
}

.form-primary-button {
  width: 100%;
  height: 40px;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 6px;
  padding-bottom: 6px;
  background: #8D0E57;
  border-radius: 99px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  border: none;
  color: white;
}

.form-primary-button:hover {
  background: #5F0539;
  border: none;
  cursor: pointer;
}

.form-primary-button:focus {
  background: #5F0539;
  border: none;
}

.form-primary-button--loading {
  background: #5F0539;
  cursor: progress;
}

.form-primary-button--disabled {

}

.form-primary-button-text {
  text-align: center;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  height: 40px;
  padding-top: 9px;
  padding-bottom: 9px;
  padding-left: 8px;
  padding-right: 10px;
  background: white;
  border: 1px #B1B1B1 solid;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  display: inline-flex;
}

.form-input--error {
  border: 1px #b60a1a solid;
}

.form-input:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem inset rgba(191, 222, 255, 0.9);
  border-color: #80bdff;
}

.form-input-hint {
  padding-bottom: 4px;
  padding-right: 10px;
  color: #1F2322;
  font-size: 12px;
  font-weight: 400;
}

.form-input-container {
  width: 100%;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex
}

.form-input-with-action-container {
  width: 100%;
  border: 1px #B1B1B1 solid;
  display: inline-flex;
  align-items: center;
  width: 100%;
  height: 40px;
  padding: 0.4rem;
}

.form-input-with-action-container:focus-within {
  outline: 0;
  box-shadow: 0 0 0 0.2rem inset rgba(191, 222, 255, 0.9);
  border-color: #80bdff;
}

.form-input-with-action-container > .form-input {
  border: 0;
  flex-grow: 1;
  height: 100%;
}

.form-input-with-action-container > .form-input:focus {
  outline: 0;
  border: none;
  box-shadow: none;
}

.form-input-with-action-action {
  height: 16px;
  line-height: 16px;
  cursor: pointer;
  color: #717171;
  padding-right: 5px;
  padding-left: 5px;
}

.form-error-message-container {
  display: inline-flex;
  gap: 5px;
}

.form-error-message-icon {
  color: #b60a1a;
}

.form-error-message-text {
  color: #b60a1a;
  font-size: 12px;
  vertical-align: middle;
}

.form-links-container {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.form-link-with-text-container {
  justify-content: center;
  align-items: center;
  gap: 5px;
  display: inline-flex;
}

.form-link {
  text-align: center;
  color: #006395;
  font-size: 13px;
  font-weight: 400;
  text-decoration: underline;
  cursor: pointer;
}

/* Header styles */
.header {
  padding: 50px;
  width: 100%;
}

@media only screen and (max-width: 420px) {
  .header {
    padding: 50px 40px;
    width: 400px;
  }
}

.header-logo {
  width: 150px;
  height: 48px;
  content:url("./Chatham-Financial-Logo-Primary.png");
}

/* Footer styles */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  align-self: stretch;
  background-color: white;
  color: white;
  width: 100%;
  /* Use a high z-index for future-proofing */
  z-index: 10;
  padding-top: 40px;
  padding-bottom: 50px;
  height: 236;
  flex-direction: 'column';
  justify-content: 'flex-start';
  align-items: 'center';
  gap: 30;
  display: 'flex';
}

.footer-learn-more-button {
  display: flex;
  width: 320px;
  align-items: center;
  justify-content: center;
  background: var(--basics-background-gray, #F7F7F8);
  height: 70px;
  display: flex;
  align-items: center;
  border: none;
  cursor: pointer;
  padding: 0;
}

.footer-learn-more-button:hover {
  box-shadow: 0px 1.6px 4.6px 0px rgba(188, 188, 188, 0.70);
}

.footer-learn-more-button:active:focus {
  box-shadow: 0px 1.6px 4.6px 0px rgba(188, 188, 188, 0.70);
  outline: none;
}

.footer-learn-more-link {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #004578;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  outline: none;
}

.copyright {
  color: var(--gray-gray-120, #5A5A5A);
  text-align: center;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.copyright-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  color: #5A5A5A;
}

.copyright-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #006395;
}

.copyright-link {
  text-decoration: underline;
}
