html {
  min-height: 100vh;
}

body {
  margin: 0;
  color: #000;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 0.15px;
  line-height: 150%;
  font-size: 1rem;
  font-family: "AvenirLTStd", sans-serif;
  background-color: #f8f8fa;
  height: 100%;
}

a {
  color: #014a7f;
}

.intro {
  display: none;
}

/* Alert */
.alert {
  position: relative;
  padding: 16px;
  font-size: 14px;
  font-family: "AvenirLTStd", sans-serif;
  font-weight: 400;
  line-height: 150%;
  color: #2c2c2c;
  background-color: #f8f8fa;
  margin-bottom: 32px;
  display: flex;
  flex-direction: row;
  gap: 12px;

  .alert-content {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 4px;

    .alert-title {
      font-size: 16px;
      font-weight: 700;
    }
  }
}

.alert-danger {
  color: #5b0b05;
  background-color: #fce8e6;

  .alert-icon {
    color: #e31b0c;
  }
}

.alert-success {
  display: flex;
  align-items: center;
  color: #183619;
  background-color: #EBF3EC;
  font-size: 16px;

  .alert-icon {
    color: #3B873E;
  }
}
/* FIM Alert */

/* Formulário */
#requiredFieldMissing {
  display: none !important;
}

#attributeList > ul {
  margin: 0 !important;
  padding: 0px !important;
}

#attributeList > ul > li {
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* FIM Formulário */

/* TextField */
.helpLink {
  display: none;
}

.attrEntry,
.entry-item,
.buttons.verify {
  position: relative;
  display: grid;
  margin-bottom: 24px;
  grid-template-rows: auto auto;
}

.attrEntry > label,
.entry-item > label,
.entry-item > .password-label > label,
.buttons.verify > label {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-50%);
  color: #c5c5c6;
  font-family: "AvenirLTStd", sans-serif;
  font-size: 12px;
  background-color: #f8f8fa;
  padding: 0 4px;
  pointer-events: none;
  transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: top, font-size, color;
  background-color: #fff;
}

.attrEntry > label,
.entry-item > label,
.entry-item > .password-label > label {
  order: 1;
}

.attrEntry > input,
.entry-item > input,
.buttons.verify > input {
  /* width: 100%; */
  height: 56px;
  border: 1px solid #c5c5c6;
  border-radius: 4px;
  outline: none;
  padding: 0 15px;
  font-size: 16px;
  font-family: "AvenirLTStd", sans-serif;
  transition: 0.2s border-color cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.attrEntry > input,
.entry-item > input {
  order: 2;
}

.attrEntry > .error,
.entry-item > .error,
.buttons.verify > .error {
  color: #e31b0c;
  font-size: 12px;
  letter-spacing: 0.4px;
  font-weight: 400;
  line-height: 136%;
  font-family: "AvenirLTStd", sans-serif;
  text-align: left;
  margin: 3px 14px 0px;
}

.attrEntry > .error,
.entry-item > .error {
  order: 3;
}

.error > p {
  margin: 0;
}

.attrEntry > input:focus,
/* .attrEntry > input:not(:placeholder-shown), */
.entry-item > input:focus,
/* .entry-item > input:not(:placeholder-shown), */
.buttons.verify > input:focus,
.buttons.verify > input:not(:placeholder-shown) {
  border-color: #014a7f;
  box-shadow: 0 0 0 1px #014a7f;
}

.attrEntry:has(input:focus) label,
.attrEntry:has(input:not(:placeholder-shown)) ~ label,
.entry-item:has(input:focus) label,
.entry-item:has(input:not(:placeholder-shown)) ~ label,
.buttons.verify:has(input:focus) label,
.buttons.verify:has(input:not(:placeholder-shown)) ~ label {
  color: #014a7f;
}

.attrEntry:hover input:not(:focus),
.entry-item:hover input:not(:focus),
.buttons.verify:hover input:not(:focus) {
  border: 1px solid #2c2c2c;
}

.attrEntry:hover:has(input:not(:focus)) label,
.entry-item:hover:has(input:not(:focus)) label,
.buttons.verify:hover:has(input:not(:focus)) label {
  color: #2c2c2c;
}

.attrEntry:has(div.error.show) input,
.entry-item:has(div.error[aria-hidden="false"]) input,
.buttons.verify:has(div.error.show) input {
  border-color: #e31b0c;
}

.attrEntry:has(div.error.show) input:focus,
.entry-item:has(div.error[aria-hidden="false"]) input:focus,
.buttons.verify:has(div.error.show) input:focus {
  box-shadow: 0 0 0 1px #e31b0c !important;
}

.attrEntry:has(div.error.show) label,
.entry-item:has(div.error[aria-hidden="false"]) label,
.buttons.verify:has(div.error.show) label {
  color: #e31b0c;
}

.attrEntry:has(input:focus) label,
.entry-item:has(input:focus) label,
.buttons.verify:has(input:focus) label {
  color: #014a7f;
}

.attrEntry > .passwordToggler {
  top: 50%;
}

.entry-item > .passwordToggler {
  top: 35%;
}

.attrEntry > .passwordToggler,
.entry-item > .passwordToggler {
  order: 4;
  position: absolute;
  right: 0px;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: rgba(0, 0, 0, 0.54);
  transition: background-color 0.3s;
  outline: none;
}

.entry-item:has(div.error[aria-hidden="false"]) > .passwordToggler {
  top: 30%;
}

.entry-item > #forgotPassword {
  width: fit-content;
  margin: 0 0 0 auto;
  margin-top: 8px;
  color: #014a7f;
  order: 6;
}

.attrEntry > div.buttons.verify,
.entry-item > div.buttons.verify {
  order: 5;
}

.verificationInfoText {
  display: none !important;
}
/* FIM TextField */

/* Button */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.buttons > button {
  position: relative;
  letter-spacing: 0.46px;
  padding: 10px 0;
  font-size: 15px;
  width: 100%;
  font-family: "VisbyRoundCF", sans-serif;
  font-weight: 700;
  color: #fff;
  background-color: #014a7f;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  overflow: hidden;
  outline: none;
  /* transition: background-color 0.3s, color 0.3s; */
  text-transform: uppercase;
  height: 48px;
}

.buttons > button:hover {
  background-color: #003358;
}

.buttons > button:disabled {
  background-color: #e0e0e0;
  color: #a6a6a6;
  cursor: not-allowed;
}

.secondary {
  border: 1px solid #1f89e480 !important;
  background-color: #fff !important;
  color: #1f89e4 !important;
}

.secondary:disabled {
  border: 1px solid #e0e0e0 !important;
  background-color: #fff !important;
  color: #bdbdbd !important;
  cursor: not-allowed;
}

.tertiary {
  border: none !important;
  background-color: #fff !important;
  color: #1f89e4 !important;
}

.buttons > button:focus {
  background-color: #576F8A;
}

.secondary:hover {
  border-color: #1B497E !important;
}

.secondary:hover,
.tertiary:hover {
  background-color: #F6F8FA !important;
}

.secondary:focus,
.tertiary:focus {
  background-color: #B4C3D5 !important;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: #a6bed1;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
/* FIM Button */

/* Loading Modal */
.verifying-modal {
  display: none;
}

.verifying-modal:has(div.simplemodal-data) {
  display: block;
}

#verifying_blurb {
  color: #fff;
  font-size: 18px;
}
/* FIM Loading Modal */

/* Title */
#title {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  margin-bottom: 8px;
  line-height: 117%;
  font-family: "VisbyRoundCF", sans-serif;
}
/* FIM Title */

/* Subtitle */
#subtitle {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  margin-bottom: 32px;
  color: #00000099;
  line-height: 133%;
  font-family: "VisbyRoundCF", sans-serif;
}
/* FIM Subtitle */

/* Socials Button */
.options {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.options > div {
  flex: 1;
}

.accountButton {
  cursor: pointer;
  outline: none;
  padding: 16px;
  font-size: 16px;
  font-weight: 400;
  font-family: "AvenirLTStd", sans-serif;
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #bdbdbd;
  width: 100%;
}

.accountButton:hover {
  background-color: #F2F2F4;
  border: 1px solid #646464;
}

.accountButton:focus {
  background-color: #A9A9AA;
  border: 1px solid #646464;
}
/* FIM Socials Button */

/* Order Form */
#api {
  display: flex;
  flex-direction: column;
}

.divider {
  order: 2;
}

.social {
  order: 3;
}
/* FIM Order Form */

/* Divider */
.divider {
  display: flex;
  align-items: center;
  margin-top: 32px;
}

.divider > h2 {
  display: inline-block;
  position: relative;
  font-size: 16px;
  font-weight: 400;
  color: #00000099;
  padding: 0 8px;
}

.divider-line {
  flex-grow: 1;
  height: 1px;
  background-color: #ccc;
}
/* FIM Divider */

/* Container Principal */
.container-form {
  max-width: 671px;
  width: 100%;
  position: relative;
  background-color: #fff;
  border-top-left-radius: 32px;
  border-bottom-left-radius: 32px;
  margin-left: -32px;

  .container-form-wrapper {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 64px;
    padding: 40px 84px;

    .logo button,
    .logo-back button {
      background: transparent;
      cursor: pointer;
      border: none;
      color: #014A7F;
    }

    .logo {
      display: flex;
      align-items: center;
      justify-content: space-between;

      img {
        width: 64px;
        height: 40px;
      }

      .help-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: transparent;
        border-radius: 24px;
        padding: 4px 10px;
        font-family: "VisbyRoundCF", sans-serif;
        font-weight: 700;
        font-size: 13px;
        line-height: 22px;
        letter-spacing: 0.46px;
        color: #1f89e4;
        text-transform: uppercase;
        height: 100%;
        border: 1px solid;
        border-color: #8ec3f1;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
      }

      .help-button:hover {
        background-color: #F6F8FA;
        border-color: #1B497E;
      }

      .help-button:focus {
        background-color: #B4C3D5;
      }

      .help-button span {
        font-size: 16px;
      }
    }

    .logo-back {
      display: flex;
      justify-content: flex-start;
      gap: 8px;
    }

    .form {
      display: flex;
      flex: 1;
      flex-direction: column;
    }
  }

  .modal-help {
    position: absolute;
    top: 0px;
    height: 100%;
    display: none;
    background-color: #fff;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
    opacity: 0;
    transition: all 0.2s ease-in-out;

    .modal-help-wrapper {
      display: flex;
      flex-direction: column;
      padding: 40px 84px;

      .modal-help-header {
        button {
          background: transparent;
          border: 0px;
          display: flex;
          align-items: center;
          gap: 8px;
          font-family: "VisbyRoundCF", sans-serif;
          font-size: 14px;
          font-weight: 700;
          text-transform: uppercase;
          text-decoration: none;
          color: #014a7f;
          cursor: pointer;
        }
      }

      .modal-help-content {
        h3 {
          font-family: "VisbyRoundCF", sans-serif;
          font-size: 32px;
          font-weight: 700;
          line-height: 117%;
        }

        ul {
          padding-inline-start: 25px;
        }
      }
    }
  }

  .modal-help.show {
    display: block;
    opacity: 1;
    animation: slideIn 0.2s forwards;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* FIM Container Principal */

/* Containers Temp */
.section-page {
  display: flex;
  background-color: #c5c5c6;
  min-height: 100vh;
}

.container-img {
  flex: 2;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent),
    url(../images/background.png);
  background-position: center;
  background-size: cover;
}
/* FIM Containers Temp */

/* Input Error */
.input-error {
  border-color: #e31b0c !important;
}

.input-error:focus {
  box-shadow: 0 0 0 1px #e31b0c !important;
}

.label-error {
  color: #e31b0c !important;
}
/* FIM Input Error */

/* Loader */
.simplemodal-overlay {
  background-color: rgba(0.39, 29.02, 49.8, 0.5) !important;
  opacity: 1 !important;
}

.working[aria-hidden="false"] {
  display: block;
}

.working {
  display: none;
  min-width: 100vw;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background-color: rgba(0.39, 29.02, 49.8, 0.5);

  .working-container {
    height: 100vh;
  }
}

.working-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.spinner {
  width: 64px;
  height: 64px;
  border-style: solid;
  border-color: transparent;
  border-radius: 50%;
  border-width: 6px;
  border-top-color: #fff;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 24px;
  font-weight: 700;
  font-family: "VisbyRoundCF", sans-serif;
  color: #fff;
}
/* Fim Button Loading */

/* Container Redefinição de Senha */
.verificationControlContent ul {
  padding: 0;
}
/* FIM Container Redefinição de Senha */

/* Fluxo Nova Senha */
.requirements-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 32px;
  order: 2;
}

.requirement-text {
  color: #9e9e9e;
  font-size: 16px;
}

.min-requirement {
  color: #666666;
  font-size: 16px;
  margin: 0;
}

.requirement-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #9e9e9e;
}

.check-circle.valid {
  border-color: #006e00;
}

.requirement-text.valid {
  color: #006e00;
}

.check-icon {
  color: #9e9e9e;
}

.check-circle.valid .check-icon {
  display: block;
  color: #006e00;
}
/* FIM Fluxo Nova Senha */

/* Mensagem Erro Senha */
#passwordEntryMismatch {
  display: none !important;
}
/* FIM Mensagem Erro Senha */

/* Mobile */
@media (max-width: 768px) {
  .container-form {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: 0px;

    .container-form-wrapper {
      padding: 32px 16px;
    }

    .modal-help {
      .modal-help-wrapper {
        padding: 40px 16px;
      }
    }
  }

  .container-img {
    display: none;
  }

  .options {
    flex-direction: column;
  }
}
/* FIM Mobile */
