
.decor-card {
  align-items: center;
  background: linear-gradient(148deg, rgba(147, 183, 250, 0.34) 0%, rgba(118, 159, 236, 0.24) 100%);
  border: 1px solid rgba(211, 227, 255, 0.26);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 10px 24px rgba(8, 25, 67, 0.16);
  display: inline-flex;
  height: 78px;
  justify-content: center;
  position: absolute;
  width: 78px;
}

.decor-card svg {
  width: 36px;
  height: 36px;
  opacity: 0.74;
  stroke: rgba(214, 230, 255, 0.92);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  fill: none;
}

.decor-card-1 {
  bottom: 8px;
  left: 10px;
  transform: rotate(-12deg);
}

.decor-card-2 {
  bottom: 14px;
  left: 102px;
  transform: rotate(-10deg);
}

.decor-card-3 {
  bottom: 16px;
  left: 194px;
  transform: rotate(-9deg);
}

.login-modal-main {
  background: linear-gradient(180deg, #fdfdff 0%, #f8fbff 100%);
  padding: 24px 24px 16px;
}

.login-modal-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-right: 44px;
  position: relative;
}

.login-modal-title-block {
  flex: 1;
  min-width: 0;
}

.login-modal-main h2 {
  color: #1f2b46;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.login-modal-reason {
  color: #60708f;
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0 0;
}

.login-dev-btn {
  align-items: center;
  background: linear-gradient(135deg, #f3f8ff, #e7f0ff);
  border: 1px solid #9dbcf2;
  border-radius: 8px;
  color: #18468f;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  letter-spacing: 0.2px;
  min-width: 122px;
  padding: 0 10px;
  transition: all 0.18s ease;
}

.login-dev-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.login-main-dev-actions {
  position: absolute;
  top: -2px;
  right: 56px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}

.login-main-dev-actions .login-dev-btn {
  height: 36px;
  min-width: 108px;
  padding: 0 10px;
}

.login-dev-btn:hover {
  background: linear-gradient(135deg, #e8f2ff, #dceaff);
  border-color: #7ea5e7;
  box-shadow: 0 8px 18px rgba(43, 100, 196, 0.18);
  color: #123b79;
}

.login-dev-btn:disabled {
  background: #f3f5fa;
  border-color: #d5deed;
  box-shadow: none;
  color: #99a6bc;
  cursor: not-allowed;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0 10px;
}

.login-tab {
  align-items: center;
  background: #eff3fb;
  border: 1px solid #d8e2f2;
  border-radius: 10px;
  color: #4b5c7a;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  height: 38px;
  justify-content: center;
  padding: 0 10px;
  transition: all 0.2s ease;
}

.login-tab:disabled {
  cursor: not-allowed;
}

.login-tab-icon {
  align-items: center;
  background: #f7f9fd;
  border: 1px solid #c4d1e9;
  border-radius: 999px;
  color: #8b9dbd;
  display: inline-flex;
  height: 17px;
  justify-content: center;
  width: 17px;
}

.login-tab-icon svg {
  height: 11px;
  width: 11px;
}

.login-tab-icon .icon-wechat {
  fill: currentColor;
  stroke: none;
}

.login-tab-icon .icon-phone {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.login-tab:not(.is-disabled):hover {
  border-color: #bdd0ee;
  color: #35507e;
}

.login-tab.is-active {
  background: #fff;
  border-color: #4c8eff;
  box-shadow: 0 8px 18px rgba(31, 104, 231, 0.16);
  color: #0d5fd9;
}

.login-tab.is-active .login-tab-icon {
  background: linear-gradient(160deg, #2f8aff, #1d75f5);
  border-color: #1d75f5;
  color: #fff;
}

.login-tab.is-disabled {
  background: #f4f7fd;
  border-color: #dbe3f1;
  box-shadow: none;
  color: #8e9cb4;
  opacity: 0.7;
}

.login-tab.is-disabled .login-tab-icon {
  background: #f1f5fb;
  border-color: #d6dfef;
  color: #a3b1c7;
}

.login-panel-stage {
  display: grid;
  position: relative;
}

.login-panel {
  display: block;
  grid-area: 1 / 1;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.login-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.login-panel-wechat {
  border: 1px solid #e2e9f5;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f6faff);
  padding: 10px 12px;
}

.wechat-login-head {
  color: #111f3a;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  text-align: center;
}

.wechat-qr-wrap {
  display: grid;
  margin-top: 8px;
  justify-items: center;
}

.wechat-qr-art {
  aspect-ratio: 1 / 1;
  border: 1px solid #d8e1f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 10px 22px rgba(23, 54, 105, 0.14);
  height: 172px;
  overflow: hidden;
  position: relative;
  width: 172px;
}
