.auth-body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background: #ffffff;
}

.auth-shell {
  display: flex;
  min-height: 100vh;
}

.auth-aside {
  flex: 1 1 50%;
  height: 100vh;
  background:#4443bc;
  color: #ffffff;
  padding: 2.25rem 3rem 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.auth-aside__top {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-aside__logo-link {
  display: inline-block;
}

.auth-aside__logo {
  width: 170px;
  height: auto;
  display: block;
}

.auth-aside__hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  margin-top: 2rem;
  width: 100%;
  align-self: stretch;
  position: relative;
}

.auth-aside__hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20%;
  width: 80%;
  aspect-ratio: 1 / 1;
  transform: translateX(-50%);
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.25) 35%,
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
  z-index: 0;
}

.auth-aside__title {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.05;
  margin: 0 auto 0.75rem;
  color: #ffffff;
  max-width: 520px;
}

.auth-aside__subtitle {
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 1rem 2rem;
  max-width: 380px;
}

.auth-aside__image {
  display: flex;
  height: 85%;
  margin-top: -150px;
  align-self: center;
  position: relative;
  z-index: 1;
}

.auth-main {
  flex: 1 1 50%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2.5rem 1.5rem;
  min-height: 100vh;
}

.auth-main__nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 2rem;
}

.auth-main__menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 1.5rem;
  text-decoration: none;
}

.auth-main__menu:hover,
.auth-main__menu:focus {
  color: #4443bc;
}

.auth-main__content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.auth-main__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 420px;
  margin: 1.5rem auto 0;
  padding-top: 0.5rem;
  font-size: 0.875rem;
  color: #313131;
}

.auth-footer__text {
  color: #313131;
}

.auth-footer__link {
  color: #4443bc;
  font-weight: 500;
  text-decoration: none;
}

.auth-footer__link:hover,
.auth-footer__link:focus {
  color: #4443bc;
  text-decoration: underline;
}

.auth-form {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-form__title {
  font-size: 1.6rem;
  font-weight: 500;
  color: #1f2937;
  text-align: center;
  margin: 0 0 1.25rem;
}

.auth-card {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #ececec;
  box-shadow: 0 12px 36px rgba(33, 37, 52, 0.24);
  padding: 1.75rem 1.75rem 1.5rem;
}

.auth-card__validation {
  margin-bottom: 0.5rem;
}

.auth-field {
  margin-bottom: 0.9rem;
}

.auth-field__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: #6b7280;
  margin: 0 0 0.35rem;
}

.auth-field .form-control,
.auth-field input.form-control {
  width: 100%;
  height: 2.5rem;
  font-size: 0.95rem;
  padding: 0 0.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2937;
  box-shadow: none;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-field .form-control:focus {
  border-color: #4443bc;
  box-shadow: 0 0 0 3px rgba(68, 67, 188, 0.12);
}

.auth-field .has-addon-icon {
  position: relative;
}

.auth-field .has-addon-icon > input {
  padding-right: 2.25rem;
}

.auth-field .addon-icon {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  color: #9ca3af;
  cursor: pointer;
  font-size: 0.95rem;
}

.auth-field__forgot {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.25rem;
  margin-bottom: 0.85rem;
}

.auth-field__forgot a {
  font-size: 0.8125rem;
  color: #6b7280;
  font-weight: 500;
  text-decoration: none;
}

.auth-field__forgot a:hover,
.auth-field__forgot a:focus {
  color: #4443bc;
  text-decoration: underline;
}

.auth-submit {
  display: block;
  width: 100%;
  height: 2.85rem;
  background: #ff7133;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.25rem;
  transition: background-color 0.15s ease, transform 0.05s ease;
}

.auth-submit:hover {
  background: #e46d46;
  color: #ffffff;
}

.auth-submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(68, 67, 188, 0.2);
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.25rem 0 0.85rem;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #e5e7eb;
}

.auth-divider__label {
  padding: 0 0.75rem;
}

.auth-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.auth-social__button {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #1f2937;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.auth-social__button:hover,
.auth-social__button:focus {
  background: #f8f9fb;
  border-color: #d1d5db;
  color: #1f2937;
  text-decoration: none;
}

.auth-social__button img {
  width: 18px;
  height: 18px;
}

.auth-terms {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
  line-height: 1.4;
  margin: 0.25rem 0 0;
}

.auth-terms a {
  color: #4443bc;
  text-decoration: none;
}

.auth-terms a:hover,
.auth-terms a:focus {
  text-decoration: underline;
}

.auth-card .text-danger {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
}

.auth-card .validation-summary-errors {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
}

@media (max-width: 992px) {
  .auth-aside {
    display: none;
  }
  .auth-main {
    flex: 1 1 100%;
    padding: 1.25rem 1.25rem;
    min-height: 100vh;
  }
}

@media (max-width: 576px) {
  .auth-card {
    padding: 1.25rem 1.1rem 1.15rem;
  }
  .auth-main__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}
