   .main-nav {

          background-color: #ffffff;
          border-bottom: 1px solid #E2E8F0;
          padding: 0 20px;
          height: 67px;
          box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
      }
    .main-content {
       display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
    z-index: 1;
     

    /* 关键：设置与 .container 相同的圆角，视觉上融合 */
    
    background:#ffffff;   /* 确保有背景色 */
    overflow: hidden;    /* 防止内部内容溢出圆角 */
   
    }
    
    .file-section {
      width: 100%;
      padding: 10px 25px 25px 25px;
      background: #F8F9FA;
      border-top: 1px solid #E9ECEF;
    }
    
    /* 新增历史记录样式 */
    .file-bg {
      padding: 10px;
      background: white;
      border-radius: 6px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }
    
    .file-bg h3 {
      font-size: 1.2rem;
      margin-bottom: 20px;
      color: #2C3E50;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .file-bg h3 i {
      color: #3A7BBD;
      background: #EBF4FF;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 3px 8px rgba(58, 123, 189, 0.2);
    }
    .file-listtop{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        box-shadow: 0 5px 15px rgb(248, 247, 247);
        
        }
    
    .file-listtop h3 {
      font-size: 1.2rem;
      color: #2C3E50;
      margin: 0;
    }
    
    .file-listtop .btn-group {
      display: flex;
      gap: 10px;
    }
    
    #history-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    
    .history-item {
      background: #F8F9FA;
      border-radius: 6px;
      padding: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.2s;
      position: relative;
      gap: 10px;
    }
    
    .history-item:hover {
      transform: translateX(3px);
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
      background: #EBF4FF;
    }
    
    .history-info {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 1;
    }
    
    .history-icon {
      width: 40px;
      height: 40px;
      background: #EBF4FF;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #3A7BBD;
      font-size: 1.2rem;
      flex-shrink: 0;
    }
    
    .history-details {
      display: flex;
      flex-direction: column;
      gap: 5px;
      min-width: 0;
      flex: 1;
    }
    
    .history-filename {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    
    .history-original {
      font-weight: 600;
      font-size: 0.95rem;
      color: #2C3E50;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 200px;
    }
    
    .history-arrow {
      color: #6C757D;
      font-size: 0.9rem;
    }
    
    .history-converted {
      font-weight: 600;
      font-size: 0.95rem;
      color: #28A745;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 200px;
    }
    
    .history-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }
    
    .history-time {
      font-size: 0.8rem;
      color: #6C757D;
      background: #F8F9FA;
      padding: 3px 8px;
      border-radius: 6px;
      white-space: nowrap;
    }
    
    .history-format {
      font-size: 0.8rem;
      font-weight: 600;
      padding: 3px 8px;
      border-radius: 6px;
      background: #EBF4FF;
      color: #3A7BBD;
      display: flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
    }
    
    .history-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }
    
    .history-download {
      color: #3A7BBD;
      text-decoration: none;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      gap: 5px;
      padding: 6px 12px;
      border-radius: 6px;
      background: #EBF4FF;
      transition: all 0.2s;
      white-space: nowrap;
    }
    
    .history-download:hover {
      background: #3A7BBD;
      color: white;
    }
    
    .history-download.expired {
      background: #F8F9FA;
      color: #6C757D;
      cursor: not-allowed;
    }
    
    .history-expired {
      font-size: 0.8rem;
      color: #6C757D;
      padding: 6px 10px;
      background: #F8F9FA;
      border-radius: 6px;
      white-space: nowrap;
    }
    
    .history-delete {
      width: 30px;
      height: 30px;
      border-radius: 6px;
      background: #FED7D7;
      border: none;
      color: #E53E3E;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      font-size: 0.9rem;
    }
    
    .history-delete:hover {
      background: #E53E3E;
      color: white;
      transform: rotate(90deg);
    }
    
    .empty-history {
      text-align: center;
      padding: 30px;
      color: #6C757D;
      font-style: italic;
    }
  









/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

 

/* 容器 */
.container {
  max-width: 920px;
   
  
 /*  padding: 20px;*/

 
}

 

.subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

/* 清空按钮 */
.header-actions {
  text-align: right;
  margin-bottom: 16px;
}

.btn-clear {
  background: none;
  border: none;
  color: #e74c3c;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}

.btn-clear:hover {
  color: #c0392b;
}

/* 历史列表 */
.history-list {
  list-style: none;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #eaeaea;
}

/* 单条记录 */
.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.history-item:hover {
  background-color: #f8fafd;
}

.history-item:last-child {
  border-bottom: none;
}

/* 左侧：文件信息 */
.history-file {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.file-icon {
  color: #4a90e2;
  font-size: 18px;
  margin-right: 12px;
  min-width: 18px;
}

.file-text {
  flex: 1;
  min-width: 0;
}

.file-name {
  font-size: 14px;
  color: #1a1a1a;
  margin-bottom: 4px;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-name strong {
  font-weight: 600;
  color: #2c3e50;
}

.file-meta {
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag {
  background: #eef2f7;
  color: #4a90e2;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.expired {
  color: #999;
  font-style: italic;
}

/* 右侧：操作按钮 */
.history-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 32px;
}

.btn-download {
  background-color: #4a90e2;
  color: white;
}

.btn-download:hover {
  background-color: #3a7bc8;
  transform: translateY(-1px);
}

.btn-delete {
  background-color: #f1f3f5;
  color: #999;
  width: 32px;
  height: 32px;
  padding: 0;
}

.btn-delete:hover {
  background-color: #e0e0e0;
  color: #d63031;
}

.btn-disabled {
  background-color: #f1f3f5 !important;
  color: #aaa !important;
  cursor: not-allowed;
}

/* 空状态 */
.empty-history {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-style: italic;
  border-top: 1px solid #f0f0f0;
}



  
    /* 响应式设计 */
    @media (max-width: 768px) {
      .history-item {
        flex-wrap: wrap;
        gap: 10px;
      }
      
      .history-info {
        width: 100%;
      }
      
      .history-meta {
        width: 100%;
        justify-content: space-between;
      }
      
      .history-actions {
        margin-left: auto;
      }
      
      .history-original,
      .history-converted {
        max-width: 120px;
      }
    }




  /* 响应式设计 */
    @media (max-width: 500px) {
      .main-content-convert {
          padding: 0px;

        }
      .history-item {
        flex-wrap: wrap;
        gap: 10px;
      }
      
      .history-info {
        width: 100%;
      }
      
      .history-meta {
        width: 100%;
        justify-content: space-between;
      }
      
      .history-actions {
        margin-left: auto;
      }
      
      .history-original,
      .history-converted {
        max-width: 120px;
      }
     
    }

