.auth-shell {
  background:
    radial-gradient(circle at top left, rgba(255, 189, 0, 0.2), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #f2f5fb 100%);
  min-height: 100vh;
  padding: 210px 0 96px;
}

.auth-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
}

.auth-panel,
.auth-form-card {
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(21, 31, 52, 0.08);
}

.auth-panel {
  background:
    linear-gradient(135deg, rgba(0, 16, 86, 0.98), rgba(14, 35, 119, 0.92)),
    linear-gradient(180deg, #001056, #001056);
  color: #fff;
  overflow: hidden;
  padding: 48px 46px;
  position: relative;
}

.auth-panel:before,
.auth-panel:after {
  content: "";
  position: absolute;
  z-index: 0;
}

.auth-panel:before {
  background: rgba(255, 189, 0, 0.12);
  border-radius: 999px;
  height: 260px;
  right: -80px;
  top: -100px;
  width: 260px;
}

.auth-panel:after {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  bottom: -100px;
  height: 280px;
  left: -90px;
  width: 280px;
}

.auth-panel > * {
  position: relative;
  z-index: 1;
}

.auth-kicker {
  align-items: center;
  color: #ffdb73;
  display: inline-flex;
  font-family: var(--font-MT);
  font-size: 14px;
  gap: 10px;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.auth-kicker:before {
  background: #ffbd00;
  border-radius: 999px;
  content: "";
  display: block;
  height: 8px;
  width: 8px;
}

.auth-panel-title {
  color: #fff;
  font-size: 46px;
  line-height: 1.06;
  margin-bottom: 18px;
  max-width: 540px;
}

.auth-panel-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 30px;
  margin-bottom: 34px;
  max-width: 500px;
}

.auth-highlights {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
}

.auth-highlight {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  display: flex;
  gap: 14px;
  min-height: 70px;
  padding: 16px 18px;
}

.auth-highlight-icon {
  align-items: center;
  background: rgba(255, 189, 0, 0.18);
  border-radius: 14px;
  color: #ffbd00;
  display: flex;
  flex: 0 0 48px;
  font-size: 20px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.auth-highlight-title {
  color: #fff;
  font-family: var(--font-MT);
  font-size: 16px;
  margin-bottom: 4px;
}

.auth-highlight-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 22px;
}

.auth-panel-bottom {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.auth-mini-users {
  display: flex;
  margin-right: 4px;
}

.auth-mini-users span {
  align-items: center;
  background: linear-gradient(135deg, #ffcf45, #ffbd00);
  border: 2px solid rgba(0, 16, 86, 0.98);
  border-radius: 50%;
  color: #1a1a1a;
  display: flex;
  font-family: var(--font-MT);
  font-size: 12px;
  height: 38px;
  justify-content: center;
  margin-left: -10px;
  width: 38px;
}

.auth-mini-users span:first-child {
  margin-left: 0;
}

.auth-panel-bottom p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 22px;
}

.auth-form-card {
  padding: 42px 40px 38px;
}

.auth-form-top {
  margin-bottom: 30px;
}

.auth-form-title {
  color: #151f34;
  font-size: 38px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.auth-form-subtitle {
  color: #6c7687;
  font-size: 15px;
  line-height: 26px;
}

.auth-link-inline {
  color: #0c287e;
  font-family: var(--font-MT);
}

.auth-link-inline:hover {
  color: #ffbd00;
}

.auth-form-grid {
  display: grid;
  gap: 18px;
}

.auth-form-grid.auth-form-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.auth-field {
  display: flex;
  flex-direction: column;
}

.auth-field label {
  color: #243149;
  font-family: var(--font-MT);
  font-size: 14px;
  margin-bottom: 10px;
}

.auth-field input,
.auth-field select {
  background: #f7f9fc;
  border: 1px solid #dde4ee;
  border-radius: 14px;
  color: #1a1a1a;
  font-size: 15px;
  height: 54px;
  padding: 0 18px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.auth-password-wrap {
  position: relative;
}

.auth-password-wrap input {
  padding-right: 88px;
  width: 100%;
}

.auth-password-toggle {
  align-items: center;
  background: transparent;
  color: #0c287e;
  display: inline-flex;
  font-family: var(--font-MT);
  font-size: 13px;
  height: 100%;
  justify-content: center;
  padding: 0 18px;
  position: absolute;
  right: 0;
  top: 0;
}

.auth-password-toggle:hover {
  color: #ffbd00;
}

.auth-field input:focus,
.auth-field select:focus {
  background: #fff;
  border-color: #ffbd00;
  box-shadow: 0 0 0 4px rgba(255, 189, 0, 0.15);
}

.auth-field small {
  color: #7a8598;
  font-size: 13px;
  line-height: 20px;
  margin-top: 8px;
}

.auth-form-row {
  align-items: center;
  display: flex;
  gap: 12px 18px;
  justify-content: space-between;
  margin-top: 4px;
}

.auth-check {
  align-items: center;
  color: #5f6979;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  gap: 10px;
  line-height: 22px;
}

.auth-check input {
  accent-color: #ffbd00;
  height: 16px;
  margin: 0;
  width: 16px;
}

.auth-submit {
  align-items: center;
  background: #ffbd00;
  border-radius: 14px;
  color: #1a1a1a;
  display: inline-flex;
  font-family: var(--font-MT);
  font-size: 16px;
  gap: 10px;
  height: 56px;
  justify-content: center;
  margin-top: 8px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  width: 100%;
}

.auth-submit:hover {
  background: #ffc727;
  transform: translateY(-1px);
}

.auth-divider {
  align-items: center;
  color: #97a0af;
  display: flex;
  font-size: 13px;
  gap: 16px;
  margin: 22px 0 18px;
}

.auth-divider:before,
.auth-divider:after {
  background: #e3e8ef;
  content: "";
  flex: 1;
  height: 1px;
}

.auth-support {
  align-items: center;
  background: #f8f9fc;
  border: 1px solid #e7ebf2;
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 18px 20px;
}

.auth-support p {
  color: #5e6878;
  font-size: 14px;
  line-height: 22px;
}

.auth-support strong {
  color: #1b2435;
  display: block;
  font-family: var(--font-MT);
  font-size: 15px;
  margin-bottom: 4px;
}

.auth-support a {
  align-items: center;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  color: #1a1a1a;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: var(--font-MT);
  font-size: 14px;
  height: 44px;
  justify-content: center;
  padding: 0 20px;
}

.auth-support a:hover {
  border-color: #ffbd00;
  color: #ffbd00;
}

.auth-note {
  color: #7d8797;
  font-size: 13px;
  line-height: 22px;
  margin-top: 18px;
}

.auth-note a {
  color: #1a1a1a;
  font-family: var(--font-MT);
}

.auth-note a:hover {
  color: #ffbd00;
}

@media only screen and (max-width: 1100px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-panel-title {
    font-size: 40px;
  }
}

@media only screen and (max-width: 768px) {
  .auth-shell {
    padding: 170px 0 72px;
  }

  .auth-panel,
  .auth-form-card {
    border-radius: 22px;
    padding: 30px 22px;
  }

  .auth-panel-title,
  .auth-form-title {
    font-size: 30px;
  }

  .auth-panel-text {
    font-size: 15px;
    line-height: 26px;
  }

  .auth-form-grid.auth-form-grid-2 {
    grid-template-columns: 1fr;
  }

  .auth-form-row,
  .auth-support {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-support a {
    width: 100%;
  }
}

.auth-alert {
  border-radius: 16px;
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 22px;
  padding: 16px 18px;
}

.auth-alert p + p {
  margin-top: 6px;
}

.auth-alert a {
  color: inherit;
  font-family: var(--font-MT);
  text-decoration: underline;
}

.auth-alert-success {
  background: #edf9f1;
  border: 1px solid #bfe6ca;
  color: #166534;
}

.auth-alert-error {
  background: #fff3f2;
  border: 1px solid #f3c2bd;
  color: #b42318;
}

.auth-field input::placeholder {
  color: #8a95a8;
}

.xi0-cap-box {
  margin-top: 20px;
}

.xi0-cap-label {
  color: #243149;
  display: inline-block;
  font-family: var(--font-MT);
  font-size: 14px;
  margin-bottom: 10px;
}

.xi0-cap-box cap-widget {
  align-items: center;
  background: #fff;
  border: 1px solid #dde4ee;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(21, 31, 52, 0.08);
  display: flex;
  justify-content: center;
  min-height: 106px;
  padding: 16px;
}

@media only screen and (max-width: 768px) {
  .auth-alert {
    margin-bottom: 18px;
    padding: 14px 15px;
  }

  .xi0-cap-box cap-widget {
    min-height: 96px;
    padding: 12px;
  }
}
