/* 空状态模块样式 - 安全版（不会拉长页面） */
.modern-empty-state {
    text-align: center;
    padding: 2rem 1.5rem;
    margin: 1rem auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.05);
    max-width: 500px;
    /* 关键：限制高度范围，防止异常撑开 */
    min-height: 220px;
    max-height: 380px;
    height: auto;
    overflow-y: auto;
    box-sizing: border-box;
}

.empty-icon-wrapper {
    margin-bottom: 1rem;
}

.empty-icon-wrapper i {
    font-size: 56px;
    color: #d1d5db;
}

.empty-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.empty-description {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-reset-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-reset-modern:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5a67d8, #6b46a0);
    color: #fff;
    text-decoration: none;
}

/* 手机自适应 */
@media (max-width: 768px) {
    .modern-empty-state {
        padding: 1.5rem 1rem;
        min-height: 200px;
        max-height: 350px;
    }
    .empty-icon-wrapper i {
        font-size: 48px;
    }
    .empty-title {
        font-size: 1.2rem;
    }
    .empty-description {
        font-size: 0.85rem;
    }
    .btn-reset-modern {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
}


