/**
 * GEO 公共样式
 *
 * 主色调：蓝色（CSS 变量 --geo-primary*）
 * 全站移动优先自适应；弹窗 skin 见 .layui-layer.geo-iframe
 */

/* ---- 主题色 ---- */
:root {
    --geo-primary: #2563eb;
    --geo-primary-dark: #1d4ed8;
    --geo-primary-darker: #1e40af;
    --geo-primary-light: #dbeafe;
    --geo-primary-bg: #eff6ff;
    --geo-primary-rgb: 37, 99, 235;
    --geo-text: #1e293b;
    --geo-text-strong: #0f172a;
    --geo-text-secondary: #64748b;
    --geo-border: #e2e8f0;
    --geo-radius: 5px;
    --body-bg: #f8fafc;
}

/* ---- Layui 表单主题色覆盖（覆盖默认绿色焦点） ---- */
.layui-input:focus,
.layui-textarea:focus {
    border-color: var(--geo-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--geo-primary-rgb), 0.12);
}

.layui-form-select .layui-input:focus,
.layui-form-selected .layui-input {
    border-color: var(--geo-primary) !important;
}

.layui-form-select dl dd.layui-this {
    background-color: var(--geo-primary);
    color: #Fff;
}

.layui-form-radio:hover > *,
.layui-form-radioed,
.layui-form-radioed > i,
.layui-form-radioed:hover > * {
    color: var(--geo-primary);
}

.layui-form-radioed > i,
.layui-form-onswitch {
    border-color: var(--geo-primary) !important;
}

.layui-form-onswitch {
    background-color: var(--geo-primary) !important;
}

.layui-form-checked[lay-skin="primary"] i {
    border-color: var(--geo-primary) !important;
    background-color: var(--geo-primary) !important;
}

.layui-form-checkbox[lay-skin="primary"]:hover i {
    border-color: var(--geo-primary);
}

.layui-form-checked span,
.layui-form-checked:hover span {
    background-color: var(--geo-primary);
}

/* Layui 表格选中行：去掉默认绿色底，保持无色 */
.layui-table-checked,
.layui-table-checked.layui-table-click,
.layui-table-checked.layui-table-hover,
.layui-table[lay-even] tbody tr:nth-child(even).layui-table-checked {
    background-color: transparent !important;
}

/* Layui 表单：label 独占一行（标签在上，控件在下） */
.layui-form-item .layui-form-label {
    float: none;
    display: block;
    width: auto;
    padding: 0 0 8px;
    text-align: left;
    line-height: 1.4;
}

.layui-form-item .layui-input-block {
    margin-left: 0;
}

.layui-form-item .layui-input-inline {
    margin-left: 0;
}

/* ---- 通用 ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--geo-text);
    line-height: 1.6;
    background-color: var(--body-bg);
}

.geo-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.geo-pjax-container {
    min-height: 240px;
}

/* ---- 顶栏 ---- */
.geo-header,
.geo-user-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    position: sticky;
    top: 0;
    z-index: 100;
}

.geo-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 60px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.geo-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--geo-primary);
    text-decoration: none;
    white-space: nowrap;
}

.geo-logo--image {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.geo-logo--image img {
    display: block;
    max-width: 220px;
    max-height: 34px;
    width: auto;
    height: auto;
}

.geo-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.geo-nav-btn,
.geo-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--geo-text-secondary);
    text-decoration: none;
    border: 1px solid var(--geo-border);
    background: #fff;
    transition: all 0.2s;
}

.geo-nav-btn:hover,
.geo-nav-link:hover {
    color: var(--geo-primary);
    border-color: var(--geo-primary-light);
    background: var(--geo-primary-bg);
}

.geo-nav-btn-primary {
    color: #fff;
    background: var(--geo-primary);
    border-color: var(--geo-primary);
    box-shadow: 0 2px 10px rgba(var(--geo-primary-rgb), 0.28);
}

.geo-nav-btn-primary:hover {
    color: #fff;
    background: var(--geo-primary-dark);
    border-color: var(--geo-primary-dark);
}

/* ---- 按钮 ---- */
.geo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--geo-radius);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.geo-btn-primary {
    color: #fff;
    background: var(--geo-primary);
    box-shadow: 0 4px 14px rgba(var(--geo-primary-rgb), 0.35);
}

.geo-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(var(--geo-primary-rgb), 0.4);
    color: #fff;
}

.geo-btn-outline {
    color: var(--geo-primary);
    background: #fff;
    border: 1px solid var(--geo-primary);
}

.geo-btn-outline:hover {
    color: #fff;
    background: var(--geo-primary);
    box-shadow: 0 4px 14px rgba(var(--geo-primary-rgb), 0.3);
}

.geo-btn-block {
    height: 44px;
    line-height: 44px;
    font-size: 15px;
}

/* ---- 前台首页 ---- */
.geo-home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.geo-home .geo-pjax-container {
    flex: 1;
}

.geo-hero {
    position: relative;
    padding: 72px 0 0;
    text-align: center;
    background:
        radial-gradient(52% 60% at 80% 4%, rgba(99, 102, 241, 0.16) 0%, transparent 62%),
        radial-gradient(60% 65% at 10% 2%, rgba(56, 189, 248, 0.16) 0%, transparent 62%),
        linear-gradient(180deg, #eff6ff 0%, #f2f7ff 58%, #f8fafc 100%);
}

/* Hero 背景层（裁剪装饰物，不影响下方悬浮预览图） */
.geo-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Hero 装饰光斑 */
.geo-hero-decor {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}

.geo-hero-decor--1 {
    width: 460px;
    height: 460px;
    top: -160px;
    left: -120px;
    background: rgba(96, 165, 250, 0.4);
}

.geo-hero-decor--2 {
    width: 400px;
    height: 400px;
    top: -120px;
    right: -140px;
    background: rgba(99, 102, 241, 0.3);
}

/* Hero 顶部点阵 */
.geo-hero-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 320px;
    background-image: radial-gradient(rgba(37, 99, 235, 0.16) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}

.geo-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.geo-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 22px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--geo-primary-dark);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--geo-primary-light);
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
}

.geo-hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--geo-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.geo-hero-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 20px;
    font-size: clamp(30px, 6vw, 52px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--geo-text-strong);
}

.geo-hero-title-accent {
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #2563eb 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 0.6em;
    font-weight: 700;
    letter-spacing: 0.02em;
    animation: geo-title-shine 7s linear infinite;
}

@keyframes geo-title-shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.geo-hero-desc {
    margin: 0 auto 34px;
    max-width: 620px;
    font-size: clamp(15px, 3vw, 17px);
    line-height: 1.8;
    color: var(--geo-text-secondary);
}

.geo-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.geo-hero-actions .geo-btn {
    padding: 14px 32px;
    font-size: 15px;
    border-radius: 10px;
}

.geo-hero-actions .geo-btn-outline {
    box-shadow: none;
}

/* ---- 前台首页：控制台预览图 ---- */
.geo-hero-preview {
    position: relative;
    z-index: 1;
    max-width: 940px;
    margin: 56px auto -68px;
    padding: 0 16px;
}

.geo-preview {
    overflow: hidden;
    text-align: left;
    background: #fff;
    border: 1px solid var(--geo-border);
    border-radius: 16px;
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.06),
        0 28px 70px rgba(15, 23, 42, 0.16);
}

.geo-preview-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--geo-border);
    background: #f8fafc;
}

.geo-preview-bar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.geo-preview-bar-dot--r { background: #f87171; }
.geo-preview-bar-dot--y { background: #fbbf24; }
.geo-preview-bar-dot--g { background: #34d399; }

.geo-preview-bar-url {
    margin-left: 8px;
    padding: 3px 12px;
    font-size: 12px;
    color: var(--geo-text-secondary);
    background: #fff;
    border: 1px solid var(--geo-border);
    border-radius: 999px;
}

.geo-preview-body {
    display: flex;
    min-height: 300px;
    background: #fff;
}

.geo-preview-side {
    width: 168px;
    flex-shrink: 0;
    padding: 18px 14px;
    border-right: 1px solid var(--geo-border);
    background: #f8fafc;
}

.geo-preview-side-logo {
    width: 24px;
    height: 24px;
    margin: 0 0 18px;
    border-radius: 7px;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
}

.geo-preview-side-item {
    height: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    background: #e2e8f0;
}

.geo-preview-side-item--on {
    height: 16px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0.08) 100%);
}

.geo-preview-main {
    flex: 1;
    min-width: 0;
    padding: 20px 22px;
}

.geo-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.geo-preview-head-title {
    width: 120px;
    height: 14px;
    border-radius: 7px;
    background: #e2e8f0;
}

.geo-preview-head-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    opacity: 0.85;
}

.geo-preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.geo-preview-stat {
    padding: 14px 16px;
    border: 1px solid var(--geo-border);
    border-radius: 12px;
    background: #f8fafc;
}

.geo-preview-stat-label {
    margin-bottom: 5px;
    font-size: 12px;
    color: var(--geo-text-secondary);
}

.geo-preview-stat-value {
    font-size: 21px;
    font-weight: 700;
    color: var(--geo-text);
    letter-spacing: -0.01em;
}

.geo-preview-stat-value--accent {
    color: var(--geo-primary);
}

.geo-preview-chart {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 140px;
    margin-bottom: 14px;
    padding: 14px 14px 12px;
    border: 1px solid var(--geo-border);
    border-radius: 12px;
    background: #f8fafc;
}

.geo-preview-chart-title {
    font-size: 12px;
    color: var(--geo-text-secondary);
}

.geo-preview-chart-bars {
    display: flex;
    align-items: flex-end;
    flex: 1;
    gap: 10px;
}

.geo-preview-chart-bar {
    flex: 1;
    min-width: 8px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
    opacity: 0.9;
}

.geo-preview-chart-bar--h1 { height: 42%; }
.geo-preview-chart-bar--h2 { height: 66%; }
.geo-preview-chart-bar--h3 { height: 52%; }
.geo-preview-chart-bar--h4 { height: 82%; }
.geo-preview-chart-bar--h5 { height: 60%; }
.geo-preview-chart-bar--h6 { height: 90%; }
.geo-preview-chart-bar--h7 { height: 72%; }

.geo-preview-row {
    height: 10px;
    margin-bottom: 8px;
    border-radius: 5px;
    background: #eef2f7;
}

.geo-preview-row--w70 { width: 70%; }
.geo-preview-row--w45 { width: 45%; }
.geo-preview-row--w55 { width: 55%; }

/* ---- 前台首页：登录入口 ---- */
.geo-features {
    padding: 104px 0 40px;
}

.geo-section-head {
    text-align: center;
    margin-bottom: 36px;
}

.geo-section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 700;
    color: var(--geo-text);
}

/* 版块标题下方的小装饰线 */
.geo-section-head h2::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
}

.geo-section-head p {
    margin: 0;
    font-size: 15px;
    color: var(--geo-text-secondary);
}

.geo-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 1000px;
    margin: 0 auto;
}

.geo-feature-card {
    position: relative;
    padding: 34px 30px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--geo-border);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.geo-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--geo-primary-light);
    box-shadow: 0 20px 44px rgba(var(--geo-primary-rgb), 0.12);
}

.geo-feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 24px;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.geo-feature-card:hover .geo-feature-icon {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.32);
}

.geo-feature-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--geo-text);
}

.geo-feature-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--geo-text-secondary);
}

/* ---- 前台首页：创作流程 ---- */
.geo-flow {
    padding: 40px 0 48px;
}

.geo-flow-steps {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.geo-flow-step {
    position: relative;
    padding: 0 16px;
    text-align: center;
}

.geo-flow-step-icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 26px;
    color: var(--geo-primary);
    background: #fff;
    border: 2px solid var(--geo-primary-light);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.geo-flow-step h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--geo-text);
}

.geo-flow-step p {
    margin: 0 auto;
    max-width: 220px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--geo-text-secondary);
}

/* ---- 前台首页：代理合作 ---- */
.geo-agent {
    padding: 8px 0 64px;
}

.geo-agent-panel {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 44px;
    background: linear-gradient(120deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid var(--geo-primary-light);
    border-radius: 20px;
}

.geo-agent-text h2 {
    margin: 0 0 12px;
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 700;
    color: var(--geo-text);
}

.geo-agent-text > p {
    margin: 0 0 16px;
    max-width: 520px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--geo-text-secondary);
}

.geo-agent-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
}

.geo-agent-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--geo-text);
}

.geo-agent-points li i {
    font-size: 16px;
    color: var(--geo-primary);
}

.geo-agent-actions {
    flex-shrink: 0;
    text-align: center;
}

.geo-agent-actions .geo-btn {
    padding: 14px 36px;
    font-size: 15px;
    border-radius: 10px;
}

.geo-agent-note {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--geo-text-secondary);
}

/* ---- 前台首页：CTA 引导横幅 ---- */
.geo-cta {
    padding: 40px 0 72px;
}

.geo-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 32px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 44px;
    background: linear-gradient(120deg, #1d4ed8 0%, #3b82f6 100%);
    border-radius: 20px;
    box-shadow: 0 20px 44px rgba(37, 99, 235, 0.28);
    color: #fff;
}

.geo-cta-text h2 {
    margin: 0 0 8px;
    font-size: clamp(20px, 4vw, 26px);
    font-weight: 700;
    color: #fff;
}

.geo-cta-text p {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
}

.geo-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.geo-btn-cta {
    padding: 13px 28px;
    font-size: 15px;
    border-radius: 10px;
    color: var(--geo-primary);
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.geo-btn-cta:hover {
    color: var(--geo-primary-dark);
    background: #f1f5f9;
}

.geo-btn-cta-outline {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: none;
}

.geo-btn-cta-outline:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

/* ---- 页脚 ---- */
.geo-footer {
    background: #fff;
    border-top: 1px solid var(--geo-border);
    padding: 40px 0 0;
}

.geo-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 56px;
    justify-content: space-between;
    padding-bottom: 32px;
}

.geo-footer-brand {
    max-width: 320px;
}

.geo-footer-logo {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--geo-primary);
}

.geo-footer-logo img {
    display: block;
    max-width: 200px;
    max-height: 30px;
    width: auto;
    height: auto;
}

.geo-footer-brand p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #94a3b8;
}

.geo-footer-col h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--geo-text);
}

.geo-footer-col a {
    display: block;
    padding: 5px 0;
    font-size: 13px;
    color: var(--geo-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.geo-footer-col a:hover {
    color: var(--geo-primary);
}

.geo-footer-copy {
    padding: 16px 0;
    border-top: 1px solid var(--geo-border);
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

/* ---- 登录页 ---- */
.geo-login {
    min-height: 100vh;
}

.geo-login-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px 16px;
}

.geo-login-box {
    width: 100%;
    max-width: 400px;
    padding: 28px 24px;
    background: #fff;
    border-radius: var(--geo-radius);
    box-shadow: 0 8px 30px rgba(var(--geo-primary-rgb), 0.08);
    border: 1px solid var(--geo-border);
}

.geo-login-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--geo-text-secondary);
    text-decoration: none;
}

.geo-login-back:hover {
    color: var(--geo-primary);
}

.geo-login-box h2 {
    text-align: center;
    margin: 0 0 6px;
    font-size: 22px;
    color: var(--geo-text);
}

.geo-login-subtitle {
    text-align: center;
    margin: 0 0 24px;
    font-size: 13px;
    color: var(--geo-text-secondary);
}

/* iframe 弹窗内页 */
.geo-iframe-page {
    background: #fff;
    min-height: auto !important;
    /* 隐藏 iframe 内滚动条（高度由父页面 JS 自适应 / 面板内滚动） */
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.geo-iframe-page::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.geo-iframe-wrap {
    padding: 8px 28px 28px;
}

/* 后台 iframe 表单面板：上内容滚动、下底栏固定 */
html.geo-iframe-html {
    height: 100%;
    overflow: hidden;
}

html.geo-iframe-html body.geo-iframe-page--panel {
    height: 100%;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: rgb(240, 242, 245);
}

.geo-iframe-wrap--panel {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: hidden;
    background: rgb(240, 242, 245);
}

/* 表单即面板：两行网格 —— 内容 / 底栏 */
.geo-iframe-panel {
    box-sizing: border-box;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: rgb(240, 242, 245);
}

.geo-iframe-panel__body {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 15px;
    background: rgb(240, 242, 245);
    -webkit-overflow-scrolling: touch;
}

.geo-iframe-panel__body::-webkit-scrollbar {
    width: 4px;
}

.geo-iframe-panel__body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 4px;
}

/* 灰底上的白色表单卡片（参考后台弹窗稿） */
.geo-iframe-panel__card {
    box-sizing: border-box;
    background: #fff;
    border-radius: var(--geo-radius);
    padding: 15px 20px;
}

.geo-iframe-panel__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 10px 20px;
    border-top: 1px solid var(--geo-boder);
    background: #fff;
}

.geo-iframe-btn {
    flex: 0 0 auto;
    height: 32px;
    line-height: 32px;
    padding: 0 12px !important;
    margin: 0 !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.geo-iframe-btn .fa {
    margin-right: 6px;
    font-size: 12px;
}

.geo-iframe-btn--ghost {
    background: #f1f5f9 !important;
    border-color: #f1f5f9 !important;
    color: #334155 !important;
}

.geo-iframe-btn--ghost:hover {
    background: #e2e8f0 !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}

.geo-iframe-btn--primary {
    background: var(--geo-primary) !important;
    border-color: var(--geo-primary) !important;
    color: #fff !important;
}

.geo-iframe-btn--primary:hover {
    background: var(--geo-primary-dark) !important;
    border-color: var(--geo-primary-dark) !important;
}

.geo-login-box-embed {
    max-width: none;
    padding: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
}

/* 登录弹窗在 iframe panel 布局下补回内边距（登录路由不加载页面专属 CSS，需随 common 引入） */
.geo-iframe-wrap--panel > .geo-login-box-embed {
    box-sizing: border-box;
    width: 100%;
    padding: 24px 28px 28px;
    background: #fff;
}

.geo-login-embed-head {
    text-align: center;
    margin-bottom: 8px;
}

.geo-login-embed-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-size: 28px;
    color: var(--geo-primary);
    background: var(--geo-primary-bg);
    border-radius: 50%;
    border: 2px solid var(--geo-primary-light);
}

.geo-login-box-embed .geo-login-subtitle {
    margin: 0 0 24px;
    text-align: center;
    font-size: 14px;
    color: var(--geo-text-secondary);
    line-height: 1.5;
}

/* 登录表单 */
.geo-login-field {
    position: relative;
}

.geo-login-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    font-size: 15px;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s;
}

.geo-login-field-input {
    height: 48px;
    line-height: 48px;
    padding-left: 42px;
    border-radius: var(--geo-radius);
    border: 1px solid var(--geo-border);
    background: var(--body-bg);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.geo-login-field-input:focus {
    background: #fff;
}

.geo-login-field:focus-within .geo-login-field-icon {
    color: var(--geo-primary);
}

/* layui 密码眼睛图标默认按 38px 输入框排版，这里输入框 48px，需同步行高居中 */
.geo-login-field .layui-input-affix {
    line-height: 48px;
}

.geo-login-submit-item {
    margin-top: 25px;
    margin-bottom: 0;
}

.geo-login-submit-btn {
    height: 48px;
    line-height: 48px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--geo-radius);
    background: var(--geo-primary) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(var(--geo-primary-rgb), 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.geo-login-submit-btn:hover {
    background: var(--geo-primary-dark) !important;
    box-shadow: 0 6px 18px rgba(var(--geo-primary-rgb), 0.38);
}

/* Ajax 表单提交中 */
.geo-form-submitting [lay-submit],
.geo-form-submitting [type=submit] {
    cursor: not-allowed;
    opacity: 0.88;
}

/* ---- Layui iframe 公共弹窗 skin：geo-iframe ---- */
.layui-layer.geo-iframe {
    border: 1px solid var(--geo-border);
    border-radius: var(--geo-radius);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(var(--geo-primary-rgb), 0.04),
        0 24px 48px rgba(15, 23, 42, 0.12),
        0 8px 16px rgba(var(--geo-primary-rgb), 0.06);
}

.layui-layer.geo-iframe .layui-layer-title {
    height: 54px;
    line-height: 54px;
    padding: 0 110px 0 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--geo-text);
    background: #fff;
    border-bottom: 1px solid var(--geo-border);
}

.layui-layer.geo-iframe .layui-layer-setwin {
    top: 13px;
    right: 12px;
}

.layui-layer.geo-iframe .layui-layer-setwin span {
    margin-left: 4px;
}

/* 关闭按钮：自定义样式 */
.layui-layer.geo-iframe .layui-layer-setwin .layui-layer-close {
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: var(--geo-radius);
    background-color: #f1f5f9 !important;
    background-image: none !important;
    color: #64748b !important;
    font-size: 16px;
    transition: background-color 0.2s, color 0.2s, transform 0.25s ease;
}

.layui-layer.geo-iframe .layui-layer-setwin .layui-layer-close:hover {
    background-color: #e2e8f0 !important;
    color: var(--geo-text) !important;
    opacity: 1;
    transform: rotate(90deg);
}

/* 最小化 / 最大化：用纯 CSS 画图标，避免被 skin 样式冲掉 */
.layui-layer.geo-iframe .layui-layer-setwin .layui-layer-min,
.layui-layer.geo-iframe .layui-layer-setwin .layui-layer-max {
    position: relative;
    width: 30px;
    height: 30px;
    margin-top: 0;
    border-radius: var(--geo-radius);
    background-color: #f1f5f9 !important;
    background-image: none !important;
}

.layui-layer.geo-iframe .layui-layer-setwin .layui-layer-min cite {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    margin: 0;
    background: #64748b;
    transform: translate(-50%, -50%);
    display: block !important;
}

.layui-layer.geo-iframe .layui-layer-setwin .layui-layer-max::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 11px;
    height: 11px;
    margin: -6px 0 0 -6px;
    border: 1.5px solid #64748b;
    box-sizing: border-box;
    border-radius: 1px;
}

.layui-layer.geo-iframe .layui-layer-setwin .layui-layer-max:after {
    display: none !important;
}

.layui-layer.geo-iframe .layui-layer-setwin .layui-layer-min:hover,
.layui-layer.geo-iframe .layui-layer-setwin .layui-layer-max:hover {
    background-color: #e2e8f0 !important;
    opacity: 1;
}

.layui-layer.geo-iframe .layui-layer-setwin .layui-layer-min:hover cite,
.layui-layer.geo-iframe .layui-layer-setwin .layui-layer-max:hover::before {
    border-color: var(--geo-text);
    background: var(--geo-text);
}

.layui-layer.geo-iframe .layui-layer-content {
    overflow: hidden;
    background: rgb(240, 242, 245);
}

/* 前台站点维护提示弹窗（独立视觉，不可关闭） */
.layui-layer.geo-maintenance-layer {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.layui-layer.geo-maintenance-layer .layui-layer-content {
    overflow: visible;
    background: transparent;
    padding: 0 !important;
}

.layui-layer.geo-maintenance-layer .layui-layer-btn,
.layui-layer.geo-maintenance-layer .layui-layer-setwin,
.layui-layer.geo-maintenance-layer .layui-layer-title {
    display: none !important;
}

.geo-mtn {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background:
        radial-gradient(120% 80% at 10% -10%, rgba(37, 99, 235, 0.18), transparent 55%),
        radial-gradient(90% 70% at 100% 0%, rgba(14, 165, 233, 0.12), transparent 50%),
        linear-gradient(165deg, #0f172a 0%, #1e293b 48%, #0f172a 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 24px 48px rgba(15, 23, 42, 0.45);
    color: #e2e8f0;
    text-align: center;
}

.geo-mtn__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 132px;
    margin-bottom: 4px;
}

.geo-mtn__ring {
    position: absolute;
    width: 88px;
    height: 88px;
    border: 1px solid rgba(147, 197, 253, 0.35);
    border-radius: 50%;
    animation: geo-mtn-pulse 2.4s ease-out infinite;
}

.geo-mtn__ring--delay {
    width: 112px;
    height: 112px;
    border-color: rgba(125, 211, 252, 0.2);
    animation-delay: 0.7s;
}

.geo-mtn__icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    line-height: 64px;
    border-radius: 18px;
    background: linear-gradient(145deg, #3b82f6, #1d4ed8);
    box-shadow:
        0 10px 24px rgba(37, 99, 235, 0.45),
        0 0 0 6px rgba(37, 99, 235, 0.16);
    color: #fff;
    font-size: 26px;
    transform: rotate(-18deg);
}

.geo-mtn__main {
    padding: 0 28px 32px;
}

.geo-mtn__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 26px;
    padding: 0 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(125, 211, 252, 0.28);
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.geo-mtn__badge > i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.55);
    animation: geo-mtn-dot 1.6s ease-out infinite;
}

.geo-mtn__title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #f8fafc;
}

.geo-mtn__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: #94a3b8;
}

@keyframes geo-mtn-pulse {
    0% {
        transform: scale(0.86);
        opacity: 0.85;
    }
    70% {
        transform: scale(1.12);
        opacity: 0;
    }
    100% {
        transform: scale(1.12);
        opacity: 0;
    }
}

@keyframes geo-mtn-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.55);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(56, 189, 248, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
    }
}

@media (max-width: 480px) {
    .geo-mtn__visual {
        height: 118px;
    }

    .geo-mtn__main {
        padding: 0 20px 26px;
    }

    .geo-mtn__title {
        font-size: 20px;
    }
}

/*
 * 固定高度弹窗（后台表单）：
 * layer 本身有 area 高度 → 用 flex 把剩余空间给 content → iframe 铺满 content
 * 不要把 iframe 绝对定位后依赖 content 高度（Layui 高度写在 iframe 上，一脱流 content 就塌了）
 */
.layui-layer.geo-iframe.geo-iframe--fixed {
    display: flex !important;
    flex-direction: column;
}

.layui-layer.geo-iframe.geo-iframe--fixed > .layui-layer-title {
    flex: 0 0 auto;
}

.layui-layer.geo-iframe.geo-iframe--fixed > .layui-layer-content {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.layui-layer.geo-iframe.geo-iframe--fixed iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block;
}

.layui-layer.geo-iframe iframe {
    display: block;
    width: 100%;
    border: none;
}

/* iframe 加载完成后再铺底色；加载中保留 Layui .layui-layer-load 的 loading 图标 */
.layui-layer.geo-iframe iframe:not(.layui-layer-load) {
    background: rgb(240, 242, 245);
}

/* ---- Layui 二次确认 skin：geo-confirm ---- */
.layui-layer.geo-confirm {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff !important;
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.04),
        0 24px 48px rgba(15, 23, 42, 0.14);
}

.layui-layer.geo-confirm .layui-layer-title,
.layui-layer.geo-confirm .layui-layer-setwin {
    display: none !important;
}

.layui-layer.geo-confirm .layui-layer-content {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    background: #fff !important;
    padding: 0 !important;
}

.geo-confirm {
    padding: 28px 24px 8px;
    text-align: center;
}

.geo-confirm__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.geo-confirm__icon--warn {
    background: linear-gradient(145deg, #fef3c7, #fde68a);
    color: #d97706;
}

.geo-confirm__icon--danger {
    background: linear-gradient(145deg, #fecaca, #fca5a5);
    color: #dc2626;
}

.geo-confirm__icon--info {
    background: linear-gradient(145deg, #dbeafe, #bfdbfe);
    color: #2563eb;
}

.geo-confirm__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
}

.geo-confirm__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
}

.layui-layer.geo-confirm .layui-layer-btn {
    padding: 12px 18px 18px;
    border-top: 1px solid #f1f5f9;
    background: #fff;
    text-align: center;
}

.layui-layer.geo-confirm .layui-layer-btn a {
    min-width: 108px;
    height: 38px;
    line-height: 38px;
    padding: 0 18px;
    margin: 0 6px;
    border-radius: var(--geo-radius, 5px);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.layui-layer.geo-confirm .layui-layer-btn .layui-layer-btn0 {
    background: var(--geo-primary, #2563eb);
    border-color: var(--geo-primary, #2563eb);
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
}

.layui-layer.geo-confirm .layui-layer-btn .layui-layer-btn0:hover {
    background: var(--geo-primary-dark, #1d4ed8);
    border-color: var(--geo-primary-dark, #1d4ed8);
}

.layui-layer.geo-confirm .layui-layer-btn .layui-layer-btn1 {
    background: #fff;
    border-color: #e2e8f0;
    color: #475569;
}

.layui-layer.geo-confirm .layui-layer-btn .layui-layer-btn1:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

.layui-layer.geo-confirm.geo-confirm--danger .layui-layer-btn .layui-layer-btn0 {
    background: #ef4444;
    border-color: #ef4444;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.24);
}

.layui-layer.geo-confirm.geo-confirm--danger .layui-layer-btn .layui-layer-btn0:hover {
    background: #dc2626;
    border-color: #dc2626;
}

/* 遮罩层微调 */
.layui-layer-shade {
    backdrop-filter: blur(2px);
}

/* 小屏登录表单：标签置顶 */
@media (max-width: 479px) {
    .geo-login-form:not(.geo-login-form-embed) .layui-form-label {
        float: none;
        display: block;
        width: 100%;
        text-align: left;
        padding: 0 0 6px;
    }

    .geo-login-form:not(.geo-login-form-embed) .layui-input-block {
        margin-left: 0;
    }


}

/* ---- 控制台（旧顶栏卡片，保留兼容；新壳见 console.css） ---- */
.geo-user {
    min-height: 100vh;
}

.geo-user-main {
    padding: 20px 0 40px;
}

.geo-user-menu {
    position: relative;
}

.geo-user-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--geo-text-secondary);
    background: #fff;
    border: 1px solid var(--geo-border);
    border-radius: var(--geo-radius);
    cursor: pointer;
    transition: border-color 0.2s;
}

.geo-user-menu-btn:hover {
    border-color: var(--geo-primary-light);
}

.geo-user-menu-btn span {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.geo-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 140px;
    background: #fff;
    border: 1px solid var(--geo-border);
    border-radius: var(--geo-radius);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    z-index: 200;
}

.geo-user-dropdown.is-open {
    display: block;
}

.geo-user-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--geo-text-secondary);
    text-decoration: none;
}

.geo-user-dropdown a:hover {
    background: var(--geo-primary-bg);
    color: var(--geo-primary);
}

.geo-user-card {
    background: #fff;
    border-radius: var(--geo-radius);
    border: 1px solid var(--geo-border);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.geo-user-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #3b82f6, var(--geo-primary-dark));
    color: #fff;
}

.geo-user-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.geo-user-card-head h1 {
    margin: 0 0 4px;
    font-size: 20px;
}

.geo-user-card-head p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.geo-user-card-body {
    padding: 24px;
    font-size: 14px;
    color: var(--geo-text-secondary);
}

/* ---- PJAX 加载动画 ---- */
.pjax-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.2s;
    position: relative;
}

.pjax-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--geo-primary), transparent);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
    animation: geo-pjax-bar 1s ease-in-out infinite;
}

@keyframes geo-pjax-bar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* PJAX 页面级 CSS 尚未就绪时，先隐藏容器内容，避免首次进入无样式一闪而过 */
#pjax-container.pjax-css-pending {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* ---- 响应式断点 ---- */
@media (min-width: 640px) {
    .geo-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .geo-flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .geo-hero {
        padding: 96px 16px 0;
    }

    .geo-flow-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }

    /* 四列时在图标之间画虚线连接 */
    .geo-flow-steps::before {
        content: '';
        position: absolute;
        top: 32px;
        left: 12.5%;
        right: 12.5%;
        height: 2px;
        z-index: 0;
        background: repeating-linear-gradient(
            90deg,
            var(--geo-primary-light) 0 8px,
            transparent 8px 16px
        );
    }

    .geo-logo {
        font-size: 22px;
    }
}

@media (min-width: 1200px) {
    .geo-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 479px) {
    .geo-nav-btn span,
    .geo-nav-link span {
        display: none;
    }

    .geo-nav-btn,
    .geo-nav-link {
        padding: 10px 12px;
    }

    .geo-nav {
        gap: 6px;
    }

    .geo-user-menu-btn span:first-of-type {
        max-width: 72px;
    }
}

/* ---- 后台登录页 ---- */
.geo-admin-login {
    min-height: 100vh;
}

.geo-admin-login-scene {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 56px;
}

.geo-admin-login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 920px;
}

.geo-admin-login-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: var(--geo-radius);
    overflow: hidden;
    border: 1px solid var(--geo-border);
    box-shadow: 0 8px 30px rgba(var(--geo-primary-rgb), 0.08);
}

.geo-admin-login-brand {
    position: relative;
    padding: 48px 40px;
    color: #fff;
    background: linear-gradient(160deg, #1d4ed8 0%, #2563eb 40%, #3b82f6 100%);
    overflow: hidden;
}

.geo-admin-login-brand-inner {
    position: relative;
    z-index: 1;
}

.geo-admin-login-brand-shine {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.geo-admin-login-logo {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--geo-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.geo-admin-login-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.geo-admin-login-brand h1 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.geo-admin-login-tagline {
    margin: 0 0 28px;
    font-size: 14px;
    opacity: 0.85;
}

.geo-admin-login-features {
    margin: 0;
    padding: 0;
    list-style: none;
}

.geo-admin-login-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    opacity: 0.92;
}

.geo-admin-login-features li i {
    font-size: 16px;
    color: #bfdbfe;
}

.geo-admin-login-form-panel {
    padding: 44px 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.geo-admin-login-form-head {
    margin-bottom: 28px;
}

.geo-admin-login-form-head h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--geo-text);
}

.geo-admin-login-form-head p {
    margin: 0;
    font-size: 14px;
    color: var(--geo-text-secondary);
}

.geo-admin-login-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--geo-text);
}

.geo-admin-login-form-panel .layui-form-item {
    margin-bottom: 18px;
}

.geo-admin-login-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--geo-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.geo-admin-login-home:hover {
    color: var(--geo-primary);
}

.geo-admin-login-footer {
    margin-top: 20px;
    padding: 14px;
    text-align: center;
    font-size: 12px;
    color: var(--geo-text-secondary);
}

@media (max-width: 767px) {
    .geo-admin-login-card {
        grid-template-columns: 1fr;
    }

    .geo-admin-login-brand {
        padding: 32px 24px;
    }

    .geo-admin-login-brand h1 {
        font-size: 22px;
    }

    .geo-admin-login-features {
        display: none;
    }

    .geo-admin-login-form-panel {
        padding: 32px 24px 28px;
    }

    /* 首页控制台预览图在手机端收起侧栏，缩小悬浮 */
    .geo-preview-side {
        display: none;
    }

    .geo-hero-preview {
        margin: 44px auto -44px;
    }

    .geo-preview-stat {
        padding: 10px 12px;
    }

    .geo-preview-stat-value {
        font-size: 17px;
    }
}

/* ---- 代理商登录页（全宽分栏 + 青绿主题） ---- */
.geo-agent-login {
    --geo-agent-primary: #0d9488;
    --geo-agent-primary-dark: #0f766e;
    --geo-agent-primary-rgb: 13, 148, 136;
    min-height: 100vh;
    background:
        radial-gradient(60% 70% at 12% 8%, rgba(45, 212, 191, 0.2) 0%, transparent 60%),
        radial-gradient(55% 65% at 88% 12%, rgba(13, 148, 136, 0.18) 0%, transparent 60%),
        radial-gradient(50% 60% at 50% 110%, rgba(15, 118, 110, 0.14) 0%, transparent 62%),
        linear-gradient(180deg, #ecfdf5 0%, #f0fdfa 55%, #f8fafc 100%);
}

.geo-agent-scene {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.geo-agent-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
}

.geo-agent-orb--1 {
    width: 420px;
    height: 420px;
    top: -140px;
    left: -120px;
    background: rgba(45, 212, 191, 0.42);
}

.geo-agent-orb--2 {
    width: 360px;
    height: 360px;
    bottom: -120px;
    right: -100px;
    background: rgba(13, 148, 136, 0.32);
}

.geo-agent-orb--3 {
    width: 280px;
    height: 280px;
    top: 40%;
    left: 55%;
    background: rgba(20, 184, 166, 0.28);
}

.geo-agent-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(13, 148, 136, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000 0%, transparent 100%);
    mask-image: radial-gradient(60% 60% at 50% 40%, #000 0%, transparent 100%);
    pointer-events: none;
}

.geo-agent-container {
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
}

.geo-agent-card {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: #fff;
    overflow: hidden;
}

.geo-agent-brand {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 64px;
    color: #134e4a;
    background:
        radial-gradient(70% 70% at 12% 8%, rgba(255, 255, 255, 0.95) 0%, transparent 55%),
        radial-gradient(46% 46% at 92% 96%, rgba(13, 148, 136, 0.08) 0%, transparent 70%),
        linear-gradient(155deg, #f0fdfa 0%, #ecfdf5 52%, #d1fae5 100%);
    overflow: hidden;
}

.geo-agent-brand-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
}

.geo-agent-brand-shine {
    position: absolute;
    top: -12%;
    right: -8%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, transparent 68%);
    pointer-events: none;
}

.geo-agent-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 118, 110, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(90% 90% at 50% 45%, #000 0%, transparent 78%);
    mask-image: radial-gradient(90% 90% at 50% 45%, #000 0%, transparent 78%);
    pointer-events: none;
}

.geo-agent-brand::after {
    content: '';
    position: absolute;
    bottom: -220px;
    left: -180px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(15, 118, 110, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(15, 118, 110, 0.04), 0 0 0 120px rgba(15, 118, 110, 0.02);
    pointer-events: none;
}

.geo-agent-portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 22px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--geo-agent-primary-dark);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.08);
}

.geo-agent-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 30px;
    color: var(--geo-agent-primary);
    background: #ffffff;
    border: 1px solid rgba(13, 148, 136, 0.15);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 118, 110, 0.1);
    overflow: hidden;
}

.geo-agent-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.geo-agent-brand h1 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #134e4a;
}

.geo-agent-tagline {
    margin: 0 0 30px;
    font-size: 14px;
    line-height: 1.7;
    color: #5f7a76;
}

.geo-agent-features {
    margin: 0;
    padding: 0;
    list-style: none;
}

.geo-agent-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
    font-size: 14px;
    color: #3f6661;
}

.geo-agent-features li i {
    font-size: 16px;
    color: var(--geo-agent-primary);
}

.geo-agent-stats {
    display: flex;
    gap: 44px;
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid rgba(15, 118, 110, 0.12);
}

.geo-agent-stat {
    display: flex;
    flex-direction: column;
}

.geo-agent-stat__num {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    color: #134e4a;
    letter-spacing: -0.01em;
}

.geo-agent-stat__num span {
    font-size: 15px;
    font-weight: 700;
    color: var(--geo-agent-primary);
    margin-left: 2px;
}

.geo-agent-stat__label {
    margin-top: 4px;
    font-size: 13px;
    color: #5f7a76;
}

.geo-agent-panel {
    flex: 0 0 795px;
    width: 587px;
    max-width: 100%;
    padding: 72px 150px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--geo-border);
    background: #fff;
}

.geo-agent-form-head {
    margin-bottom: 26px;
}

.geo-agent-form-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--geo-agent-primary);
    background: rgba(13, 148, 136, 0.08);
    border-radius: 4px;
}

.geo-agent-form-head h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 800;
    color: var(--geo-text-strong);
}

.geo-agent-form-head p {
    margin: 0;
    font-size: 14px;
    color: var(--geo-text-secondary);
}

.geo-agent-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--geo-text);
}

.geo-agent-panel .layui-form-item {
    margin-bottom: 18px;
}

.geo-agent-panel .geo-login-field-input:focus {
    border-color: var(--geo-agent-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--geo-agent-primary-rgb), 0.12);
}

.geo-agent-panel .geo-login-field:focus-within .geo-login-field-icon {
    color: var(--geo-agent-primary);
}

.geo-login-submit-btn--agent {
    background: #0d9488 !important;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.geo-login-submit-btn--agent:hover {
    background: #0f766e !important;
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.38);
}

.geo-login-embed-icon--agent {
    color: #0d9488;
    background: rgba(13, 148, 136, 0.1);
}

.geo-agent-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 13px;
    color: var(--geo-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.geo-agent-home:hover {
    color: var(--geo-agent-primary);
}

.geo-agent-footer {
    position: absolute;
    right: 44px;
    bottom: 22px;
    z-index: 2;
    margin-top: 0;
    padding: 0;
    text-align: right;
    font-size: 12px;
    color: var(--geo-text-secondary);
}

@media (max-width: 1023px) and (min-width: 768px) {
    .geo-agent-brand {
        padding: 56px 40px;
    }

    .geo-agent-features,
    .geo-agent-stats {
        display: none;
    }

    .geo-agent-panel {
        flex: 0 0 440px;
        width: 440px;
        padding: 56px 40px 48px;
    }
}

@media (max-width: 767px) {
    .geo-agent-card {
        flex-direction: column;
        min-height: 0;
    }

    .geo-agent-brand {
        flex: 1 1 auto;
        display: block;
        padding: 34px 28px;
    }

    .geo-agent-brand h1 {
        font-size: 22px;
    }

    .geo-agent-portal-badge {
        margin-bottom: 16px;
    }

    .geo-agent-features,
    .geo-agent-stats {
        display: none;
    }

    .geo-agent-panel {
        flex: 1 1 auto;
        width: auto;
        padding: 32px 24px 28px;
        border-left: none;
        border-top: 1px solid var(--geo-border);
    }

    .geo-agent-footer {
        position: static;
        margin: 0;
        padding: 14px;
        text-align: center;
    }
}

/* ---- 前台登录 / 注册独立页（华丽分栏） ---- */
.geo-auth {
    min-height: 100vh;
    background:
        radial-gradient(60% 70% at 12% 8%, rgba(56, 189, 248, 0.22) 0%, transparent 60%),
        radial-gradient(55% 65% at 88% 12%, rgba(99, 102, 241, 0.22) 0%, transparent 60%),
        radial-gradient(50% 60% at 50% 110%, rgba(37, 99, 235, 0.18) 0%, transparent 62%),
        linear-gradient(180deg, #eef4ff 0%, #f6f9ff 55%, #f8fafc 100%);
}

.geo-auth-scene {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 装饰光斑 */
.geo-auth-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
}

.geo-auth-orb--1 {
    width: 420px;
    height: 420px;
    top: -140px;
    left: -120px;
    background: rgba(96, 165, 250, 0.45);
}

.geo-auth-orb--2 {
    width: 360px;
    height: 360px;
    bottom: -120px;
    right: -100px;
    background: rgba(99, 102, 241, 0.35);
}

.geo-auth-orb--3 {
    width: 280px;
    height: 280px;
    top: 40%;
    left: 55%;
    background: rgba(56, 189, 248, 0.3);
}

/* 点阵 */
.geo-auth-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(37, 99, 235, 0.14) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000 0%, transparent 100%);
    mask-image: radial-gradient(60% 60% at 50% 40%, #000 0%, transparent 100%);
    pointer-events: none;
}

.geo-auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
}

.geo-auth-card {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: #fff;
    overflow: hidden;
}

/* 左：品牌展示（白灰质感，自适应剩余宽度） */
.geo-auth-brand {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 64px;
    color: #1f2937;
    background:
        radial-gradient(70% 70% at 12% 8%, rgba(255, 255, 255, 0.95) 0%, transparent 55%),
        radial-gradient(46% 46% at 92% 96%, rgba(37, 99, 235, 0.06) 0%, transparent 70%),
        linear-gradient(155deg, #fafbfc 0%, #f2f4f7 52%, #e9edf3 100%);
    overflow: hidden;
}

.geo-auth-brand-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
}

.geo-auth-brand-shine {
    position: absolute;
    top: -12%;
    right: -8%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 68%);
    pointer-events: none;
}

/* 品牌区背景点阵纹理（居中向四周渐隐，超宽屏下填充留白） */
.geo-auth-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(90% 90% at 50% 45%, #000 0%, transparent 78%);
    mask-image: radial-gradient(90% 90% at 50% 45%, #000 0%, transparent 78%);
    pointer-events: none;
}

/* 品牌区左下角同心圆装饰 */
.geo-auth-brand::after {
    content: '';
    position: absolute;
    bottom: -220px;
    left: -180px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(15, 23, 42, 0.03), 0 0 0 120px rgba(15, 23, 42, 0.015);
    pointer-events: none;
}

.geo-auth-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 30px;
    color: var(--geo-primary);
    background: #ffffff;
    border: 1px solid #e6e9ee;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.geo-auth-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.geo-auth-brand h1 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #0f172a;
}

.geo-auth-tagline {
    margin: 0 0 30px;
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
}

.geo-auth-features {
    margin: 0;
    padding: 0;
    list-style: none;
}

.geo-auth-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
    font-size: 14px;
    color: #475569;
}

.geo-auth-features li i {
    font-size: 16px;
    color: var(--geo-primary);
}

/* 品牌区数据指标 */
.geo-auth-stats {
    display: flex;
    gap: 44px;
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.geo-auth-stat {
    display: flex;
    flex-direction: column;
}

.geo-auth-stat__num {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.geo-auth-stat__num span {
    font-size: 15px;
    font-weight: 700;
    color: var(--geo-primary);
    margin-left: 2px;
}

.geo-auth-stat__label {
    margin-top: 4px;
    font-size: 13px;
    color: #64748b;
}

/* 右：表单面板（固定最大宽度，左品牌区自适应剩余空间） */
.geo-auth-panel {
    flex: 0 0 795px;
    width: 587px;
    max-width: 100%;
    padding: 72px 187px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.geo-auth-form-head {
    margin-bottom: 26px;
}

.geo-auth-form-head h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 800;
    color: var(--geo-text-strong);
}

.geo-auth-form-head p {
    margin: 0;
    font-size: 14px;
    color: var(--geo-text-secondary);
}

.geo-auth-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--geo-text);
}

.geo-auth-panel .layui-form-item {
    margin-bottom: 18px;
}

/* 忘记密码链接（密码框下方右对齐） */
.geo-auth-forgot {
    margin: -12px 0 16px;
    text-align: right;
    font-size: 13px;
    line-height: 1;
}

.geo-auth-forgot a {
    color: var(--geo-text-secondary);
    text-decoration: none;
}

.geo-auth-forgot a:hover {
    color: var(--geo-primary);
}

.geo-auth-switch {
    margin-top: 22px;
    text-align: center;
    font-size: 14px;
    color: var(--geo-text-secondary);
}

.geo-auth-switch a {
    color: var(--geo-primary);
    font-weight: 600;
    text-decoration: none;
}

.geo-auth-switch a:hover {
    color: var(--geo-primary-dark);
}

.geo-auth-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 13px;
    color: var(--geo-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.geo-auth-home:hover {
    color: var(--geo-primary);
}

.geo-auth-footer {
    position: absolute;
    right: 44px;
    bottom: 22px;
    z-index: 2;
    margin-top: 0;
    padding: 0;
    text-align: right;
    font-size: 12px;
    color: var(--geo-text-secondary);
}

/* 注册验证码行 */
.geo-auth-code {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.geo-auth-code .geo-login-field {
    flex: 1 1 auto;
    min-width: 0;
}

.geo-auth-code__btn {
    flex: 0 0 auto;
    min-width: 108px;
    padding: 0 14px;
    border: 1px solid var(--geo-primary);
    border-radius: var(--geo-radius);
    background: #fff;
    color: var(--geo-primary);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.geo-auth-code__btn:hover {
    background: var(--geo-primary-bg);
}

.geo-auth-code__btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.geo-auth-turnstile {
    min-height: 65px;
}

/* 中屏：收窄品牌区留白、隐藏特性列表，避免右面板固定宽度挤占 */
@media (max-width: 1023px) and (min-width: 768px) {
    .geo-auth-brand {
        padding: 56px 40px;
    }

    .geo-auth-features,
    .geo-auth-stats {
        display: none;
    }
}

@media (max-width: 767px) {
    .geo-auth-card {
        flex-direction: column;
        min-height: 0;
    }

    .geo-auth-brand {
        flex: 1 1 auto;
        display: block;
        padding: 34px 28px;
    }

    .geo-auth-brand h1 {
        font-size: 22px;
    }

    .geo-auth-features,
    .geo-auth-stats {
        display: none;
    }

    .geo-auth-panel {
        flex: 1 1 auto;
        width: auto;
        padding: 32px 24px 28px;
    }

    .geo-auth-footer {
        position: static;
        margin: 0;
        padding: 14px;
        text-align: center;
    }
}
