/* 嘉宾页面专用样式 */

/* 嘉宾列表容器 */
.guest-list {
  display: flex;
  flex-wrap: wrap;
  /* padding: 40px 4.245% 0; */
  padding: 40px 0 0;
}

/* 嘉宾卡片样式 */
.guest-card {
  margin-right: 4.24%;
  margin-bottom: 4.24%;
  width: 16.4%;
  background: white;
  transition: all 0.3s ease;
  cursor: pointer;
}
.guest-card:nth-child(5n) {
  margin-right: 0;
}

.guest-card:hover {
  transform: translateY(-8px);
}

/* 嘉宾头像 */
.guest-avatar {
  margin-bottom: 20px;
  width: 100%;
  height: 0;
  padding-bottom: 120%;
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
}

.guest-avatar img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

/* 嘉宾信息 */
.guest-info h4 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: normal;
}

.guest-info p {
  margin: 0;
  font-size: 14px;
}

.guest-info p:first-of-type {
  color: #666;
  margin-bottom: 5px;
}

.guest-info p:last-of-type {
  color: #999;
}

/* 分页导航样式 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.pagination-btn + .pagination-btn {
  margin-left: 10px;
}
.pagination-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(27, 16, 216, 1) 0%,
    rgba(78, 1, 143, 1) 100%
  );
  border-radius: 0.31rem;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
}
.pagination-btn span {
  position: relative;
  z-index: 2;
}
.pagination-btn {
  z-index: 2;
  width: 2.38rem;
  height: 2.38rem;
  border-radius: 0.31rem;
  border: 1px solid var(--light-grey);
  background: white;
  color: var(--medium-grey);
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  opacity: 1;
}

.pagination-btn:hover {
  color: white;
  transform: scale(1.1);
}
.pagination-btn:hover::after {
  opacity: 1;
}

.swiper-pagination-bullet-active,
.pagination-btn.active {
  color: white;
  border: none;
  font-weight: bold;
}
.swiper-pagination-bullet-active:after,
.pagination-btn.active::after {
  opacity: 1;
}
.all-guest-section {
  padding: 80px 0;
}
/* 表格区域样式 */

.table {
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.table-title {
  text-align: left;
}

/* 搜索框样式 */
.table-search {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
  gap: 10px;
}

.search-input {
  width: 250px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: var(--vibrant-purple);
  box-shadow: 0 0 0 2px rgba(27, 16, 216, 0.1);
}

.search-btn {
  padding: 12px 24px;
  background: var(--vibrant-purple);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: #1408b8;
}

/* 表格样式 */
.table-wrapper {
  overflow: hidden;
  margin-bottom: 40px;
}

/* 把表格中的线去掉 */
.table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}

.table thead {
  background: #f8f9fa;
}

.table tbody tr:nth-child(odd) {
  background: #efefef;
}
.table tbody tr:nth-child(even) {
  background: #f8f8f8;
}
.table th {
  padding: 20px 16px;
  text-align: left;
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.exhibitor-name {
  width: 260px;
}
.exhibitor-brief {
  width: calc(100% - 260px);
}

/* 嘉宾表格样式 */
.guest-table th:first-child {
  width: 15%;
}

.guest-table th:nth-child(2) {
  width: 30%;
}

.guest-table th:nth-child(3) {
  width: 55%;
}

/* 手册表格样式 */
.manual-table th:first-child {
  width: 30%;
}

.manual-table th:nth-child(2) {
  width: 40%;
}

.manual-table th:nth-child(3) {
  width: 15%;
}

.manual-table th:nth-child(4) {
  width: 15%;
}

/* .exhibitor-table th:first-child {
    width: 20%;
}
.exhibitor-table th:nth-child(2) {
    width: 20%;
}
.exhibitor-table th:nth-child(3) {
    width: 60%;
} */

.table td {
  padding: 16px;
  color: #666;
  font-size: 14px;
  vertical-align: top;
}

.table tbody tr:hover {
  background: #f8f9fa;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* 表格分页样式 */
.table-pagination {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.table-pagination a + a {
  margin-left: 0.48rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .guest-card {
    width: 22%;
    margin-right: 4%;
  }
  .guest-card:nth-child(5n) {
    margin-right: 4%;
  }
  .guest-card:nth-child(4n) {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .guest-card {
    width: 47.5%;
    margin: 0;
    margin-bottom: 1.28rem;
  }

  .guest-list {
    padding: 20px 0;
    justify-content: space-between;
    gap: 0;
  }

  .all-guest-section {
    padding: 40px 0 0;
  }

  .table-title {
    font-size: 24px;
    text-align: center;
  }

  .guest-search {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .search-input {
    width: 100%;
    max-width: 300px;
  }

  .table-wrapper {
    overflow-x: auto;
  }

  .table {
    min-width: 600px;
  }

  .table th,
  .table td {
    padding: 12px 8px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .guest-list {
    /* gap: 20px; */
  }

  .pagination {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .pagination-btn {
    margin-left: 0.4rem;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .table th:first-child,
  .table th:nth-child(3) {
    width: 20%;
  }

  .table th:nth-child(2) {
    width: 25%;
  }

  .table th:nth-child(4) {
    width: 35%;
  }
}

.guests-cell {
  background: white;
  padding: 24px 20px;
}

.section-header {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  background: #f0f0f0;
  padding: 12px 16px;
  margin: -24px -20px 20px -20px;
  border-bottom: 1px solid #ddd;
}

.guest-list {
  margin-top: 0;
}

.guest-item {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e9ecef;
}

.guest-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.guest-type {
  font-size: 12px;
  color: var(--vibrant-purple);
  font-weight: 600;
  margin-bottom: 4px;
}

.guest-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.guest-title {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .schedule-section {
    padding: 40px 0;
  }

  .schedule-table-wrapper {
    overflow-x: auto;
  }

  .schedule-table {
    min-width: 700px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 16px 12px;
    font-size: 14px;
  }

  .time-range {
    font-size: 14px;
    padding: 10px 12px;
  }

  .subject-title {
    font-size: 15px;
  }

  .subject-subtitle {
    font-size: 13px;
  }

  .speech-title {
    font-size: 14px;
  }

  .speech-speaker {
    font-size: 13px;
  }

  .speech-description {
    font-size: 11px;
  }

  .section-header {
    font-size: 15px;
    padding: 10px 12px;
    margin: -16px -12px 16px -12px;
  }
}

@media (max-width: 480px) {
  .schedule-table {
    min-width: 100%;
    border: 1px solid #f4f7f8;
  }
  .schedule-table-header {
    display: none;
  }
  .schedule-table-title {
    padding-left: 2rem;
  }
  .guest-name,
  .subject-title {
    font-size: 14px;
  }

  .guest-title,
  .subject-description {
    font-size: 11px;
  }

  .section-header {
    font-size: 14px;
  }
  .schedule-table-content-item {
    flex-direction: column;
    padding: 0.8rem 0;
    font-size: 14px;
  }

  .subject-column,
  .time-column {
    width: 100%;
  }
}
