/* 集梦影视 · 登录页 */

.jm-lgn {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 60px;
}

.jm-lgn-box {
  display: grid;
  grid-template-columns: 380px 1fr;
  max-width: 900px;
  width: 100%;
  background: linear-gradient(165deg, #16233f, #0d1526);
  border: 1px solid #24314f;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
}

/* ══════ 左侧品牌区 ══════ */
.jm-lgn-side {
  padding: 44px 36px;
  background: linear-gradient(160deg, rgba(63,140,255,.18), rgba(167,139,250,.08) 60%, transparent);
  border-right: 1px solid rgba(36,49,79,.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.jm-lgn-side .logo { margin-bottom: 32px; }
.jm-lgn-side .logo .ic { font-size: 40px; display: block; margin-bottom: 14px; }
.jm-lgn-side .logo h1 {
  color: #edf3ff;
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 4px;
  letter-spacing: 1px;
}
.jm-lgn-side .logo p {
  color: #34e0ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  margin: 0;
  opacity: .8;
}
.jm-lgn-side .feats {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jm-lgn-side .feats li {
  color: #8fa4c8;
  font-size: 12.5px;
  line-height: 2.4;
}

/* ══════ 右侧表单 ══════ */
.jm-lgn-main {
  padding: 44px 42px;
}

.jm-lgn-main h2 {
  color: #edf3ff;
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 6px;
}
.jm-lgn-main .sub {
  color: #6b7899;
  font-size: 12.5px;
  margin: 0 0 26px;
}

.jm-lgn-msg {
  padding: 11px 15px;
  border-radius: 9px;
  background: rgba(255,90,90,.13);
  border: 1px solid rgba(255,90,90,.4);
  color: #ff7b7b;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 18px;
}

.jm-lgn-form .field { margin-bottom: 16px; }
.jm-lgn-form label {
  display: block;
  color: #8fa4c8;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
}

.jm-lgn-form .inp {
  width: 100%;
  padding: 12px 16px;
  background: #0b1222;
  border: 2px solid #24314f;
  border-radius: 10px;
  color: #edf3ff;
  font-size: 13.5px;
  font-family: inherit;
  box-sizing: border-box;
  transition: .16s;
}
.jm-lgn-form .inp:focus {
  outline: none;
  border-color: #34e0ff;
  background: #0d1526;
  box-shadow: 0 0 0 4px rgba(52,224,255,.12);
}
.jm-lgn-form .inp::placeholder { color: #4a5878; }

/* 验证码行 */
.jm-lgn-form .captcha-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.jm-lgn-form .captcha-inp {
  flex: 1;
  min-width: 0;
}
.jm-lgn-form .captcha-img {
  flex-shrink: 0;
  height: 46px;
  width: 120px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid #24314f;
  cursor: pointer;
  background: #fff;
  transition: .15s;
}
.jm-lgn-form .captcha-img:hover {
  border-color: #34e0ff;
}

/* 自动登录 */
.jm-lgn-form .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 20px;
}
.jm-lgn-form .cb {
  display: flex !important;
  align-items: center;
  gap: 7px;
  color: #8fa4c8;
  font-size: 12px;
  font-weight: 500;
  margin: 0 !important;
  cursor: pointer;
}
.jm-lgn-form .cb input {
  width: 15px;
  height: 15px;
  accent-color: #34e0ff;
  cursor: pointer;
}

/* 登录按钮 */
.jm-lgn-btn {
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #3f8cff, #34e0ff);
  color: #06121f;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 3px;
  cursor: pointer;
  font-family: inherit;
  transition: .16s;
  box-shadow: 0 6px 22px rgba(63,140,255,.35);
}
.jm-lgn-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(63,140,255,.5);
}
.jm-lgn-btn.loading {
  opacity: .7;
  pointer-events: none;
}

/* 底部链接 */
.jm-lgn-links {
  margin-top: 22px;
  text-align: center;
  color: #6b7899;
  font-size: 12px;
}
.jm-lgn-links a {
  color: #34e0ff !important;
  text-decoration: none !important;
  font-weight: 800;
}
.jm-lgn-links a:hover { text-decoration: underline !important; }
.jm-lgn-links .sep { margin: 0 7px; color: #3d4a68; }

/* 提示 */
.jm-lgn-tip {
  margin-top: 20px;
  padding: 12px 15px;
  background: rgba(52,224,255,.05);
  border: 1px dashed rgba(52,224,255,.22);
  border-radius: 10px;
  color: #7a8bad;
  font-size: 11.5px;
  text-align: center;
  line-height: 1.7;
}
.jm-lgn-tip a {
  color: #34e0ff !important;
  text-decoration: none !important;
  font-weight: 800;
}

/* ══════ 移动端 ══════ */
@media (max-width: 820px) {
  .jm-lgn {
    padding: 20px 12px 40px;
    min-height: auto;
  }
  .jm-lgn-box {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  .jm-lgn-side {
    padding: 28px 24px 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(36,49,79,.7);
    text-align: center;
  }
  .jm-lgn-side .logo { margin-bottom: 18px; }
  .jm-lgn-side .logo .ic { font-size: 32px; margin-bottom: 8px; }
  .jm-lgn-side .logo h1 { font-size: 22px; }
  .jm-lgn-side .feats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
  }
  .jm-lgn-side .feats li { font-size: 11.5px; line-height: 1.8; }

  .jm-lgn-main { padding: 28px 22px 32px; }
  .jm-lgn-main h2 { font-size: 19px; }
  .jm-lgn-form .captcha-img { width: 100px; }
}

/* ══════ 邀请码提示（桌面端）══════ */
.jm-lgn-form .jm-iv-field { margin-bottom: 16px; }

.jm-iv-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(74, 222, 128, .10);
  border: 1px solid rgba(74, 222, 128, .30);
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 0;
}
.jm-iv-badge .ic {
  font-size: 20px;
  line-height: 1;
  flex: 0 0 auto;
}
.jm-iv-badge .tx {
  font-size: 12.5px;
  color: #b9c4dc;
  line-height: 1.6;
  flex: 1 1 auto;
  min-width: 0;
}
.jm-iv-badge .tx b {
  color: #4ade80;
  font-weight: 900;
}

/* 协议链接：原来深蓝压深蓝，几乎不可见 */
.jm-lgn-form .cb a {
  color: #34e0ff !important;
  text-decoration: none !important;
  font-weight: 700;
}
.jm-lgn-form .cb a:hover {
  text-decoration: underline !important;
}
