/* Fix styles inherited from layout */
.container-fluid > .row > .col-12 {
  padding: 0;
}

.container-fluid > .row {
  margin: 0;
}
/* End Fix styles inherited from layout */

section#main {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  width: 100%;
}

#left-section {
  background-image: none;
  background-color: var(--primary-color-dark);
  color: white;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 60%;
}

#left-section .left-section-content {
  max-width: 42rem;
  margin: auto;
}

#left-section h1,
#left-section h2 {
  color: white;
}

#left-section h1 {
  font-weight: bold;
  font-size: 48px;
  line-height: 120%;
  margin-bottom: 32px;
}

#left-section h2 {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 8px;
}

#left-section p {
  font-size: 20px;
  line-height: 28px;
}

#right-section {
  background-color: white;
  padding: 48px;
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#right-section-content {
  max-width: 28rem;
  width: 100%;
  margin: auto;
}

#right-section img.serenity-logo {
  margin-bottom: 32px;
}

#right-section h3 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  margin-bottom: 32px;
}

#right-section button {
  border-radius: 6px;
}

#right-section label {
  margin-bottom: 4px;
}

#right-section .validation-summary-errors ul {
  padding-inline-start: 16px;
}

.field-wrapper {
  margin-bottom: 16px;
}

ignite-input-mail > .form-group.m-b-40 {
  margin-bottom: 16px !important;
  display: flex;
  flex-direction: column-reverse;
}

ignite-input-mail > .form-group.m-b-40 label {
  margin-bottom: 4px;
}

a.text-info {
    color: var(--primary-color) !important;
}

a.text-info:hover {
    color: var(--primary-color-dark) !important;
}

#left-section.with-background {
  background-image: url("/images/bg-error.jpg");
  background-size: auto 100%;
  background-position: right;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile */
@media (max-width: 1023px) {
  .page-wrapper {
    margin-left: 0;
  }

  .container-fluid {
    margin-bottom: 0;
  }

  section#main {
    flex-direction: column;
    min-height: unset;
  }

  #left-section,
  #right-section {
    width: 100%;
  }

  #left-section h1 {
    font-size: 28px;
    line-height: 40px;
    margin-bottom: 0px;
  }

  #left-section h2 {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 8px;
  }

  #left-section h1,
  #left-section h2,
  #right-section h3 {
    text-align: center;
  }

  #left-section,
  #right-section {
    padding: 24px;
  }

  #right-section-content {
    width: 100%;
    max-width: unset;
  }

  .logo-wrapper {
    display: flex;
    justify-content: center;
  }

  #left-section.with-background {
    background-image: url("/images/bg-error.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-height: 768px) {
  #left-section h1 {
    font-size: 32px;
    margin-bottom: 16px;
  }

  #left-section ul li p {
    font-size: 16px !important;
  }

  #left-section .register-features .feature-item {
    margin-bottom: 8px !important;
  }

  #left-section p {
    font-size: 16px !important;
  }

  #right-section h3 {
    margin-bottom: 8px !important;
  }

  #or-divider {
    margin-top: 8px !important;
  }

  #right-section #social-providers-container {
    flex-direction: row !important;
    gap: 16px;
  }

  #right-section #social-providers-container .btn-provider span {
    display: none;
  }
}
