@font-face {
  font-family: "Wella Atimbo";
  src: url("../../media/fonts/WellaAtimbo.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.login.auth-layout {
  --auth-indigo: #350089;
  --auth-indigo-mid: #5B21C0;
  --auth-indigo-deep: #26005F;
  --auth-lilac: #d8bfff;
  --auth-ink: #232323;
  --auth-ink-soft: #5A5560;
  --auth-field-border: #E7E1F2;
  --auth-field-bg: #FBFAFE;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: calc(100vh - 78px);
  align-items: stretch;
}

body:has(.login.auth-layout) {
  font-family: "Golos Text", system-ui, sans-serif;
}

.login.auth-layout .script {
  font-family: "Wella Atimbo", cursive;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #ff7f00;
  display: inline-block;
  font-size: 1.55em;
  white-space: nowrap;
}

.login.auth-layout .login-left,
.login.auth-layout .auth-aside {
  background: linear-gradient(150deg, #26005F 0%, #350089 60%, #5B21C0 100%);
  color: #fff;
  padding: 64px 64px 56px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.login.auth-layout .login-left .login__text-group,
.login.auth-layout .login-left .login__illustration,
.login.auth-layout .login-left .login__pattern {
  display: none;
}

.login.auth-layout .auth-aside__swoosh {
  position: absolute;
  right: -50px;
  top: 40px;
  width: 300px;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
}

.login.auth-layout .auth-aside__ribbon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 120px;
  width: 100%;
  height: 140px;
  pointer-events: none;
}
.auth-aside__content-inner{
  float: right;
  margin-top: 100px;
}
.login.auth-layout .auth-aside__content {
  position: relative;
  z-index: 1;
}

.login.auth-layout .auth-aside__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--auth-lilac);
  margin-bottom: 16px;
}

.login.auth-layout .auth-aside__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: none;
  color: #fff;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4em;
  white-space: nowrap;
}

.login.auth-layout .auth-aside__title-main {
  white-space: nowrap;
}

.login.auth-layout .auth-aside__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  max-width: 430px;
  list-style: none;
}

.login.auth-layout .auth-aside__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.login.auth-layout .auth-aside__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--auth-lilac);
}

.login.auth-layout .auth-aside__item-title {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
}

.login.auth-layout .auth-aside__item-desc {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin-top: 3px;
}

.login.auth-layout .login-right {
  background: #fff;
  padding: 56px 32px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login.auth-layout .login-right > *,
.login.auth-layout .auth-panel {
  width: 100%;
  max-width: 420px;
}

.login.auth-layout .login-right > .auth-panel--wide {
  max-width: 620px;
}

.login.auth-layout .login-right:has(.auth-panel--wide) {
  justify-content: flex-start;
  padding: 52px 32px 80px;
}

.login.auth-layout:has(.role-cards) .login-right > * {
  max-width: 560px;
}

.login.auth-layout .login-right .login-right__text-group {
  text-align: left;
  margin-bottom: 0;
}

.login.auth-layout .login-right .login-right__text-group .login-right__title,
.login.auth-layout .login-right__title {
  font-size: 34px;
  font-weight: 800;
  color: var(--auth-indigo-deep);
  letter-spacing: -0.02em;
  margin-bottom: 0;
  line-height: 1.15;
}

.login.auth-layout .login-right .login-right__text-group .login-right__desc,
.login.auth-layout .login-right__desc {
  font-size: 15px;
  color: var(--auth-ink-soft);
  margin-top: 10px;
  line-height: 1.6;
}

.login.auth-layout form {
  margin-top: 32px;
}

.login.auth-layout .auth-fields,
.login.auth-layout .login-right .login-right__forms {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login.auth-layout .auth-field,
.login.auth-layout .login-right form label.auth-field,
.login.auth-layout .login-right__forms-group {
  display: block;
}

.login.auth-layout .auth-field__label,
.login.auth-layout .login-right form .auth-field__label,
.login.auth-layout .forms__label,
.login.auth-layout .form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--auth-ink);
  margin-bottom: 8px;
}

.login.auth-layout .auth-field__control {
  position: relative;
  display: block;
}

.login.auth-layout .auth-field__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: var(--auth-ink-soft);
  pointer-events: none;
  z-index: 1;
}

.login.auth-layout .form-control,
.login.auth-layout .forms__input,
.login.auth-layout .auth-field__input {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--auth-field-border);
  background: var(--auth-field-bg);
  font-size: 15px;
  color: var(--auth-ink);
  outline: none;
  box-shadow: none;
  transition: border-color 0.16s, background 0.16s, box-shadow 0.16s;
}

.login.auth-layout .auth-field--icon .form-control,
.login.auth-layout .auth-field--icon .auth-field__input {
  padding-left: 44px;
}

.login.auth-layout .auth-field--password .form-control,
.login.auth-layout .auth-field--password .auth-field__input {
  padding-right: 46px;
}

.login.auth-layout .form-control::placeholder,
.login.auth-layout .forms__input::placeholder,
.login.auth-layout .auth-field__input::placeholder {
  color: #9A93A8;
}

.login.auth-layout .form-control:focus,
.login.auth-layout .forms__input:focus,
.login.auth-layout .auth-field__input:focus,
.login.auth-layout .login-right .login-right__forms .login-right__forms-group .forms__input:focus,
.login.auth-layout .login-right .login-right__forms .login-right__forms-group .form-control:focus {
  border: 1.5px solid var(--auth-indigo);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(53, 0, 137, 0.09);
}

.login.auth-layout .auth-field__toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 6px;
  display: flex;
  border-radius: 8px;
  color: var(--auth-ink-soft);
  cursor: pointer;
}

.login.auth-layout .auth-field__toggle-hide {
  display: none;
}

.login.auth-layout .auth-field__toggle.is-visible .auth-field__toggle-show {
  display: none;
}

.login.auth-layout .auth-field__toggle.is-visible .auth-field__toggle-hide {
  display: flex;
}

.login.auth-layout .auth-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}

.login.auth-layout .auth-row a,
.login.auth-layout .login-right .login-right__opt a {
  font-size: 14px;
  font-weight: 600;
  color: var(--auth-indigo);
}
.register-button{
  display: table;
  margin: 30px auto 20px;
  max-width: 400px;

}
.login.auth-layout .auth-submit,
.login.auth-layout .login-button,
.login.auth-layout .forms__button.btn-primary,
.login.auth-layout .btn.btn-primary {
  width: 100%;
  margin-top: 24px;
  padding: 16px;
  border-radius: 999px;
  border: none;
  background: var(--auth-indigo);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 22px rgba(53, 0, 137, 0.24);
  transition: transform 0.14s, box-shadow 0.14s, background 0.14s;
}

.login.auth-layout .auth-submit:hover,
.login.auth-layout .login-button:hover,
.login.auth-layout .forms__button.btn-primary:hover,
.login.auth-layout .btn.btn-primary:hover {
  background: var(--auth-indigo-mid);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(53, 0, 137, 0.3);
}

.login.auth-layout .auth-separator {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0;
}

.login.auth-layout .auth-separator__line {
  flex: 1;
  height: 1px;
  background: #EDE8F5;
}

.login.auth-layout .auth-separator__text {
  font-size: 12.5px;
  color: var(--auth-ink-soft);
  font-weight: 600;
}

.login.auth-layout .google-login-button,
.login.auth-layout a.google-login-button {
  margin-top: 0;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  border: 1.5px solid #E7E1F2;
  background: #fff;
  color: var(--auth-ink);
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  box-shadow: none;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.login.auth-layout .google-login-button > div {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.login.auth-layout .google-login-button .google-logo {
  width: 19px;
  height: 19px;
  margin-right: 0;
}

.login.auth-layout .google-login-button:hover {
  background: #F7F2FF;
  border-color: #d8bfff;
  color: var(--auth-ink);
}

.login.auth-layout .login-right .login-right__opt {
  text-align: center;
  margin-top: 28px;
  padding: 0;
  font-size: 14.5px;
  color: var(--auth-ink-soft);
}

.login.auth-layout .login-right .login-right__opt a {
  font-weight: 700;
}

.login.auth-layout .auth-alert,
.login.auth-layout .alert-danger,
.login.auth-layout .errorlist {
  background: #fff4f4;
  border: 1px solid #ffd0d0;
  color: #b42318;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  list-style: none;
  margin: 0 0 8px;
}

.login.auth-layout .error-message .error,
.login.auth-layout .error-message .errorlist {
  background: none;
  border: 0;
  padding: 0;
  margin: 6px 0 0;
}

.login.auth-layout .reg-sections {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.login.auth-layout .reg-divider {
  height: 1px;
  background: #F0ECF7;
  border: 0;
}

.login.auth-layout .reg-section {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.login.auth-layout .reg-section__n {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #EFE4FF;
  color: #350089;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.login.auth-layout .reg-section__body {
  flex: 1;
  min-width: 0;
}

.login.auth-layout .reg-section__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--auth-indigo-deep);
  margin: 0;
  line-height: 1.25;
}

.login.auth-layout .reg-section__desc {
  font-size: 13.5px;
  color: var(--auth-ink-soft);
  margin-top: 5px;
  line-height: 1.55;
}

.login.auth-layout .reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.login.auth-layout .reg-grid__span {
  grid-column: 1 / -1;
}

.login.auth-layout .auth-field__req {
  color: #ff7f00;
  margin-left: 3px;
}

.login.auth-layout .auth-field__label {
  font-size: 13px;
  margin-bottom: 7px;
}

@media (max-width: 1199.98px) {
  .login.auth-layout .login-left,
  .login.auth-layout .auth-aside {
    padding: 48px 40px;
  }

  .login.auth-layout .auth-aside__title {
    font-size: 30px;
  }
}

@media (max-width: 940px) {
  .login.auth-layout {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .login.auth-layout .login-left,
  .login.auth-layout .auth-aside {
    display: none;
  }

  .login.auth-layout .login-right,
  .login.auth-layout .login-right:has(.auth-panel--wide) {
    padding: 32px 20px 48px;
    height: auto;
  }
}

@media (max-width: 620px) {
  .login.auth-layout .reg-section {
    flex-direction: column;
    gap: 12px;
  }

  .login.auth-layout .reg-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .login.auth-layout {
    min-height: calc(100vh - 60px);
  }
}
