/* ============================================================
   ϵͳ��¼ �� ���󷽹ٷ����
   ���� v10 ������ɫ (#2563EB / #06B6D4)
   ============================================================ */
   
:root {
  --c-primary: #2563EB;
  --c-primary-dark: #1D4ED8;
  --c-primary-light: #3B82F6;
  --c-accent: #06B6D4;
  --c-accent-light: #22D3EE;

  --grad-primary: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --grad-blue-deep: linear-gradient(135deg, #1E3A8A 0%, #0E7490 60%, #155E75 100%);
  --grad-bg: linear-gradient(135deg, #DBEAFE 0%, #E0F2FE 50%, #F0F9FF 100%);
  --grad-deco: linear-gradient(135deg, #BFDBFE 0%, #99F6E4 100%);

  --text: #0F172A;
  --text-2: #475569;
  --text-3: #94A3B8;
  --border: #E2E8F0;
  --border-2: #CBD5E1;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: -apple-system, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  overflow: hidden;
}

/* ============================================================
   ���� �� ǳ������ + ���ͼ���װ��
   ============================================================ */
body {
  background: var(--grad-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* ����װ���� 1������ ��ɫ */
body::before {
  content: "";
  position: absolute;
  top: -180px; left: -180px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, rgba(37,99,235,0.04) 50%, transparent 75%);
  pointer-events: none;
}

/* ����װ���� 2������ ��ɫ */
body::after {
  content: "";
  position: absolute;
  bottom: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.18) 0%, rgba(6,182,212,0.04) 50%, transparent 75%);
  pointer-events: none;
}

/* װ�Σ��������� */
.bg-deco {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

/* ����װ�Σ������� */
.bg-line {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}
.bg-line-1 {
  top: 12%; left: 8%;
  width: 200px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.4), transparent);
  transform: rotate(-22deg);
}
.bg-line-2 {
  bottom: 18%; right: 12%;
  width: 240px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.4), transparent);
  transform: rotate(28deg);
}
.bg-circle-1 {
  top: 18%; right: 18%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: 0 0 16px rgba(37,99,235,0.4);
  opacity: 0.6;
}
.bg-circle-2 {
  bottom: 22%; left: 16%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 12px rgba(6,182,212,0.4);
  opacity: 0.6;
}

/* ============================================================
   ������ �� 1200��600 ˫��Ƭ����
   ============================================================ */
.login-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  min-height: 580px;
  display: grid;
  grid-template-columns: 440px 1fr 320px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(15,23,42,0.18),
    0 10px 30px rgba(37,99,235,0.10),
    0 0 0 1px rgba(255,255,255,0.5) inset;
}

/* ============================================================
   ���Ʒ����
   ============================================================ */
.brand-side {
  position: relative;
  /* background: var(--grad-blue-deep);
  padding: 44px 36px; */
  background: #FFF;
  padding: 0px 0px;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* װ�� �� ���ϵĽ���Բ */
.brand-side::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.35) 0%, transparent 60%);
  pointer-events: none;
}
/* װ�� �� ���� */
.brand-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.brand-logo {
  position: relative; z-index: 2;
  width: 72px; height: 72px;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.brand-logo i {
  font-size: 38px;
  background: linear-gradient(135deg, #67E8F9, #93C5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-title {
  position: relative; z-index: 2;
  margin-top: 28px;
}
.brand-title-line1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.3;
  background: linear-gradient(90deg, #fff 0%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-title-line2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.85);
  margin-top: 6px;
}

.brand-divider {
  position: relative; z-index: 2;
  width: 56px; height: 3px;
  background: var(--grad-primary);
  border-radius: 2px;
  margin-top: 18px;
  box-shadow: 0 0 10px rgba(6,182,212,0.5);
}

.brand-desc {
  position: relative; z-index: 2;
  margin-top: 24px;
  font-size: 13px;
  /* color: rgba(255,255,255,0.7); */
  line-height: 1.8;
  color: #949ead;
  padding: 20px 20px;
}

/* װ�β廭�� �� �� CSS ���δ����ͼ */
.brand-illu {
  position: relative; z-index: 2;
  flex: 1;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.illu-ring {
  position: relative;
  width: 220px; height: 220px;
}
.illu-ring svg {
  width: 100%; height: 100%;
  animation: rotate 30s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.illu-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34,211,238,0.3), rgba(59,130,246,0.3));
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(34,211,238,0.3);
}
.illu-center i {
  font-size: 42px;
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(34,211,238,0.6));
}

/* װ�νڵ� */
.illu-node {
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #67E8F9, #06B6D4);
  box-shadow: 0 0 16px rgba(34,211,238,0.6);
  display: flex; align-items: center; justify-content: center;
}
.illu-node i { color: #fff; font-size: 14px; }
.illu-node.n1 { top: 0; left: 50%; transform: translateX(-50%); }
.illu-node.n2 { top: 50%; right: 0; transform: translateY(-50%); }
.illu-node.n3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.illu-node.n4 { top: 50%; left: 0; transform: translateY(-50%); }
.illu-node.n5 { top: 20%; left: 20%; }
.illu-node.n6 { bottom: 20%; right: 20%; }

.brand-foot {
  position: relative; z-index: 2;
  /* margin-top: 24px;
  padding-top: 18px; */
  margin: 65px 20px 0px 20px;
  padding: 18px 0px 30px 0px;
  /* border-top: 1px solid rgba(255,255,255,0.15); */
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  /* color: rgba(255,255,255,0.6); */
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-foot a {
  /* color: rgba(255,255,255,0.8); */
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.brand-foot a:hover { color: #e2e8f0; }

/* ============================================================
   �м��¼��
   ============================================================ */
.form-side {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
}

.form-head {
  margin-bottom: 28px;
}
.form-head h1 {
  font-size: 24px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.form-head p {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 6px;
}

.form-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.form-tab {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}
.form-tab.active {
  color: var(--c-primary);
  font-weight: 600;
  border-bottom-color: var(--c-primary);
}
.form-tab:hover { color: var(--c-primary); }

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.form-label .ti { font-size: 14px; color: var(--c-primary); }
.form-label .label-cn { font-weight: 600; color: var(--text); }
.form-label .label-en {
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.5px;
  margin-left: auto;
  font-family: "SF Mono", "Consolas", monospace;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  transition: all 0.2s;
}
.input-wrap:hover {
  border-color: var(--border-2);
}
.input-wrap:focus-within {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
}
.input-wrap .ti-prefix {
  padding: 0 12px;
  color: var(--text-3);
  font-size: 16px;
}
.input-wrap:focus-within .ti-prefix {
  color: var(--c-primary);
}
.form-input {
  flex: 1;
  padding: 12px 14px 12px 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
}
.form-input::placeholder {
  color: var(--text-3);
}

.select-wrap {
  position: relative;
}
.select-wrap select {
  width: 100%;
  padding: 12px 36px 12px 38px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.select-wrap select:hover { border-color: var(--border-2); }
.select-wrap select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
}
.select-wrap .ti-prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 16px;
  pointer-events: none;
}
.select-wrap .ti-caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 14px;
  pointer-events: none;
}

/* ��֤���� */
.code-row {
  display: flex;
  gap: 10px;
}
.code-row .input-wrap { flex: 1; }
.code-btn {
  flex-shrink: 0;
  padding: 0 16px;
  background: var(--grad-primary);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(37,99,235,0.2);
  white-space: nowrap;
}
.code-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.code-btn:active { transform: translateY(0); }

/* ��ס���� / �������� */
.form-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 0 18px;
  font-size: 13px;
}
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-2);
  user-select: none;
}
.checkbox input { display: none; }
.checkbox-box {
  width: 16px; height: 16px;
  border: 1.5px solid var(--border-2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background: #fff;
}
.checkbox-box i {
  color: #fff;
  font-size: 11px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s;
}
.checkbox input:checked + .checkbox-box {
  background: var(--c-primary);
  border-color: var(--c-primary);
}
.checkbox input:checked + .checkbox-box i {
  opacity: 1;
  transform: scale(1);
}
.link {
  color: var(--c-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.link:hover { color: var(--c-primary-dark); }

/* ��¼��ť */
.btn-login {
  width: 100%;
  padding: 14px;
  background: var(--grad-primary);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 6px 20px rgba(37,99,235,0.28);
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.btn-login::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}
.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(37,99,235,0.36);
}
.btn-login:hover::before { left: 100%; }
.btn-login:active { transform: translateY(0); }
.btn-login i { font-size: 18px; }

/* �ײ�������¼��ʽ */
.form-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  text-align: center;
}
.form-foot-tip {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 12px;
}
.form-foot-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-2);
}
.social-icon:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37,99,235,0.15);
}
.social-icon i { font-size: 18px; }

/* ============================================================
   �Ҳ�֪ͨ����
   ============================================================ */
.notice-side {
  padding: 28px 24px;
  /* background: linear-gradient(180deg, rgba(37,99,235,0.03) 0%, rgba(6,182,212,0.02) 100%); */
  background: #FFF;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.notice-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.notice-head i {
  font-size: 18px;
  color: var(--c-primary);
}
.notice-head h3 {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}
.notice-head .more {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-3);
  cursor: pointer;
  transition: color 0.2s;
}
.notice-head .more:hover { color: var(--c-primary); }

.notice-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.notice-item {
  padding: 12px 12px 12px 14px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  border-left: 3px solid transparent;
}
.notice-item:hover {
  background: rgba(37,99,235,0.04);
  border-left-color: var(--c-primary);
}
.notice-title {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 4px;
}
.notice-date {
  font-size: 11px;
  color: var(--text-3);
  font-family: "SF Mono", "Consolas", monospace;
}

.notice-foot {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
  text-align: center;
}
.notice-foot a {
  font-size: 12px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}
.notice-foot a:hover { color: var(--c-primary); }

.login-form-error {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    color: #e43737;
    width: 100%;
    margin: 0px 0px 0px 0px;
    font-weight: bold;
    background: #fdeef0 url(../images/tips/warn.png) no-repeat 10px;
    padding-left: 40px;
    border-radius: 2px;
}

/* ============================================================
   ��Ӧʽ
   ============================================================ */
@media (max-width: 1024px) {
  .login-wrap {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .brand-side { display: none; }
  .notice-side { display: none; }
}
@media (max-width: 576px) {
  body { padding: 12px; }
  .form-side { padding: 32px 24px; }
}