body {
  margin: 0px;
  padding: 0px;
  background-color: #f8f9fa;
  height: 100vh;
  font-family: Source Sans Pro;
}

h1 {
  font-size: 20px;
  font-weight: 900;
  color: #495057;
  margin: 0px;
  padding: 0px;
}

h5 {
  font-size: 24px;
  font-weight: 900;
  margin: 64px 0px;
}

.headingAgency::before {
  content: "Faça login";
}

.headingCompany::before {
  content: "Entrar no Portal Empresas";
}

#header {
  margin-bottom: 32px;
}

#logo-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  row-gap: 12px;
  column-gap: 12px;
}

.subtitle1 {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 24px;
}

#content {
  display: flex;
  justify-content: center;
  height: 100%;
}

#left-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0px 32px;
  position: relative;
  justify-content: center;
}

#text-container {
  padding: 20vh 120px;
  max-width: 324px;
}

#right-panel {
  display: none;
  height: 100%;
  width: 100%;
  color: white;
}

#right-panel-image {
  display: none;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
}

#right-panel-footer {
  display: none;
}

.agency #right-panel-image {
  background-image: url(./login-corretora-sidebar.png);
  background-color: #f49e00;
  --background-offset: 366px;
  background-size: auto 100%;
  background-position: max(
    100%,
    calc(
      100% - (100vw - var(--background-offset)) / 2 + var(--background-offset)
    )
  );
}

.company #right-panel-image {
  background-image: url(./login-empresa-sidebar.jpg);
  background-color: #1539aa;
  background-size: contain;
  background-position: center;
}

.company #right-panel-footer {
  background-image: url(./login-empresa-sidebar-footer.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #fff;
  background-position: center;
  height: 10%;
}

main:not(.agency) .show-agency {
  display: none;
}

.welcome-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 64px 128px 64px;
  font-family: Source Sans Pro;
  font-size: 24px;
  font-weight: 900;
  max-width: 300px;
}

.welcome-text .subtitle {
  font-size: 16px;
  margin-bottom: 28px;
}

.welcome-text::after {
  content: "";
  background: white;
  height: 77px;
  width: 1px;
  margin-top: 56px;
}

.divider {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 16px 0;

  font-family: Source Sans Pro;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  color: #495057;
}

.divider::before,
.divider::after {
  content: "";
  height: 0;
  border: 1px solid #acb5bd;
  flex: 1;
}

.divider::before {
  margin-right: 12px;
}

.divider::after {
  margin-left: 12px;
}

#register-button {
  border: 1px solid #4a7cb8;
  padding: 16px 0;
  font-family: Source Sans Pro;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  color: #0054b8;
}

#register-button:hover {
  color: #003d85;
  border: 1px solid #003d85;
}

#forgot-password {
  align-self: flex-end;
  font-family: Source Sans Pro;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #0054b8;
}

label[for="keep-connected"] {
  display: flex;
  align-items: center;
}

label[for="keep-connected"] span {
  font-family: Source Sans Pro;
  font-size: 14px;
  font-weight: 400;
  color: #495057;
  margin-left: 8px;
}

/* BREAK POINTS */

@media only screen and (min-width: 426px) {
  #logo-container {
    justify-content: space-between;
    column-gap: 4px;
  }

  #left-panel {
    max-width: 360px;
    margin: 0 24px;
  }
}

@media only screen and (min-width: 769px) {
  #left-panel {
    margin: 0 32px;
  }

  .company #right-panel {
    display: flex;
    flex-direction: column;
  }

  .agency #right-panel {
    display: flex;
  }

  #right-panel-image {
    display: flex;
  }

  .company #right-panel-footer {
    display: flex;
  }
}

@media only screen and (min-width: 1025px) {
  .agency #right-panel {
    --background-offset: 444px;
  }

  .company #right-panel {
    --background-offset: 350px;
  }

  .welcome-text {
    padding: 0 64px 128px 64px;
    max-width: 320px;
  }
}

@media only screen and (min-width: 1280px) {
  #left-panel {
    margin: 0 120px;
    padding-left: 32px;
  }
}

@media only screen and (min-width: 1200px) {
  .welcome-text {
    padding: 0 128px 128px 128px;
  }
}

/* AZURE AD - INJECTED HTML STYLES */

.entry {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.entry-item {
  margin-bottom: 16px;
}

.entry-item label {
  display: block;
  font-family: Source Sans Pro;
  font-size: 14px;
  font-weight: 400;
  color: #495057 !important;
  margin: 0 0 8px 0;
}

.heading h1 {
  font-family: Source Sans Pro;
  font-size: 20px;
  font-weight: 900;
  color: #495057;

  margin-bottom: 16px;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  background-color: transparent;
  border: none;
  padding: 12px 8px !important;
  width: calc(100% - 16px);
  box-shadow: inset 0px -1px 0px rgba(0, 0, 0, 0.4);
}

input:not(:placeholder-shown),
input:focus {
  border: 1px solid #0054b8;
  box-shadow: none;
}

input::placeholder {
  font-family: Source Sans Pro;
  font-size: 14px;
  font-weight: 400;
  color: #acb5bd;
}

#next {
  background: #24ae2a;
  color: white;
  padding: 16px 24px;
  margin-top: 16px;
  outline: none;
  border: none;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer !important;
}

#next,
#register-button {
  position: relative;
  overflow: hidden;
}

#next:hover {
  background: #219f26;
}

#next::after,
#register-button::after {
  display: none;
  content: "";
  position: absolute;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);

  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;

  top: 50%;
  left: 50%;

  animation: ripple 1s;
  opacity: 0;
}

#next:focus:not(:active)::after {
  display: block;
}

#register-button:focus:not(:active)::after {
  display: block;
}

@keyframes ripple {
  from {
    opacity: 1;
    transform: scale(0);
  }

  to {
    opacity: 0;
    transform: scale(10);
  }
}

.inner_container {
  max-width: 374px !important;
  margin: auto !important;
}

.intro {
  display: none !important;
}

#forgotPassword {
  display: none;
}

.buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#floating-button {
  position: absolute;
  bottom: 48px;
  z-index: 1000;
  display: inline-block;
  background: #f2f8f2;
  color: #0f4711;
  gap: 8px;
  height: 38px;
  width: 38px;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  font-family: Source Sans Pro;
  font-size: 14px;
  font-weight: 600;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #d1e7d2;

  overflow: hidden;
  cursor: pointer;

  transition: width 0.3s ease, box-shadow 0.3s ease;
}

#floating-button #base-icon {
  display: block;
  flex-shrink: 0;
}

#floating-button #secret-box {
  display: none;
  margin: 0;
  margin-left: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-20px);
  transition: width 12000ms ease, box-shadow 12000ms ease;
}

#floating-button:hover {
  width: 249px;
}
#floating-button:hover #text-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}

#floating-button:hover #secret-box {
  display: block;

  font-size: 16px;
  font-weight: 400;
  opacity: 1;
  transform: translateX(0);
}
