/* Вход / регистрация — стиль дашборда Clover League */

body.page-auth .lhd-sidebar {
  display: none;
}

body.page-auth .lhd-layout {
  display: block;
  min-height: calc(100vh - 24px);
  padding-left: 0;
}

body.page-auth .lhd-main {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.page-auth .lhd-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 48px);
  padding: 32px 20px 56px;
  box-sizing: border-box;
}

body.page-auth .lhd-toast-stack {
  display: none;
}

.lauth-page {
  width: 100%;
  display: flex;
  justify-content: center;
}

.lauth-shell {
  position: relative;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.lauth-shell__glow {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 92vw);
  height: 280px;
  background: radial-gradient(
    ellipse at center,
    rgba(2, 177, 34, 0.22) 0%,
    rgba(2, 177, 34, 0.06) 42%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

/* Логотип над карточкой */
.lauth-brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.lauth-brand:hover {
  opacity: 0.92;
}

.lauth-brand__mark {
  position: relative;
  width: 54px;
  height: 54px;
  display: block;
  flex-shrink: 0;
}

.lauth-brand__frame,
.lauth-brand__clover {
  position: absolute;
  pointer-events: none;
  object-fit: contain;
}

.lauth-brand__frame {
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Те же координаты, что у .lhd-sidebar__brand-clover */
.lauth-brand__clover {
  left: 31px;
  top: 13px;
  width: 32px;
  height: auto;
  transform: none;
  z-index: 1;
}

.lauth-brand__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1 !important;
}

.lauth-brand__top {
  font-size: 15px;
  color: #bebebe;
}

.lauth-brand__bottom {
  font-size: 15px;
  color: #02b122;
}

/* Карточка формы */
.lauth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid #02b122;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.9);
  padding: 32px 34px 24px;
  box-shadow:
    0 0 0 1px rgba(2, 177, 34, 0.1),
    0 24px 72px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
  overflow: hidden;
}

.lauth-card--wide {
  max-width: 480px;
}

.lauth-card__corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(2, 177, 34, 0.35);
  pointer-events: none;
}

.lauth-card__corner--tl {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
  border-radius: 6px 0 0 0;
}

.lauth-card__corner--br {
  right: 10px;
  bottom: 10px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 6px 0;
}

.lauth-head {
  text-align: center;
  margin-bottom: 0;
}

.lauth-head h1 {
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bebebe;
  margin: 0 0 10px;
  line-height: 1.2 !important;
}

.lauth-head p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(190, 190, 190, 0.5);
  line-height: 1.45 !important;
}

.lauth-divider {
  height: 1px;
  margin: 22px 0 20px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(2, 177, 34, 0.45) 20%,
    rgba(2, 177, 34, 0.45) 80%,
    transparent 100%
  );
}

.lauth-alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 77, 77, 0.45);
  background: rgba(255, 77, 77, 0.08);
  color: #ff9a9a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45 !important;
}

.lauth-alert ul {
  margin: 0;
  padding-left: 18px;
}

.lauth-field {
  margin-bottom: 18px;
}

.lauth-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.lauth-label-row .lauth-label {
  margin-bottom: 0;
}

.lauth-forgot {
  font-size: 12px;
  font-weight: 600;
  color: #02b122;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  line-height: 1.2 !important;
  transition: color 0.15s;
}

.lauth-forgot:hover {
  color: #17e105;
}

.lauth-label {
  display: block;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #02b122;
  margin-bottom: 8px;
  line-height: 1.2 !important;
}

.lauth-input {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #424242;
  border-radius: 10px;
  background: #080808;
  color: #bebebe;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35 !important;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.lauth-input::placeholder {
  color: #424242;
  opacity: 1;
}

.lauth-input:focus {
  outline: none;
  border-color: #02b122;
  box-shadow: 0 0 0 2px rgba(2, 177, 34, 0.14);
}

.lauth-note {
  margin: -6px 0 16px;
  font-size: 12px;
  font-weight: 500;
  color: #424242;
  line-height: 1.5 !important;
}

.lauth-note a {
  color: #02b122;
  text-decoration: none;
  font-weight: 600;
}

.lauth-note a:hover {
  text-decoration: underline;
}

.lauth-check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 6px;
}

.lauth-check__input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #02b122;
  cursor: pointer;
}

.lauth-check__label {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(190, 190, 190, 0.75);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  line-height: 1.35 !important;
}

.lauth-turnstile {
  display: flex;
  justify-content: center;
  min-height: 0;
  margin: 8px 0 0;
}

.lauth-submit {
  width: 100%;
  margin-top: 10px;
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  background: #02b122;
  color: #000;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.15s, transform 0.12s;
  line-height: 1.2 !important;
}

.lauth-submit:hover {
  filter: brightness(1.07);
}

.lauth-submit:active {
  transform: scale(0.99);
}

.lauth-submit--secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #bebebe;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
}

.lauth-submit--secondary:hover {
  filter: none;
  border-color: rgba(2, 177, 34, 0.55);
  color: #e8e8e8;
  background: rgba(2, 177, 34, 0.08);
}

.lauth-footer {
  text-align: center;
  margin-top: 22px;
}

.lauth-footer p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #424242;
  line-height: 1.45 !important;
}

.lauth-footer a {
  color: #02b122;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}

.lauth-footer a:hover {
  color: #17e105;
}

.lauth-back {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-family: 'Exo 2', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #424242;
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1.2 !important;
}

.lauth-back:hover {
  color: #bebebe;
}

.lauth-support {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lauth-support__link {
  color: #424242;
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1.2 !important;
}

.lauth-support__link:hover {
  color: #02b122;
}

.lauth-support__sep {
  color: #2a2a2a;
}

@media (max-width: 480px) {
  .lauth-card {
    padding: 28px 22px 22px;
  }

  .lauth-label-row {
    flex-wrap: wrap;
  }
}
