/* ========== 全局基础 ========== */

body {
    background-color: #ffffff;
    color: #333333;
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
}

/* 主体容器（Hero 以后） */
.jf-main {
        width: min(1200px, 94%);
    margin: 0 auto;
}

/* 没有 Hero 的页面，主内容往下让出导航高度 */
.jf-main-no-hero {
    padding-top: 80px;
        width: min(1200px, 94%);
    margin: 0 auto;
}

/* 通用容器与区块 */

.jf-container {
    width: min(1280px, 96%);
    margin: 0 auto;
}

.jf-home-section {
    padding: 80px 0;
}

.jf-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.jf-section-header h2 {
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 600;
}

.jf-section-header p {
    color: #666666;
    font-size: 1rem;
    max-width: 680px;
    margin: 0 auto;
}

/* ========== 顶部导航 ========== */

.jf-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.jf-header-inner {
    width: min(1280px, 96%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
}

.jf-header.jf-header-scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Logo */

.jf-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.jf-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1890ff, #096dd9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
}

.jf-logo-text {
    display: flex;
    flex-direction: column;
}

.jf-logo-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.jf-logo-subtitle {
    font-size: 0.75rem;
    color: #8c8c8c;
}

/* 导航菜单 */

.jf-nav {
    margin-left: auto;
    position: relative;
}

.jf-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.jf-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    color: #595959;
    transition: all 0.2s ease;
    line-height: 1.4;
    font-weight: 500;
}

.jf-nav-link:hover {
    background: #f5f5f5;
    color: #1890ff;
}

.jf-nav-link-active {
    background: #1890ff;
    color: #ffffff;
}

/* ========== 状态按钮样式扩展 ========== */

/* 通用轮廓按钮 */
.jf-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #d9d9d9;
    background: transparent;
    color: #595959;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 36px;
}

.jf-btn-outline:hover {
    background: #f5f5f5;
    border-color: #bfbfbf;
    color: #1890ff;
    transform: translateY(-1px);
}

.jf-btn-outline:active {
    transform: translateY(0);
}

.jf-btn-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* 按钮尺寸变体 */
.jf-btn-outline.jf-btn-small {
    padding: 6px 12px;
    font-size: 12px;
    min-height: 30px;
    gap: 6px;
}

.jf-btn-outline.jf-btn-large {
    padding: 12px 24px;
    font-size: 16px;
    min-height: 44px;
    gap: 10px;
}

/* 状态按钮 - 已完成 */
.jf-status-completed {
    background: linear-gradient(135deg, #52c41a, #389e0d);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(82, 196, 26, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    min-height: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jf-status-completed:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
    background: linear-gradient(135deg, #73d13d, #52c41a);
}

.jf-status-completed:active {
    transform: translateY(0);
}

.jf-status-completed .jf-status-icon {
    font-size: 16px;
    color: #ffffff;
}

/* 状态按钮 - 活动中 */
.jf-status-active {
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    min-height: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jf-status-active:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
    background: linear-gradient(135deg, #40a9ff, #1890ff);
}

.jf-status-active:active {
    transform: translateY(0);
}

.jf-status-active .jf-status-icon {
    font-size: 16px;
    color: #ffffff;
    animation: pulse 2s infinite;
}

/* 状态按钮 - 等待中 */
.jf-status-pending {
    background: linear-gradient(135deg, #faad14, #d48806);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(250, 173, 20, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    min-height: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jf-status-pending:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 173, 20, 0.3);
    background: linear-gradient(135deg, #ffc53d, #faad14);
}

.jf-status-pending:active {
    transform: translateY(0);
}

.jf-status-pending .jf-status-icon {
    font-size: 16px;
    color: #ffffff;
    animation: rotate 4s linear infinite;
}

/* 状态按钮 - 已取消 */
.jf-status-cancel {
    background: linear-gradient(135deg, #ff4d4f, #d9363e);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    min-height: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jf-status-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3);
    background: linear-gradient(135deg, #ff7875, #ff4d4f);
}

.jf-status-cancel:active {
    transform: translateY(0);
}

.jf-status-cancel .jf-status-icon {
    font-size: 16px;
    color: #ffffff;
}

/* 状态按钮尺寸变体 */
.jf-status-small {
    padding: 6px 12px;
    font-size: 12px;
    min-height: 30px;
    gap: 6px;
}

.jf-status-large {
    padding: 12px 24px;
    font-size: 16px;
    min-height: 44px;
    gap: 12px;
}

/* 图标样式 */
.jf-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* 动画效果 */
@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 带图标的轮廓按钮变体 */
.jf-btn-outline-success {
    border-color: #b7eb8f;
    color: #52c41a;
}

.jf-btn-outline-success:hover {
    background: #f6ffed;
    border-color: #52c41a;
    color: #389e0d;
}

.jf-btn-outline-primary {
    border-color: #91d5ff;
    color: #1890ff;
}

.jf-btn-outline-primary:hover {
    background: #e6f7ff;
    border-color: #1890ff;
    color: #096dd9;
}

.jf-btn-outline-warning {
    border-color: #ffd591;
    color: #fa8c16;
}

.jf-btn-outline-warning:hover {
    background: #fff7e6;
    border-color: #fa8c16;
    color: #d48806;
}

.jf-btn-outline-danger {
    border-color: #ffccc7;
    color: #ff4d4f;
}

.jf-btn-outline-danger:hover {
    background: #fff2f0;
    border-color: #ff4d4f;
    color: #d9363e;
}

/* 简洁状态标签样式（用于表格中的状态显示） */
.jf-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.jf-status-tag-completed {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.jf-status-tag-active {
    background: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
}

.jf-status-tag-pending {
    background: #fff7e6;
    color: #fa8c16;
    border: 1px solid #ffd591;
}

.jf-status-tag-cancel {
    background: #fff2f0;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
}

/* 状态图标集 */
.jf-status-icon-check::before {
    content: "✓";
    font-weight: bold;
}

.jf-status-icon-play::before {
    content: "▶";
}

.jf-status-icon-clock::before {
    content: "⏳";
}

.jf-status-icon-stop::before {
    content: "⏹";
}

.jf-status-icon-warning::before {
    content: "⚠";
}

.jf-status-icon-error::before {
    content: "✕";
}

/* 使用Font Awesome图标（如果可用） */
.jf-status-icon.fa-check-circle {
    color: inherit;
}

.jf-status-icon.fa-play-circle {
    color: inherit;
}

.jf-status-icon.fa-clock {
    color: inherit;
}

.jf-status-icon.fa-stop-circle {
    color: inherit;
}

.jf-status-icon.fa-exclamation-circle {
    color: inherit;
}

.jf-status-icon.fa-times-circle {
    color: inherit;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .jf-status-completed,
    .jf-status-active,
    .jf-status-pending,
    .jf-status-cancel {
        padding: 8px 16px;
        font-size: 14px;
        min-height: 36px;
        gap: 8px;
    }
    
    .jf-btn-outline {
        padding: 6px 12px;
        font-size: 13px;
        min-height: 34px;
    }
}

@media (max-width: 480px) {
    .jf-status-completed,
    .jf-status-active,
    .jf-status-pending,
    .jf-status-cancel {
        padding: 6px 12px;
        font-size: 12px;
        min-height: 32px;
        gap: 6px;
    }
    
    .jf-status-icon {
        font-size: 14px;
    }
    
    .jf-status-tag {
        padding: 3px 8px;
        font-size: 11px;
    }
}
/* 下拉菜单 */

.jf-nav-item-has-dropdown {
    position: relative;
}

.jf-nav-link-has-dropdown .jf-nav-caret {
    margin-left: 4px;
    font-size: 0.7rem;
}

.jf-nav-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 160px;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: all 0.2s ease;
    list-style: none;
    margin: 0;
    z-index: 1031;
}

.jf-nav-item-has-dropdown:hover > .jf-nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.jf-nav-dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #595959;
    text-decoration: none;
    line-height: 1.4;
}

.jf-nav-dropdown-link:hover {
    background: #f5f5f5;
    color: #1890ff;
}

/* 客户区域 */

.jf-nav-item-client {
    margin-left: 4px;
}

/* 移动端菜单按钮 */

.jf-nav-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #d9d9d9;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    cursor: pointer;
}

.jf-nav-toggle-line {
    width: 60%;
    height: 2px;
    background: #1a1a1a;
    border-radius: 1px;
}

/* ========== Hero 区域（首页 + 内页） ========== */

.jf-hero {
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.jf-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    opacity: 0.2;
}

/* 首页 Hero */

.jf-hero-home {
    padding: 140px 0 100px;
}

.jf-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1280px, 96%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
    gap: 60px;
    align-items: center;
}

.jf-hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.jf-hero-text p {
    font-size: 1.1rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.jf-hero-actions {
    margin-top: 24px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.jf-hero-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.jf-hero-note a {
    color: #ffffff;
    text-decoration: underline;
}

/* Hero 右侧卡片 */

.jf-hero-aside {
    display: flex;
    justify-content: flex-end;
}

.jf-hero-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    max-width: 380px;
    width: 100%;
    backdrop-filter: blur(10px);
}

.jf-hero-card-title {
    font-size: 1rem;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 600;
}

.jf-hero-card-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 12px;
    margin-bottom: 8px;
    border-radius: 20px;
    background: #52c41a;
    color: #ffffff;
}

.jf-hero-card-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.jf-hero-card-list li {
    font-size: 0.9rem;
    color: #595959;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.jf-hero-card-list li:last-child {
    border-bottom: none;
}

.jf-hero-card-list i {
    color: #1890ff;
}

/* 内页 Hero */

.jf-hero-page {
    padding: 120px 0 60px;
}

.jf-hero-page-inner {
    position: relative;
    z-index: 1;
    width: min(1280px, 96%);
    margin: 0 auto;
    text-align: center;
}

.jf-hero-page-inner h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: 700;

}

.jf-hero-page-inner p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ========== 按钮 ========== */

.jf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.jf-btn-primary {
    background: #ffffff;
    color: #1890ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.jf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 144, 255, 0.4);
}

.jf-btn-ghost {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.jf-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========== 首页 - 我们的服务（优化） ========== */

.jf-home-services {
    background: #ffffff;
}

.jf-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.jf-service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.jf-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: #e6f7ff;
}

/* 顶部彩色图标块（圆形） */
.jf-service-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #ffffff;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.jf-service-icon-green {
    background: linear-gradient(135deg, #52c41a, #389e0d);
}

.jf-service-icon-blue {
    background: linear-gradient(135deg, #1890ff, #096dd9);
}

.jf-service-icon-purple {
    background: linear-gradient(135deg, #722ed1, #531dab);
}

.jf-service-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.jf-service-desc {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
}

.jf-service-more {
    font-size: 0.95rem;
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.jf-service-more:hover {
    gap: 10px;
    color: #096dd9;
}

.jf-service-more::after {
    content: "→";
    font-size: 1rem;
}

/* ========== 首页 - 应知必知（优化） ========== */

.jf-home-terms {
    background: #fafafa;
}

.jf-terms-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.jf-terms-main p {
    font-size: 1rem;
    color: #595959;
    margin-bottom: 16px;
    line-height: 1.6;
}

.jf-terms-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 24px;
}

.jf-terms-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
}

.jf-terms-list li::before {
    content: "•";
    position: absolute;
    left: 8px;
    top: 0;
    color: #1890ff;
    font-size: 1.2rem;
}

.jf-terms-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    background: #e6f7ff;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.jf-terms-link:hover {
    background: #bae7ff;
    gap: 12px;
}

.jf-terms-aside .jf-terms-highlight {
    background: #ffffff;
    color: #333333;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: sticky;
    top: 100px;
}

.jf-terms-highlight h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 600;
}

.jf-terms-highlight p {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: #666666;
    line-height: 1.6;
}

.jf-terms-highlight ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.jf-terms-highlight li {
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #666666;
    line-height: 1.5;
}

.jf-terms-highlight i {
    color: #1890ff;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ========== 首页 - 成功案例（图标居中优化） ========== */

.jf-home-cases {
    background: #ffffff;
}

.jf-case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: 20px;
}

.jf-case-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center; /* 添加这一行：使所有子元素水平居中 */
    text-align: center; /* 添加这一行：使文本内容居中 */
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.jf-case-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1890ff, #52c41a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.jf-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: #e6f7ff;
}

.jf-case-card:hover::before {
    opacity: 1;
}

/* 顶部区域样式调整 */
.jf-case-top {
    padding: 0;
    margin-bottom: 24px;
    display: flex;
    justify-content: center; /* 图标容器水平居中 */
    width: 100%;
}

/* 调整图标样式 */
.jf-case-icon-big {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e6f7ff, #bae7ff);
    display: flex;
    align-items: center;
    justify-content: center; /* 确保图标内容居中 */
    font-size: 32px;
    color: #1890ff;
    margin-bottom: 0; /* 移除底部边距，由.jf-case-top控制 */
    transition: all 0.3s ease;
}

.jf-case-card:hover .jf-case-icon-big {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #bae7ff, #91d5ff);
}

/* 调整内容区域 */
.jf-case-body {
    padding: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* 确保内容区域内的元素也居中 */
    justify-content: space-between;
    width: 100%;
}

.jf-case-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
    line-height: 1.3;
    text-align: center;
}

.jf-case-body p {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
    text-align: center;
}

.jf-case-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
    padding-top: 20px;
    width: 100%;
}

.jf-case-more:hover {
    color: #096dd9;
    gap: 12px;
}

.jf-case-more::after {
    content: "→";
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.jf-case-more:hover::after {
    transform: translateX(4px);
}

/* 为不同案例卡片添加不同的图标颜色 */
.jf-case-card:nth-child(1) .jf-case-icon-big {
    background: linear-gradient(135deg, #e6f7ff, #bae7ff);
    color: #1890ff;
}

.jf-case-card:nth-child(2) .jf-case-icon-big {
    background: linear-gradient(135deg, #f6ffed, #d9f7be);
    color: #52c41a;
}

.jf-case-card:nth-child(3) .jf-case-icon-big {
    background: linear-gradient(135deg, #f9f0ff, #efdbff);
    color: #722ed1;
}

/* ========== 客户区域右侧菜单布局 ========== */

.jf-main-with-sidebar .jf-layout {
    width: min(1280px, 96%);
    margin: 60px auto 80px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.jf-layout-content {
    flex: 1 1 auto;
    min-width: 0;
}

.jf-sidebar {
    width: 280px;
    flex: 0 0 auto;
}

.jf-sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: sticky;
    top: 100px;
}

.jf-sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.jf-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jf-sidebar-link {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #595959;
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.jf-sidebar-link:hover {
    background: #f5f5f5;
    color: #1890ff;
    border-left-color: #1890ff;
}

.jf-sidebar-link.active {
    background: #e6f7ff;
    color: #1890ff;
    border-left-color: #1890ff;
    font-weight: 500;
}

/* ========== Footer ========== */

.jf-footer {
    background: #1a1a1a;
    color: #bfbfbf;
    padding: 60px 0 0;
    margin-top: 80px;
}

.jf-footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333333;
}

.jf-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.jf-footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.jf-footer-subtitle {
    font-size: 0.85rem;
    color: #8c8c8c;
}

.jf-footer-text {
    font-size: 0.9rem;
    color: #8c8c8c;
    max-width: 320px;
    line-height: 1.6;
}

.jf-footer-col h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
}

.jf-footer-links,
.jf-footer-contact {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.jf-footer-links li,
.jf-footer-contact li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: #8c8c8c;
}

.jf-footer-links a {
    color: #bfbfbf;
    text-decoration: none;
    transition: color 0.2s ease;
}

.jf-footer-links a:hover {
    color: #1890ff;
}

.jf-footer-contact i {
    width: 16px;
    margin-right: 8px;
    color: #8c8c8c;
}

.jf-footer-bottom {
    padding: 24px 0;
    background: #1a1a1a;
}

.jf-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #8c8c8c;
}

.jf-footer-icp a {
    color: #bfbfbf;
    text-decoration: none;
}

.jf-footer-icp a:hover {
    color: #1890ff;
}

/* ========== 响应式 ========== */

@media (max-width: 1200px) {
    .jf-hero-text h1 {
        font-size: 2.4rem;
    }
    
    .jf-hero-inner {
        gap: 40px;
    }
    
    .jf-service-grid,
    .jf-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
    
    .jf-terms-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    
    .jf-terms-aside .jf-terms-highlight {
        position: static;
    }
}

@media (max-width: 992px) {
    .jf-header-inner {
        padding-inline: 4px;
    }

    .jf-nav-toggle {
        display: flex;
    }

    .jf-nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #ffffff;
        padding: 16px;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.22s ease;
    }

    .jf-nav-list.jf-nav-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .jf-nav-dropdown {
        position: static;
        box-shadow: none;
        padding-inline: 2px;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        margin-top: 8px;
    }

    .jf-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .jf-hero-aside {
        justify-content: flex-start;
    }

    .jf-hero-card {
        max-width: 100%;
    }

    .jf-main-with-sidebar .jf-layout {
        flex-direction: column-reverse;
    }

    .jf-sidebar {
        width: 100%;
    }
    
    .jf-sidebar-card {
        position: static;
    }

    .jf-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .jf-home-section {
        padding: 60px 0;
    }
    
    .jf-section-header h2 {
        font-size: 1.8rem;
    }
    
    .jf-section-header p {
        font-size: 0.95rem;
    }

    .jf-hero-home {
        padding: 100px 0 80px;
    }
    
    .jf-hero-text h1 {
        font-size: 2rem;
    }
    
    .jf-hero-text p {
        font-size: 1rem;
    }

    .jf-service-grid,
    .jf-case-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    
    .jf-case-card {
        padding: 28px 24px;
    }
    
    .jf-case-icon-big {
        width: 64px;
        height: 64px;
        font-size: 28px;
        margin-bottom: 0;
    }
    
    .jf-case-body h3 {
        font-size: 1.2rem;
    }
    
    .jf-case-body p {
        font-size: 0.95rem;
    }

    .jf-footer-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .jf-footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .jf-hero-home {
        padding: 80px 0 60px;
    }
    
    .jf-hero-text h1 {
        font-size: 1.8rem;
    }
    
    .jf-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .jf-btn {
        min-width: auto;
        width: 100%;
    }
    
    .jf-service-card,
    .jf-case-card {
        padding: 24px 20px;
    }
    
    .jf-service-icon-wrap {
        width: 64px;
        height: 64px;
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .jf-service-title,
    .jf-case-body h3 {
        font-size: 1.1rem;
    }
    
    .jf-service-desc,
    .jf-case-body p {
        font-size: 0.9rem;
    }
}
/* ========== 登录页整体布局 ========== */

.jf-auth-section {
    padding: 40px 0 80px;
}

.jf-auth-layout {
    width: min(960px, 96%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: stretch;
}

/* 左侧登录卡片 */

.jf-auth-main {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 32px 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.jf-auth-header {
    margin-bottom: 24px;
}

.jf-auth-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.jf-auth-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: #8c8c8c;
}

.jf-auth-form {
    margin-top: 16px;
}

/* 表单字段 */

.jf-auth-field {
    margin-bottom: 20px;
}

.jf-auth-label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #595959;
}

.jf-auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.jf-auth-input-group {
    display: flex;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    background: #ffffff;
    padding-inline: 10px;
    transition: all 0.18s ease;
}

.jf-auth-input-group:focus-within {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.16);
}

.jf-auth-input-icon {
    flex: 0 0 auto;
    font-size: 0.9rem;
    color: #8c8c8c;
    margin-right: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jf-auth-input-control {
    flex: 1 1 auto;
    border: none;
    outline: none;
    padding: 10px 6px;
    font-size: 0.95rem;
    background: transparent;
    min-width: 0;
    color: #333333;
}

.jf-auth-input-control::placeholder {
    color: #bfbfbf;
}

.jf-auth-input-action {
    border: none;
    background: transparent;
    padding-left: 8px;
    margin-left: 4px;
    cursor: pointer;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #8c8c8c;
}

.jf-auth-input-action:hover {
    color: #1890ff;
}

/* 小链接 */

.jf-auth-link-small {
    font-size: 0.85rem;
    color: #1890ff;
    text-decoration: none;
}

.jf-auth-link-small:hover {
    text-decoration: underline;
}

/* 验证码区域可以少一点间距，与按钮区自然衔接 */

.jf-auth-field-captcha {
    margin-bottom: 16px;
}

/* 底部操作区 */

.jf-auth-actions {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.jf-auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #595959;
}

.jf-auth-checkbox {
    width: 14px;
    height: 14px;
    margin: 0;
}

.jf-auth-submit {
    min-width: 140px;
}

/* 注册提示 */

.jf-auth-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    font-size: 0.9rem;
}

.jf-auth-footer-text {
    color: #8c8c8c;
}

.jf-auth-footer-link {
    color: #1890ff;
    font-weight: 500;
    text-decoration: none;
}

.jf-auth-footer-link:hover {
    text-decoration: underline;
}

/* 右侧介绍卡片 */

.jf-auth-side {
    display: flex;
    align-items: stretch;
}

.jf-auth-side-card {
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.jf-auth-side-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.16), transparent 60%);
    opacity: 0.8;
    pointer-events: none;
}

.jf-auth-side-title {
    position: relative;
    font-size: 1.2rem;
    margin: 0 0 10px;
    font-weight: 600;
}

.jf-auth-side-desc {
    position: relative;
    font-size: 0.95rem;
    margin: 0 0 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.jf-auth-side-list {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jf-auth-side-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.jf-auth-side-list i {
    flex-shrink: 0;
    margin-top: 2px;
}

/* providerLinkingFeedback 与登录卡片的间距 */

.providerLinkingFeedback {
    margin-bottom: 16px;
}

/* ========== 响应式调整 ========== */

@media (max-width: 992px) {
    .jf-auth-layout {
        width: min(640px, 96%);
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .jf-auth-main,
    .jf-auth-side-card {
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 768px) {
    .jf-auth-section {
        padding: 24px 0 60px;
    }

    .jf-auth-main {
        padding: 24px 20px;
    }

    .jf-auth-title {
        font-size: 1.4rem;
    }

    .jf-auth-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .jf-auth-submit {
        width: 100%;
    }
}
/*注册*/
/* ========== 注册页面专属样式（优化版） ========== */

.jf-register-section {
    padding: 40px 0 80px;
    background: #fafafa;
}

.jf-register-container {
    width: min(960px, 96%);
    margin: 0 auto;
}

.jf-register-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 32px 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* 左侧表单区域 */
.jf-register-form-area {
    padding-right: 20px;
}

.jf-register-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.jf-register-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    background: linear-gradient(135deg, #1890ff, #096dd9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jf-register-subtitle {
    margin: 0;
    font-size: 1rem;
    color: #666666;
}

.jf-register-form {
    margin-top: 8px;
}

/* 表单字段布局优化 */
.jf-register-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.jf-register-field {
    margin: 0;
}

.jf-register-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #595959;
    font-weight: 500;
}

.jf-register-label-required::after {
    content: " *";
    color: #ff4d4f;
    margin-left: 2px;
}

.jf-register-label-optional {
    color: #8c8c8c;
    font-weight: normal;
}

.jf-register-input-group {
    display: flex;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    background: #ffffff;
    padding-inline: 14px;
    transition: all 0.2s ease;
    height: 48px;
}

.jf-register-input-group:focus-within {
    border-color: #1890ff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
    transform: translateY(-1px);
}

.jf-register-input-group-error {
    border-color: #ff4d4f;
}

.jf-register-input-group-error:focus-within {
    border-color: #ff4d4f;
    box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.1);
}

.jf-register-input-icon {
    flex: 0 0 auto;
    font-size: 1rem;
    color: #8c8c8c;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}

.jf-register-input-control {
    flex: 1 1 auto;
    border: none;
    outline: none;
    padding: 0;
    font-size: 0.95rem;
    background: transparent;
    min-width: 0;
    color: #333333;
    height: 100%;
    font-family: inherit;
}

.jf-register-input-control::placeholder {
    color: #bfbfbf;
}

.jf-register-select {
    appearance: none;
    background: transparent;
    cursor: pointer;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238c8c8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

/* 密码字段特殊样式 */
.jf-register-password-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* 标签与输入框同行布局 */
.jf-register-field-horizontal {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.jf-register-field-horizontal .jf-register-label {
    flex: 0 0 100px;
    margin-bottom: 0;
    white-space: nowrap;
    text-align: right;
    justify-content: flex-end;
}

.jf-register-field-horizontal .jf-register-input-group {
    flex: 1;
}

/* 生成密码按钮 */
.jf-register-generate-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f5f5f5;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #595959;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.jf-register-generate-btn:hover {
    background: #e6f7ff;
    border-color: #91d5ff;
    color: #1890ff;
}

.jf-register-generate-btn i {
    font-size: 0.8rem;
}

/* 底部操作区 */
.jf-register-actions {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.jf-register-submit-btn {
    min-width: 160px;
    height: 48px;
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: #ffffff;
    border: none;
    padding: 0 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.jf-register-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24, 144, 255, 0.3);
}

.jf-register-submit-btn:active {
    transform: translateY(0);
}

.jf-register-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.jf-register-login-link {
    font-size: 0.95rem;
    color: #666666;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.jf-register-login-link:hover {
    color: #1890ff;
    gap: 8px;
}

/* 密码强度指示器 */
.jf-register-password-strength {
    margin-top: 8px;
}

.jf-register-password-progress {
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.jf-register-password-progress-bar {
    height: 100%;
    width: 0;
    background: #ff4d4f;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.jf-register-password-progress-bar.weak {
    width: 33%;
    background: #ff4d4f;
}

.jf-register-password-progress-bar.moderate {
    width: 66%;
    background: #faad14;
}

.jf-register-password-progress-bar.strong {
    width: 100%;
    background: #52c41a;
}

.jf-register-password-text {
    font-size: 0.8rem;
    color: #8c8c8c;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 右侧介绍卡片 */
.jf-register-side-card {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.jf-register-side-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.jf-register-side-header {
    position: relative;
    margin-bottom: 24px;
}

.jf-register-side-title {
    font-size: 1.4rem;
    margin: 0 0 8px;
    font-weight: 700;
    line-height: 1.3;
}

.jf-register-side-subtitle {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.jf-register-side-list {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.jf-register-side-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.jf-register-side-list i {
    flex-shrink: 0;
    margin-top: 2px;
    color: #ffffff;
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.jf-register-side-footer {
    position: relative;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.jf-register-side-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px;
    line-height: 1.5;
}

.jf-register-side-link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jf-register-side-link:hover {
    color: #ffffff;
    gap: 8px;
    opacity: 0.9;
}

/* 隐藏的字段 */
.jf-register-hidden-fields {
    display: none;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .jf-register-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .jf-register-form-area {
        padding-right: 0;
    }
    
    .jf-register-password-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* 水平布局字段在平板以下变为垂直 */
    .jf-register-field-horizontal {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .jf-register-field-horizontal .jf-register-label {
        flex: none;
        text-align: left;
        width: 100%;
        justify-content: space-between;
    }
    
    .jf-register-field-horizontal .jf-register-input-group {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .jf-register-section {
        padding: 24px 0 60px;
    }
    
    .jf-register-card {
        padding: 24px 20px;
    }
    
    .jf-register-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .jf-register-submit-btn {
        width: 100%;
        order: 1;
    }
    
    .jf-register-login-link {
        order: 2;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .jf-register-title {
        font-size: 1.5rem;
    }
    
    .jf-register-side-title {
        font-size: 1.2rem;
    }
}
/* ========== 工单提交页面样式 ========== */

.jf-ticket-section {
    padding: 40px 0 80px;
    background: #fafafa;
}

.jf-ticket-container {
    width: min(960px, 96%);
    margin: 0 auto;
}

.jf-ticket-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 32px 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.jf-ticket-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.jf-ticket-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    background: linear-gradient(135deg, #1890ff, #096dd9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jf-ticket-subtitle {
    margin: 0;
    font-size: 1rem;
    color: #666666;
}

/* 部门卡片网格 */
.jf-dept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.jf-dept-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    border: 2px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.jf-dept-card:hover {
    transform: translateY(-4px);
    border-color: #1890ff;
    box-shadow: 0 8px 24px rgba(24, 144, 255, 0.15);
}

.jf-dept-card:hover .jf-dept-icon {
    transform: scale(1.1);
    color: #1890ff;
}

.jf-dept-card:hover .jf-dept-title {
    color: #1890ff;
}

.jf-dept-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1890ff, #096dd9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.jf-dept-card:hover::before {
    opacity: 1;
}

.jf-dept-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.jf-dept-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e6f7ff, #bae7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1890ff;
    font-size: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.jf-dept-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.jf-dept-desc {
    font-size: 0.95rem;
    color: #666666;
    margin: 0;
    line-height: 1.6;
    flex-grow: 1;
}

.jf-dept-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border-radius: 50%;
    color: #8c8c8c;
    font-size: 0.9rem;
    margin-top: 16px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.jf-dept-card:hover .jf-dept-arrow {
    background: #1890ff;
    color: #ffffff;
    transform: translateX(4px);
}

/* 无部门提示 */
.jf-no-dept {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 2px dashed #f0f0f0;
}

.jf-no-dept-icon {
    font-size: 48px;
    color: #d9d9d9;
    margin-bottom: 16px;
}

.jf-no-dept-title {
    font-size: 1.2rem;
    color: #595959;
    margin-bottom: 8px;
}

.jf-no-dept-text {
    font-size: 0.95rem;
    color: #8c8c8c;
    max-width: 400px;
    margin: 0 auto;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .jf-dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .jf-ticket-section {
        padding: 24px 0 60px;
    }
    
    .jf-ticket-card {
        padding: 24px 20px;
    }
    
    .jf-dept-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .jf-dept-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .jf-ticket-title {
        font-size: 1.5rem;
    }
    
    .jf-dept-card-top {
        gap: 12px;
    }
    
    .jf-dept-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .jf-dept-title {
        font-size: 1.1rem;
    }
}
/* ========== 联系页面样式 ========== */

.jf-contact-section {
    padding: 40px 0 80px;
}

.jf-contact-container {
    width: min(960px, 96%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* 联系表单卡片 */
.jf-contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 32px 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.jf-contact-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.jf-contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    background: linear-gradient(135deg, #1890ff, #096dd9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jf-contact-subtitle {
    margin: 0;
    font-size: 1rem;
    color: #666666;
}

/* 成功消息样式 */
.jf-contact-success {
    text-align: center;
    padding: 40px 20px;
}

.jf-contact-success-icon {
    font-size: 48px;
    color: #52c41a;
    margin-bottom: 16px;
}

.jf-contact-success-title {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.jf-contact-success-text {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 24px;
}

.jf-contact-success-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    background: #e6f7ff;
    transition: all 0.2s ease;
}

.jf-contact-success-action:hover {
    background: #bae7ff;
    gap: 12px;
}

/* 错误消息样式 */
.jf-contact-error {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
    color: #ff4d4f;
    font-size: 0.95rem;
}

.jf-contact-error ul {
    margin: 0;
    padding-left: 20px;
}

.jf-contact-error li {
    margin-bottom: 4px;
}

.jf-contact-error li:last-child {
    margin-bottom: 0;
}

/* 联系表单 */
.jf-contact-form {
    margin-top: 8px;
}

.jf-contact-fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 表单字段 - 标签与输入框同行 */
.jf-contact-field {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
}

.jf-contact-label {
    flex: 0 0 100px;
    font-size: 0.95rem;
    color: #595959;
    font-weight: 500;
    white-space: nowrap;
    text-align: right;
    margin-top: 12px;
}

.jf-contact-label-required::after {
    content: " *";
    color: #ff4d4f;
    margin-left: 2px;
}

.jf-contact-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    background: #ffffff;
    padding-inline: 14px;
    transition: all 0.2s ease;
    height: 48px;
    min-width: 0;
}

.jf-contact-input-group:focus-within {
    border-color: #1890ff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
    transform: translateY(-1px);
}

.jf-contact-input-icon {
    flex: 0 0 auto;
    font-size: 1rem;
    color: #8c8c8c;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}

.jf-contact-input-control {
    flex: 1 1 auto;
    border: none;
    outline: none;
    padding: 0;
    font-size: 0.95rem;
    background: transparent;
    min-width: 0;
    color: #333333;
    height: 100%;
    font-family: inherit;
    width: 100%;
}

.jf-contact-input-control::placeholder {
    color: #bfbfbf;
}

/* 文本域特殊样式 */
.jf-contact-textarea-group {
    height: auto;
    min-height: 160px;
    align-items: flex-start;
    padding: 14px;
}

.jf-contact-textarea-group .jf-contact-input-icon {
    margin-top: 8px;
}

.jf-contact-textarea-control {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
    padding: 0;
}

/* 验证码区域 */
.jf-contact-captcha {
    margin: 32px 0 24px;
    padding: 20px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
}

.jf-contact-captcha-title {
    font-size: 0.95rem;
    color: #595959;
    margin-bottom: 12px;
    font-weight: 500;
}

/* 提交按钮 */
.jf-contact-submit {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.jf-contact-submit-btn {
    min-width: 180px;
    height: 48px;
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: #ffffff;
    border: none;
    padding: 0 40px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.jf-contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24, 144, 255, 0.3);
}

.jf-contact-submit-btn:active {
    transform: translateY(0);
}

.jf-contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 联系信息卡片 */
.jf-contact-info-card {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.jf-contact-info-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.jf-contact-info-header {
    position: relative;
    margin-bottom: 24px;
}

.jf-contact-info-title {
    font-size: 1.4rem;
    margin: 0 0 8px;
    font-weight: 700;
    line-height: 1.3;
}

.jf-contact-info-subtitle {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.jf-contact-info-list {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.jf-contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.jf-contact-info-list i {
    flex-shrink: 0;
    margin-top: 2px;
    color: #ffffff;
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.jf-contact-info-detail {
    flex: 1;
}

.jf-contact-info-label {
    font-weight: 600;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.95);
}

.jf-contact-info-value {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.jf-contact-info-footer {
    position: relative;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.jf-contact-info-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px;
    line-height: 1.5;
}

.jf-contact-info-link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jf-contact-info-link:hover {
    color: #ffffff;
    gap: 8px;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .jf-contact-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .jf-contact-info-card {
        order: -1;
    }
}

@media (max-width: 768px) {
    .jf-contact-section {
        padding: 24px 0 60px;
    }
    
    .jf-contact-card {
        padding: 24px 20px;
    }
    
    /* 在移动端将水平布局改为垂直布局 */
    .jf-contact-field {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .jf-contact-label {
        flex: none;
        text-align: left;
        width: 100%;
        margin-top: 0;
    }
    
    .jf-contact-input-group {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .jf-contact-title {
        font-size: 1.5rem;
    }
    
    .jf-contact-info-title {
        font-size: 1.2rem;
    }
    
    .jf-contact-submit-btn {
        width: 100%;
    }
}

/* ========== 侧边栏布局 ========== */

.jf-layout-with-sidebar {
    display: flex;
    flex-wrap: nowrap; /* 防止换行 */
    gap: 30px; /* 根据需要调整 */
    margin: 40px auto 80px;
    max-width: min(1280px, 96%);
}

/* 侧边栏样式 */
.jf-sidebar {
    flex: 0 0 280px;
    position: relative;
}

.jf-sidebar-inner {
    position: sticky;
    top: 100px;
}

.jf-sidebar-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.jf-sidebar-section:last-child {
    margin-bottom: 0;
}

.jf-sidebar-title {
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.jf-sidebar-title i {
    color: #1890ff;
    font-size: 1.1rem;
}

.jf-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jf-sidebar-menu li {
    margin-bottom: 6px;
}

.jf-sidebar-menu li:last-child {
    margin-bottom: 0;
}

.jf-sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #595959;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
}

.jf-sidebar-link:hover {
    background: #f5f5f5;
    color: #1890ff;
    border-left-color: #1890ff;
}

.jf-sidebar-link.active {
    background: #e6f7ff;
    color: #1890ff;
    border-left-color: #1890ff;
    font-weight: 500;
}

.jf-sidebar-link i {
    width: 18px;
    text-align: center;
    font-size: 0.95rem;
    color: #777;
}

.jf-sidebar-link.active i,
.jf-sidebar-link:hover i {
    color: #1890ff;
}

/* 侧边栏帮助区域 */
.jf-sidebar-help {
    text-align: center;
    padding: 0;
}

.jf-sidebar-help h4 {
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.jf-sidebar-help h4 i {
    color: #1890ff;
}

.jf-sidebar-help p {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.jf-btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: auto;
}

/* 主内容区域 */
/* 修改 .jf-main-content */
.jf-main-content .table-container {
    flex: 1;
    min-width: 0;
    width: 100%; /* 添加这一行 */
    max-width: 100%; /* 添加这一行 */
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    box-sizing: border-box; /* 重要！确保padding不增加总宽度 */
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .jf-layout-with-sidebar {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .jf-layout-with-sidebar {
        flex-direction: column;
        gap: 20px;
        margin: 20px auto 60px;
    }
    
    .jf-sidebar {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .jf-sidebar-inner {
        position: static;
        display: flex;
        gap: 20px;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .jf-sidebar-section {
        flex: 0 0 auto;
        min-width: 280px;
        margin-bottom: 0;
    }
    
    .jf-main-content {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .jf-layout-with-sidebar {
        padding: 0 16px;
    }
    
    .jf-sidebar-inner {
        flex-direction: column;
        gap: 16px;
    }
    
    .jf-sidebar-section {
        min-width: 100%;
    }
    
    .jf-main-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .jf-layout-with-sidebar {
        margin: 16px auto 40px;
    }
    
    .jf-sidebar-section {
        padding: 20px;
    }
    
    .jf-main-content {
        padding: 16px;
    }
}

/* ========== 客户中心首页样式 ========== */

/* 添加这个新样式 */
.jf-dashboard-container {
    flex: 1; /* 使其占据可用空间 */
}
/* 修改现有的 jf-client-dashboard */
.jf-client-dashboard {
    padding: 20px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* 防止内容溢出 */
}

/* 顶部状态卡片 */


.jf-status-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.jf-status-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.jf-status-card-link {
    display: flex;
    align-items: center;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.jf-status-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 24px;
    color: #ffffff;
    flex-shrink: 0;
}

.jf-status-card-services .jf-status-card-icon {
    background: linear-gradient(135deg, #1890ff, #096dd9);
}

.jf-status-card-tickets .jf-status-card-icon {
    background: linear-gradient(135deg, #52c41a, #389e0d);
}

.jf-status-card-invoices .jf-status-card-icon {
    background: linear-gradient(135deg, #faad14, #d48806);
}

.jf-status-card-content {
    flex: 1;
    min-width: 0;
}

.jf-status-card-number {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 4px;
}

.jf-status-card-title {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

.jf-status-card-arrow {
    color: #bfbfbf;
    font-size: 14px;
    margin-left: 12px;
}

.jf-status-card:hover .jf-status-card-arrow {
    color: #1890ff;
    transform: translateX(4px);
}

/* 内容卡片通用样式 */
.jf-content-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.jf-content-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}

.jf-content-card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jf-content-card-header h3 i {
    color: #1890ff;
}



.jf-content-card-body {
    padding: 20px 24px;
}

/* 主要内容网格布局 */
/* 顶部状态卡片 */
.jf-status-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 修改这里 */
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

/* 主要内容区域 */
.jf-main-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* 修改这里 */
    gap: 30px;
    margin-bottom: 30px;
    width: 100%;
}

/* 工单列表样式 */
.jf-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jf-ticket-item {
    background: #fafafa;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
}

.jf-ticket-item:hover {
    background: #f5f5f5;
    transform: translateX(4px);
}

.jf-ticket-item.jf-ticket-unread {
    background: #e6f7ff;
    border-left: 3px solid #1890ff;
}

.jf-ticket-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.jf-ticket-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 12px;
    color: #8c8c8c;
}

.jf-ticket-id {
    font-weight: 600;
    color: #595959;
}

.jf-ticket-title {
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jf-ticket-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.jf-status-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.jf-status-open { background: #f6ffed; color: #52c41a; }
.jf-status-answered { background: #e6f7ff; color: #1890ff; }
.jf-status-closed { background: #f5f5f5; color: #8c8c8c; }
.jf-status-pending { background: #fff7e6; color: #fa8c16; }

.jf-ticket-department {
    color: #666666;
}

/* 新闻列表样式 */
.jf-news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.jf-news-item {
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.jf-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.jf-news-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.jf-news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
}

.jf-news-date {
    color: #8c8c8c;
}

.jf-news-type {
    background: #f5f5f5;
    color: #666666;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.jf-news-title {
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.4;
}

.jf-news-excerpt {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 服务概览样式 */
.jf-services-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.jf-service-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #fafafa;
    border-radius: 8px;
    gap: 16px;
}

.jf-service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e6f7ff, #bae7ff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1890ff;
    font-size: 20px;
    flex-shrink: 0;
}

.jf-service-info {
    flex: 1;
    min-width: 0;
}

.jf-service-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px;
    line-height: 1.3;
}

.jf-service-info p {
    font-size: 13px;
    color: #666666;
    margin: 0 0 8px;
}

.jf-service-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.jf-service-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.jf-service-price {
    color: #666666;
    font-weight: 500;
}

.jf-service-actions {
    flex-shrink: 0;
}

.jf-btn-outline {
    background: transparent;
    border: 1px solid #d9d9d9;
    color: #595959;
}

.jf-btn-outline:hover {
    background: #f5f5f5;
    border-color: #bfbfbf;
}

/* 空状态样式 */
.jf-empty-state {
    text-align: center;
    padding: 40px 20px;
}

.jf-empty-state i {
    font-size: 48px;
    color: #d9d9d9;
    margin-bottom: 16px;
}

.jf-empty-state p {
    color: #8c8c8c;
    margin-bottom: 20px;
}

/* 自定义内容区域 */
.jf-custom-content {
    margin-top: 30px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .jf-main-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .jf-status-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .jf-status-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .jf-service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .jf-service-actions {
        width: 100%;
    }
    
    .jf-btn-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .jf-content-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .jf-view-all {
        align-self: flex-end;
    }
}
/* 添加到现有CSS文件的末尾 */
/* ========== 服务表格样式（新增） ========== */

/* 表格容器 */
.jf-table-responsive {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    background: #ffffff;
    position: relative;
}

/* 基础表格样式 */
.jf-data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    color: #333333;
}

.jf-data-table thead {
    background: #fafafa;
}

.jf-data-table th {
    padding: 16px 20px;
    font-weight: 500;
    color: #595959;
    text-align: left;
    border-bottom: 2px solid #f0f0f0;
    white-space: nowrap;
    position: relative;
    font-size: 13px;
    text-transform: none;
    letter-spacing: normal;
}

.jf-data-table th:after {
    content: "↕";
    position: absolute;
    right: 8px;
    color: #bfbfbf;
    font-size: 11px;
    opacity: 0.5;
    font-weight: normal;
}

.jf-data-table th.sorting_asc:after {
    content: "↑";
    color: #1890ff;
    opacity: 1;
}

.jf-data-table th.sorting_desc:after {
    content: "↓";
    color: #1890ff;
    opacity: 1;
}

.jf-data-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    cursor: pointer;
}

.jf-data-table tbody tr:hover {
    background: #f8fbff;
}

.jf-data-table tbody tr:last-child {
    border-bottom: none;
}

.jf-data-table td {
    padding: 18px 20px;
    vertical-align: middle;
    border-bottom: 1px solid #fafafa;
}

/* SSL图标 */
.jf-service-ssl {
    text-align: center;
    padding: 0 !important;
}

.jf-ssl-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.jf-ssl-icon img {
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.jf-ssl-icon:hover img {
    transform: scale(1.1);
}

/* 服务信息 - 统一字体，不加粗 */

.jf-service-name {
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.4;
    font-weight: 400; /* 统一字体不加粗 */
}

.jf-service-domain {
    font-size: 13px;
    color: #666666;
}

/* 价格单元格 */
.jf-price-cell {
    text-align: center;
}

.jf-price-amount {
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 4px;
    font-weight: 400; /* 统一字体不加粗 */
}

.jf-price-cycle {
    font-size: 12px;
    color: #8c8c8c;
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* 到期日期 */
.jf-due-date {
    text-align: center;
}

.jf-due-date-text {
    color: #333333;
    font-size: 14px;
    font-weight: 400; /* 统一字体不加粗 */
}

/* 状态单元格 */
.jf-status-cell {
    text-align: center;
}

/* 操作单元格 */
.jf-action-cell {
    text-align: center;
    padding: 0 !important;
}

/* 管理按钮样式 */
.jf-btn-outline {
    background: transparent;
    border: 1px solid #d9d9d9;
    color: #595959;
    padding: 6px 12px;
    font-size: 12px;
    min-height: 32px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.jf-btn-outline:hover {
    background: #f5f5f5;
    border-color: #bfbfbf;
    color: #1890ff;
    transform: translateY(-1px);
}

/* 文本辅助类 */
.jf-text-muted {
    color: #8c8c8c;
}

.jf-link {
    color: #1890ff;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 400; /* 统一字体不加粗 */
}

.jf-link:hover {
    color: #096dd9;
    text-decoration: underline;
}

/* DataTables分页样式 */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px;
    text-align: center;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    background: #ffffff;
    color: #595959;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    font-weight: 400;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #f5f5f5;
    border-color: #bfbfbf;
    color: #1890ff;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #1890ff;
    border-color: #1890ff;
    color: #ffffff;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* DataTables搜索框样式 */
.dataTables_wrapper .dataTables_filter {
    float: none;
    text-align: right;
}

.dataTables_wrapper .dataTables_filter input {
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 13px;
    width: 200px;
    transition: all 0.2s ease;
    font-weight: 400;
}
.dataTables_length{
    margin-left: 20px;
    display: flex;
    align-items: center; /* 垂直居中 */
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
    outline: none;
}

/* DataTables信息显示 */
.dataTables_wrapper .dataTables_info {
    font-size: 12px;
    color: #8c8c8c;
    padding-left: 20px;
    font-weight: 400;
}

/* 加载状态 */
.jf-table-loading {
    text-align: center;
    padding: 60px 20px;
}

.jf-loading-spinner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.jf-loading-spinner i {
    font-size: 28px;
    color: #1890ff;
}

.jf-loading-spinner span {
    font-size: 13px;
    color: #666666;
}
.form-control{
    margin-right: 20px;
    margin-top: 20px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .jf-table-responsive {
        margin: 0 -20px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .jf-data-table th,
    .jf-data-table td {
        padding: 14px 16px;
    }
    
    .dataTables_wrapper .dataTables_filter input {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .jf-service-info {
        min-width: 150px;
    }
    
    .jf-service-name {
        font-size: 13px;
    }
    
    .jf-price-amount {
        font-size: 14px;
    }
    
    .dataTables_wrapper .dataTables_filter {
        text-align: center;
    }
    
    .dataTables_wrapper .dataTables_filter input {
        width: 100%;
        max-width: 250px;
    }
    
    .dataTables_wrapper .dataTables_paginate {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 5px 10px;
        margin: 0;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .jf-data-table {
        font-size: 13px;
    }
    
    .jf-data-table th,
    .jf-data-table td {
        padding: 12px;
    }
    
    .jf-service-name {
        font-size: 12px;
    }
    
    .jf-price-amount {
        font-size: 13px;
    }
    
    .jf-price-cycle {
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .jf-btn-outline {
        padding: 4px 8px;
        font-size: 11px;
        min-height: 28px;
    }
    
    .dataTables_wrapper .dataTables_info {
        font-size: 11px;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .dataTables_wrapper .dataTables_paginate {
        gap: 4px;
    }
}