/* =========================================================
   ASC AUTH PAGES
========================================================= */

body.asc-auth-page {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #182432;
  background:
    radial-gradient(circle at top left, rgba(209, 226, 240, .8), transparent 30%),
    radial-gradient(circle at bottom right, rgba(226, 238, 247, .85), transparent 32%),
    linear-gradient(180deg, #f7fbfe 0%, #edf4f9 100%);
}

body.asc-auth-page .site,
body.asc-auth-page #page {
  margin: 0;
  max-width: none;
  width: 100%;
  min-height: 100vh;
  background: transparent;
}

.ascAuth {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 32px;
}

.ascAuth__ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: .45;
}

.ascAuth__ambient--one {
  width: 380px;
  height: 380px;
  top: -80px;
  left: -80px;
  background: rgba(202, 220, 236, .85);
}

.ascAuth__ambient--two {
  width: 440px;
  height: 440px;
  right: -120px;
  bottom: -120px;
  background: rgba(228, 237, 245, .95);
}

.ascAuth__shell {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 64px);
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 28px;
  align-items: stretch;
}

.ascAuth__brand,
.ascAuth__panel {
  border: 1px solid rgba(212, 223, 234, .95);
  background: rgba(255, 255, 255, .76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 24px 60px rgba(16, 24, 40, .07),
    inset 0 1px 0 rgba(255, 255, 255, .55);
}

.ascAuth__brand {
  border-radius: 34px;
  padding: 42px;
  display: flex;
  align-items: center;
}

.ascAuth__brandInner {
  max-width: 560px;
}

.ascAuth__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.ascAuth__eyebrowBadge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eef5fb 0%, #e1ecf5 100%);
  color: #1b2a39;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
}

.ascAuth__eyebrowBadge--soft {
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(220,230,239,.9);
}

.ascAuth__title {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 900;
  color: #13202d;
}

.ascAuth__subtitle {
  margin: 0;
  max-width: 520px;
  color: #5a6b7d;
  font-size: 17px;
  line-height: 1.7;
}

.ascAuth__featureList {
  margin-top: 34px;
  display: grid;
  gap: 16px;
}

.ascAuthFeature {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(220,230,239,.85);
}

.ascAuthFeature__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #dce9f4 0%, #cfddeb 100%);
  color: #16304a;
  font-weight: 900;
}

.ascAuthFeature strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #1a2838;
}

.ascAuthFeature span {
  display: block;
  color: #647689;
  font-size: 13px;
  line-height: 1.55;
}

.ascAuth__panelWrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ascAuth__panel {
  width: 100%;
  max-width: 520px;
  border-radius: 30px;
  padding: 30px;
}

.ascAuth__panelTop {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.ascAuth__kicker {
  color: #6f8193;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ascAuth__panelTitle {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.03em;
  color: #14202c;
}

.ascAuth__panelText {
  margin: 0;
  color: #66788b;
  font-size: 14px;
  line-height: 1.6;
}

.ascAuth__switch {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(243, 247, 250, .95);
  border: 1px solid rgba(223,232,239,.96);
}

.ascAuth__switchBtn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #55677a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.ascAuth__switchBtn.is-active {
  background: #fff;
  color: #152333;
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
}

.ascAuth__alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(228, 194, 194, .95);
  background: linear-gradient(180deg, #fff8f8 0%, #fff2f2 100%);
  color: #7d2d2d;
  font-size: 14px;
}

.ascAuth__alert strong {
  display: block;
  margin-bottom: 8px;
}

.ascAuth__alert ul {
  margin: 0;
  padding-left: 18px;
}

.ascAuth__form {
  display: grid;
  gap: 18px;
}

.ascAuth__field label {
  display: block;
  margin-bottom: 8px;
  color: #304254;
  font-size: 13px;
  font-weight: 800;
}

.ascAuth__field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(214,224,233,.98);
  background: rgba(255,255,255,.95);
  color: #1a2734;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ascAuth__field input:focus {
  outline: none;
  border-color: #c8d9e8;
  box-shadow: 0 0 0 4px rgba(191, 212, 231, .18);
}

.ascAuth__field input::placeholder {
  color: #95a4b3;
}

.ascAuth__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ascAuth__check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #546577;
  font-size: 13px;
  font-weight: 700;
}

.ascAuth__check input {
  width: 16px;
  height: 16px;
  accent-color: #bdd2e4;
}

.ascAuth__textLink {
  color: #3f678c;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.ascAuth__textLink:hover {
  text-decoration: underline;
}

.ascAuth__actions {
  display: grid;
  gap: 12px;
}

.ascAuth__btn {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(210,221,231,.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  padding: 0 18px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  cursor: pointer;
}

.ascAuth__btn:hover {
  transform: translateY(-1px);
}

.ascAuth__btn--primary {
  background: linear-gradient(180deg, #dce9f4 0%, #ccdeeb 100%);
  color: #152433;
  box-shadow: 0 14px 28px rgba(34, 62, 89, .08);
}

.ascAuth__btn--ghost {
  background: rgba(255,255,255,.9);
  color: #33485d;
}

@media (max-width: 1080px) {
  .ascAuth {
    padding: 22px;
  }

  .ascAuth__shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ascAuth__brand {
    padding: 30px;
  }

  .ascAuth__panel {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .ascAuth {
    padding: 14px;
  }

  .ascAuth__brand,
  .ascAuth__panel {
    border-radius: 22px;
  }

  .ascAuth__brand {
    padding: 22px;
  }

  .ascAuth__panel {
    padding: 20px;
  }

  .ascAuth__panelTop {
    flex-direction: column;
    align-items: stretch;
  }

  .ascAuth__switch {
    width: 100%;
  }

  .ascAuth__switchBtn {
    flex: 1;
  }

  .ascAuth__title {
    font-size: 34px;
  }

  .ascAuth__subtitle {
    font-size: 15px;
  }

  .ascAuth__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ascAuth__actions {
    grid-template-columns: 1fr;
  }
}
