    * {
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    }
    body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    }
    
    .main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    }

    .search-container {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    /* 现代简约风格 */
    .modern-search {
        display: flex;
        align-items: center;
    }
    .modern-search input {
        flex: 1;
        padding: 12px 20px;
        border: none;
        border-radius: 8px 0 0 8px;
        background-color: white;
        font-size: 16px;
        outline: none;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    .modern-search button {
        padding: 12px 20px;
        background-color: #4a90e2;
        color: white;
        border: none;
        border-radius: 0 8px 8px 0;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    .modern-search button:hover {
        background-color: #3a7bc8;
    }


    h1 {
        text-align: center;
        color: #444;
        margin: 30px 30px 10px 30px;
    }

    .table-container {
        max-width: 1000px;
        overflow-x: auto;
    }


    /* 1. 现代简约风格表格 */
    .table-modern {
        width: 100%;
        border-collapse: collapse;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        overflow: hidden;
    }

    .table-modern th {
        background-color: #4a90e2;
        color: white;
        padding: 15px;
        text-align: left;
        font-weight: 500;
    }

    .table-modern td {
        padding: 12px 15px;
        border-bottom: 1px solid #e0e0e0;
    }

    .table-modern tr:last-child td {
        border-bottom: none;
    }

    .table-modern tbody tr:hover {
        background-color: #f5f5f5;
    }
    /* 7. 响应式表格 (在小屏幕上添加水平滚动) */
    .table-responsive {
        width: 100%;
        overflow-x: auto;
    }

    /* 自定义样式增强移动端体验 */
    .table-container {
        width: 100%;
        overflow-x: auto;
    }
    .table-modern {
        width: 100%;
        font-size: 14px;
    }
    .table-modern th,
    .table-modern td {
        white-space: nowrap;
        padding: 8px 12px;
    }

    .center{
        text-align: center !important;
    }


    /* 简化版分页样式 */
    .pagination {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 20px 0;
    }

    .pagination li {
        margin: 0 3px;
    }

    .pagination li a,
    .pagination li span {
        display: inline-block;
        padding: 6px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        color: #337ab7;
        text-decoration: none;
    }

    .pagination li a:hover {
        background-color: #eee;
    }

    .pagination li.active span {
        color: #fff;
        background-color: #337ab7;
        border-color: #337ab7;
    }

    .pagination li.disabled span {
        color: #777;
        cursor: not-allowed;
    }


    /* 新增列表样式 */
.modern-list {
  list-style: none;
  padding: 0;
}
 
.modern-list > li {
  display: flex;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  padding: 20px;
}
 
.list-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}
 
.list-column:first-child {
  border-right: 1px solid #eee;
  padding-right: 20px;
  margin-right: 20px;
}
 
.list-item {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #f0f0f0;
}
 
.list-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
 
.label {
  font-weight: 500;
  color: #666;
  min-width: 100px;
  display: inline-block;
}
 
.status {
  border-radius: 4px;
  font-size: 0.9em;
}
 
/* 状态颜色标记 */
.status-1 { background-color: #e8f4ff; color: #4a90e2; }
.status-2 { background-color: #e8f5e9; color: #4caf50; }
.status-3 { background-color: #ffebee; color: #f44336; }
 
/* 响应式调整 */
@media (max-width: 768px) {
  .modern-list > li {
    flex-direction: column;
  }
  
  .list-column:first-child {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-right: 0;
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .list-item {
    font-size: 14px;
  }
  .name-vote-container {
    flex-wrap: wrap;
  }
  
  .vote-buttons {
    gap: 4px;
  }
  
  .vote-count {
    min-width: 35px;
    font-size: 1em;
  }
}
 
/* 无数据样式 */
.no-data {
  text-align: center;
  color: red;
  padding: 20px;
  font-size: 16px;
}
/* 新增滚动容器样式 */
.scroll-container {
  max-height: 70vh; /* 最大高度为视口的70% */
  overflow-y: auto; /* 启用垂直滚动 */
  padding: 15px;
  border-radius: 8px;
  background-color: #f9fafb;
}
 
/* 自定义滚动条样式 */
.scroll-container::-webkit-scrollbar {
  width: 8px;
}
 
.scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
 
.scroll-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
 
.scroll-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
 

 
/* 调整列表项间距 */
.modern-list > li {
  margin-bottom: 15px;
  padding: 15px;
}
 
.list-column {
  min-width: 300px; /* 确保列宽足够 */
}
 
/* 警告图片尺寸调整 */
.warn-img {
  max-width: 150px;
  max-height: 150px;
  margin: 10px auto;
  display: block;
}
.footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 15px 0;
  margin-top: auto; /* 关键：将footer推到底部 */
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
 
.footer a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s;
}
 
.footer a:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* 优化姓名行布局 */
.name-vote-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
 
.name-label {
  font-weight: 500;
  color: #666;
  min-width: 80px;
}
 
.username {
  font-weight: 500;
  font-size: 1.1em;
  color: #333;
  min-width: 70px;
}
 
/* 美化投票按钮样式 */
.vote-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  float: right;
  margin-left: 10px;
}
 
.vote-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 36px;
  border-radius: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  cursor: pointer;
}
 
.vote-text {
  margin-left: 5px;
  font-size: 14px;
}
 
.vote-count {
  min-width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1em;
}
 
/* 点赞按钮 - 绿色系 */
.like-btn {
  background: linear-gradient(to right, #e8f5e9, #c8e6c9);
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
 
.like-btn:hover {
  background: linear-gradient(to right, #c8e6c9, #a5d6a7);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(46,125,50,0.2);
}
 
.like-btn.active {
  background: linear-gradient(to right, #4caf50, #388e3c);
  color: white;
  border-color: #388e3c;
}
 
/* 点踩按钮 - 红色系 */
.dislike-btn {
  background: linear-gradient(to right, #ffebee, #ffcdd2);
  color: #c62828;
  border: 1px solid #ef9a9a;
}
 
.dislike-btn:hover {
  background: linear-gradient(to right, #ffcdd2, #ef9a9a);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(198,40,40,0.2);
}
 
.dislike-btn.active {
  background: linear-gradient(to right, #f44336, #d32f2f);
  color: white;
  border-color: #d32f2f;
}
/* 蓝色小V基础样式 */
.blue-tag {
    display: inline-block;
    width: 16px;
    height: 16px;
    position: relative;
    vertical-align: middle;
}

/* 紫色团队名称样式 */
.team-name {
    color: #4a90e2; /* 紫色 */
    font-weight: bold;
    vertical-align: middle;
}
.apply-btn {  
    background: linear-gradient(135deg, #4a90e2 0%, #3a7bc8 100%);  
    color: white;  
    border: none;  
    padding: 12px 30px;  
    border-radius: 30px;  
    font-size: 16px;  
    font-weight: 600;  
    cursor: pointer;  
    transition: all 0.3s ease;  
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);  
    position: relative;  
    overflow: hidden;  
}
.sidebar-toggle{
    position: fixed;
    right: 10px;
    top: 80%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.sidebar-file1{
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.sidebar-file2{
    position: fixed;
    right: 10px;
    top: 65%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
@media (max-height: 600px) {
    .sidebar-toggle, .sidebar-file1, .sidebar-file2 {
        display: none !important;
    }
}
 /* 外层容器 */
    /* 通知栏容器 */
    .gd {
      width: 100%;
      height: 50px;
      background: #FFF8F0;
      border: 1px solid #FFE0E0;
      border-radius: 4px;
      display: flex;
      align-items: center; /* 垂直居中 */
      overflow: hidden;
      padding: 0 10px;
      box-sizing: border-box;
    }

    /* 滚动内容区域 */
    .gd-content {
      white-space: nowrap;
      color: #FF0000;
      font-weight: bold;
      font-size: 16px;
      position: relative;
      transform: translateX(100%); /* 初始状态：完全隐藏在右侧 */
    }
    .speaker-icon{
        z-index: 99999;
    }

    /* 滚动动画 */
    @keyframes scroll {
      0% {
        transform: translateX(100%); /* 从右侧空白处开始 */
      }
      
      
      100% {
        transform: translateX(calc(-100% - 20px)); /* 向左滚动并完全离开 */
      }
    }

    /* 滚动状态 */
    .gd-content.scrolling {
      animation: scroll 8s linear infinite;
    }

    .font_big{
      font-size: 20px;
    }
    /**点踩弹框**/
    .modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 500px;
    max-width: 90%;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="file"],
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-btn {
    background-color: #f44336;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

#imagePreview img {
    max-width: 200px;
    max-height: 150px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
    
     