/* === LOC: AUTH-MODAL === */
.login-modal-overlay {
  align-items: center;
  background: rgba(7, 20, 43, 0.52);
  backdrop-filter: blur(3px);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.2s ease;
  z-index: 2000;
}

.login-modal-overlay[hidden] {
  display: none;
}

.login-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.login-modal {
  background: #fbfdff;
  border-radius: 22px;
  box-shadow: 0 40px 96px rgba(7, 20, 43, 0.34);
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  max-width: 920px;
  overflow: hidden;
  position: relative;
  transform: translateY(12px) scale(0.985);
  transition: transform 0.24s ease;
  width: min(920px, calc(100vw - 36px));
}

.login-modal-overlay.is-open .login-modal {
  transform: translateY(0) scale(1);
}

.login-modal-close {
  align-items: center;
  background: #eef3ff;
  border: 1px solid #cfdbf5;
  border-radius: 999px;
  color: #37507d;
  display: inline-flex;
  font-size: 18px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 34px;
  z-index: 2;
}

.login-modal-close:hover {
  background: #e3ebfb;
}

.login-modal-aside {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.16) 0, rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 82% 92%, rgba(123, 166, 255, 0.34) 0, rgba(123, 166, 255, 0) 44%),
    linear-gradient(102deg, rgba(255, 255, 255, 0) 52%, rgba(220, 234, 255, 0.2) 58%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(160deg, #4678dc 0%, #3d6ccc 48%, #335fb9 100%);
  color: #edf4ff;
  display: flex;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
  overflow: hidden;
  padding: 34px 30px 28px;
  position: relative;
}

.login-modal-aside::before,
.login-modal-aside::after {
  content: "";
  height: 1px;
  left: 30px;
  pointer-events: none;
  position: absolute;
  right: 30px;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(219, 232, 255, 0) 0%,
    rgba(219, 232, 255, 0.36) 20%,
    rgba(219, 232, 255, 0.36) 80%,
    rgba(219, 232, 255, 0) 100%
  );
}

.login-modal-aside::before {
  bottom: 172px;
}

.login-modal-aside::after {
  bottom: 146px;
  opacity: 0.6;
}

.login-modal-aside > :not(.login-aside-decor) {
  position: relative;
  z-index: 1;
}

.login-aside-block h4 {
  color: #f4f8ff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.32;
  margin: 0 0 10px;
  letter-spacing: 0.1px;
}

.login-aside-block {
  border-bottom: 1px solid rgba(212, 228, 255, 0.22);
  padding-bottom: 14px;
}

.login-aside-block:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.login-modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.login-modal-list li {
  align-items: flex-start;
  color: rgba(234, 243, 255, 0.95);
  display: flex;
  font-size: 13.5px;
  gap: 8px;
  line-height: 1.62;
  font-weight: 500;
}

.login-modal-list li + li {
  margin-top: 8px;
}

.aside-item-icon {
  align-items: center;
  border-radius: 50%;
  border: 1px solid rgba(220, 234, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  color: #e5efff;
  display: inline-flex;
  flex-shrink: 0;
  height: 15px;
  justify-content: center;
  margin-top: 4px;
  width: 15px;
  background: rgba(255, 255, 255, 0.09);
}

.aside-item-icon svg {
  width: 9px;
  height: 9px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.login-modal-list li > span:last-child {
  flex: 1;
  min-width: 0;
}

.login-aside-foot {
  color: rgba(223, 236, 255, 0.84);
  font-size: 12px;
  line-height: 1.6;
  margin: 10px 0 0;
  opacity: 0.95;
}

.login-aside-decor {
  bottom: 6px;
  height: 110px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 0;
}
