/* ============================================
   公开信息披露列表页面样式
   ============================================ */

/* Banner */
.gkxxplist-banner {
  position: relative;
  height: 168px;
  background: var(--bg-gray-light);
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  .gkxxplist-banner {
    height: 280px;
  }
}

.gkxxplist-banner__img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gkxxplist-banner__content {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease-out;
  padding: 0 16px;
}

.gkxxplist-banner__title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
}

@media (min-width: 992px) {
  .gkxxplist-banner__title {
    font-size: 48px;
  }
}

.gkxxplist-banner__title span:first-child {
  color: var(--text-main);
}

.gkxxplist-banner__title span:last-child {
  color: var(--primary);
}

.gkxxplist-banner__desc {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

@media (min-width: 992px) {
  .gkxxplist-banner__desc {
    font-size: 18px;
  }
}

/* Main Content */
.gkxxplist-main {
  max-width: var(--max-width);
  margin: 0 auto;
  margin-top: -42px;
  position: relative;
  z-index: 12;
  padding-bottom: 80px;
}

@media (min-width: 992px) {
  .gkxxplist-main {
    margin-top: -56px;
  }
}

/* Filter Header - position: relative needed for dropdowns */
.gkxxplist-filter {
  position: relative;
}

/* Tab Arrow Buttons */
.gkxxplist-tabs-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.gkxxplist-tab-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 22;
}

.gkxxplist-tab-arrow:hover {
  background: var(--bg-gray-light);
  color: var(--primary);
  border-color: var(--primary);
}

.gkxxplist-tab-arrow--left {
  left: 0;
}

.gkxxplist-tab-arrow--right {
  right: 0;
}

@media (max-width: 991px) {
  .gkxxplist-tab-arrow {
    display: flex;
  }
}

.gkxxplist-tab.active {
  background: var(--primary);
  color: var(--text-white);
}

.gkxxplist-tab:first-child.active {
  border-top-left-radius: var(--radius-lg);
}

/* Content Area */
.gkxxplist-content {
  padding: 32px 40px;
  min-height: 500px;
}

@media (max-width: 991px) {
  .gkxxplist-content {
    padding: 32px 16px;
  }
}

/* Tab Content */
.gkxxplist-tab-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.gkxxplist-tab-content.active {
  display: block;
}

/* Section */
.gkxxplist-section {
  margin-bottom: 32px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.gkxxplist-section:last-child {
  margin-bottom: 0;
}

.gkxxplist-section__header {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  background: var(--bg-gray-light);
  border-bottom: 1px solid var(--border-light);
}

.gkxxplist-section__bar {
  width: 4px;
  height: 16px;
  background: var(--primary);
  margin-right: 12px;
  border-radius: 2px;
}

.gkxxplist-section__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

/* List */
.gkxxplist-list {
  background: var(--bg-white);
}

.gkxxplist-column {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.gkxxplist-column:last-child {
  margin-bottom: 0;
}

.gkxxplist-column__header {
  padding: 12px 16px;
  background: var(--bg-gray-light);
  border-bottom: 1px solid var(--border-light);
}

.gkxxplist-column__title {
  font-size: 14px;
  font-weight: 600;
  color: #666666;
  margin: 0;
}

.gkxxplist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

.gkxxplist-item:last-child {
  border-bottom: none;
}

.gkxxplist-item:hover {
  background: var(--bg-gray-light);
}

.gkxxplist-item__title {
  font-size: 14px;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.gkxxplist-item:hover .gkxxplist-item__title {
  color: var(--primary);
}

.gkxxplist-item__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.gkxxplist-item__date {
  font-size: 13px;
  color: var(--text-light);
}

.gkxxplist-item__arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.gkxxplist-item:hover .gkxxplist-item__arrow {
  border-color: var(--primary);
  background: var(--primary);
}

.gkxxplist-item__arrow svg {
  width: 12px;
  height: 12px;
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.gkxxplist-item:hover .gkxxplist-item__arrow svg {
  color: var(--text-white);
}

@media (max-width: 991px) {
  .gkxxplist-item {
    padding: 14px 16px;
  }

  .gkxxplist-item__meta {
    gap: 12px;
  }
}

/* 专项信息布局 */
.gkxxplist-special-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 992px) {
  .gkxxplist-special-layout {
    flex-direction: row;
    gap: 32px;
  }
}

/* 专项菜单 */
.gkxxplist-special-menu {
  width: 100%;
}

@media (min-width: 992px) {
  .gkxxplist-special-menu {
    width: 180px;
    flex-shrink: 0;
  }
}

.gkxxplist-special-menu__pc {
  display: none;
  flex-direction: column;
  gap: 6px;
}

@media (min-width: 992px) {
  .gkxxplist-special-menu__pc {
    display: flex;
  }
}

.gkxxplist-special-menu__mobile {
  position: relative;
  padding: 0 32px;
}

@media (min-width: 992px) {
  .gkxxplist-special-menu__mobile {
    display: none;
  }
}

.gkxxplist-special-menu__mobile-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.gkxxplist-special-menu__mobile-scroll::-webkit-scrollbar {
  display: none;
}

.gkxxplist-special-menu__mobile-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--text-muted);
  cursor: pointer;
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-66%);
  transition: all var(--transition-fast);
}

.gkxxplist-special-menu__mobile-arrow:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--bg-gray-light);
}

.gkxxplist-special-menu__mobile-arrow[hidden] {
  display: none;
}

.gkxxplist-special-menu__mobile-arrow--left {
  left: 0;
}

.gkxxplist-special-menu__mobile-arrow--right {
  right: 0;
}

.gkxxplist-special-menu__mobile-arrow svg {
  width: 16px;
  height: 16px;
}

.gkxxplist-special-menu__btn,
.gkxxplist-special-menu__btn-mobile {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-gray-light);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-align: left;
}

.gkxxplist-special-menu__btn:hover,
.gkxxplist-special-menu__btn-mobile:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.gkxxplist-special-menu__btn.active,
.gkxxplist-special-menu__btn-mobile.active {
  color: white;
  background: var(--primary);
  border-color: var(--primary);
}

.gkxxplist-special-menu__btn-mobile {
  padding: 8px 16px;
  font-size: 13px;
}

/* 专项内容 */
.gkxxplist-special-content {
  flex: 1;
  min-width: 0;
}

.gkxxplist-special-content__panel {
  display: none;
}

.gkxxplist-special-content__panel.active {
  display: block;
}

.gkxxplist-special-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.gkxxplist-hongli-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  color: #2563eb;
  font-size: 14px;
  text-decoration: none;
}

.gkxxplist-hongli-link:hover {
  color: #dc2626;
  text-decoration: underline;
}

.gkxxplist-special-subtab {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.gkxxplist-special-subtab:hover {
  color: var(--primary);
  background: var(--bg-gray-light);
}

.gkxxplist-special-subtab.active {
  color: var(--primary);
  /* background: rgba(201, 21, 30, 0.08); */
  border: 1px solid var(--primary);
}

.gkxxplist-special-content__list {
  display: none;
}

.gkxxplist-special-content__list.active {
  display: block;
}

.gkxxplist-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-light);
  font-size: 14px;
}

/* 专项信息表格 */
.gkxxplist-table-wrap {
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
}

.gkxxplist-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
}

.gkxxplist-table tr {
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-fast);
}

.gkxxplist-table tr:last-child {
  border-bottom: none;
}

.gkxxplist-table tr:hover {
  background: var(--bg-gray-light);
}

.gkxxplist-table td {
  padding: 14px 16px;
  color: var(--text-main);
}

.gkxxplist-table__label {
  width: 200px;
  color: var(--text-muted);
  background: rgba(249, 250, 251, 0.5);
  font-weight: 500;
}

@media (max-width: 991px) {
  .gkxxplist-table__label {
    width: 140px;
  }
}

/* 互联网保险表格样式 */
.gkxxplist-info-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
}

.gkxxplist-info-table tr {
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-fast);
}

.gkxxplist-info-table tr:last-child {
  border-bottom: none;
}

.gkxxplist-info-table tr:hover {
  background: var(--bg-gray-light);
}

.gkxxplist-info-table td {
  padding: 14px 16px;
  color: var(--text-main);
  vertical-align: top;
  position: relative;
}

.gkxxplist-info-table__label {
  width: 200px;
  color: var(--text-muted);
  background: rgba(249, 250, 251, 0.5);
  font-weight: 500;
  vertical-align: middle;
}

@media (max-width: 991px) {
  .gkxxplist-table-wrap {
    overflow-x: auto;
  }

  .gkxxplist-info-table {
    table-layout: fixed;
  }

  .gkxxplist-info-table__label {
    width: 140px;
    font-size: 13px;
  }

  .gkxxplist-info-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}

.gkxxplist-info-table__img {
  max-width: 160px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.gkxxplist-info-table__img:hover {
  opacity: 0.9;
}

.gkxxplist-sub-table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
  margin-bottom: 8px;
}

.gkxxplist-sub-table th,
.gkxxplist-sub-table td {
  padding: 8px;
  border: 1px solid var(--border-default);
  text-align: center;
}

.gkxxplist-sub-table thead {
  background: #fdf3e9;
  color: var(--text-muted);
}

.gkxxplist-sub-table td:first-child {
  text-align: left;
  background: rgba(249, 250, 251, 0.5);
}

.gkxxplist-link-btn {
  color: #2b579a;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}

.gkxxplist-link-btn:hover {
  color: var(--primary);
}

.gkxxplist-link-btn svg {
  width: 14px;
  height: 14px;
}

.gkxxplist-qrcode {
  width: 80px;
  height: 80px;
  margin-top: 8px;
}

/* 下拉框 */
.gkxxplist-dropdown-btn {
  color: #2b579a;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.gkxxplist-dropdown-btn:hover {
  color: var(--primary);
}

.gkxxplist-dropdown-btn svg {
  width: 14px;
  height: 14px;
}

.gkxxplist-dropdown {
  display: none;
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateX(-50%);
  margin-top: 8px;
  width: 320px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  z-index: 100;
}

.gkxxplist-dropdown.show {
  display: flex;
  flex-direction: column;
}

.gkxxplist-dropdown__select {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.gkxxplist-dropdown__select select {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  font-size: 13px;
  background: var(--bg-gray-light);
}

.gkxxplist-dropdown__result {
  max-height: 200px;
  overflow-y: auto;
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
}

/* 更新时间 */
.gkxxplist-update-time {
  text-align: right;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

/* 产品tabs */
.gkxxplist-product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.gkxxplist-product-tab {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 0;
  cursor: pointer;
  position: relative;
  background: none;
  border: none;
}

.gkxxplist-product-tab:hover {
  color: var(--text-main);
}

.gkxxplist-product-tab.active {
  color: var(--text-main);
  font-weight: 700;
}

.gkxxplist-product-tab.active::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

/* 搜索框 */
.gkxxplist-product-search {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin-bottom: 16px;
  margin-left: auto;
}

.gkxxplist-product-search input {
  width: 100%;
  height: 32px;
  padding: 0 56px 0 16px;
  border: 1px solid var(--border-default);
  border-radius: 9999px;
  font-size: 14px;
  outline: none;
}

.gkxxplist-product-search input:focus {
  border-color: var(--primary);
}

.gkxxplist-product-search__icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.gkxxplist-product-search__icon:hover {
  color: var(--primary);
}

.gkxxplist-product-search__icon svg {
  width: 14px;
  height: 14px;
}

.gkxxplist-product-search__clear {
  right: 32px;
}

.gkxxplist-product-search__clear.hidden {
  display: none;
}

.gkxxplist-product-search__btn {
  right: 8px;
}

/* 渠道筛选 */
.gkxxplist-channel-filter {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  background: var(--bg-gray-light);
  border-radius: 9999px;
  border: 1px solid var(--border-light);
  width: fit-content;
}

.gkxxplist-channel-btn {
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.gkxxplist-channel-btn:hover {
  color: var(--text-main);
}

.gkxxplist-channel-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

/* 数据表格 */
.gkxxplist-data-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
  table-layout: fixed;
}

.gkxxplist-data-table thead {
  background: #fdf3e9;
  color: var(--text-muted);
}

.gkxxplist-data-table th,
.gkxxplist-data-table td {
  padding: 10px 8px;
  border: 1px solid var(--border-light);
  text-align: center;
  word-wrap: break-word;
  white-space: normal;
  line-height: 1.5;
}

.gkxxplist-data-table th {
  font-weight: 500;
  white-space: normal;
}

.gkxxplist-data-table tbody tr:hover {
  background: var(--bg-gray-light);
}

.gkxxplist-data-table td:first-child,
.gkxxplist-data-table th:first-child {
  width: 50px;
}

/* 日期列固定宽度 */
.gkxxplist-data-table .col-date {
  width: 120px;
  white-space: nowrap;
}

/* 链接列更窄 */
.gkxxplist-data-table .col-link {
  width: 60px;
  white-space: nowrap;
}

/* 表格中的链接样式 */
.gkxxplist-data-table a {
  color: #2b579a;
  text-decoration: none;
}

.gkxxplist-data-table a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* 弹窗 */
.gkxxplist-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.gkxxplist-modal.show,
.gkxxplist-modal:not(.hidden) {
  display: flex;
}

.gkxxplist-modal.hidden {
  display: none;
}

.gkxxplist-modal__content {
  position: relative;
  z-index: 10;
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gkxxplist-modal__content--lg {
  width: 95%;
  max-width: 800px;
}

.gkxxplist-modal__content--xl {
  width: 95%;
  max-width: 1100px;
}

.gkxxplist-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gray-light);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.gkxxplist-modal__close:hover {
  background: var(--bg-gray-dark);
  color: var(--text-main);
}

.gkxxplist-modal__close svg {
  width: 18px;
  height: 18px;
}

.gkxxplist-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-gray-light);
}

.gkxxplist-modal__header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  padding-right: 40px;
}

.gkxxplist-modal__body {
  padding: 24px;
  overflow-y: auto;
}

.gkxxplist-modal__table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.gkxxplist-modal__table th,
.gkxxplist-modal__table td {
  padding: 10px 8px;
  border: 1px solid var(--border-light);
  text-align: center;
}

.gkxxplist-modal__table thead {
  background: #fdf3e9;
  color: var(--text-muted);
}

.gkxxplist-modal__table td:first-child {
  text-align: left;
  background: rgba(249, 250, 251, 0.5);
}

.gkxxplist-modal__table a {
  color: #2b579a;
}

.gkxxplist-modal__table a:hover {
  color: var(--primary);
}

.gkxxplist-modal__table--wide {
  min-width: 1000px;
}

.gkxxplist-scroll {
  overflow-x: auto;
}

.gkxxplist-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.gkxxplist-scroll::-webkit-scrollbar-track {
  background: var(--bg-gray-light);
  border-radius: 3px;
}

.gkxxplist-scroll::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: 3px;
}

.gkxxplist-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--border-dark);
}

/* 服务网点卡片 */
.sn-card {
  background: var(--bg-gray-light);
  border-radius: var(--radius);
  padding: var(--space);
  border: 1px solid var(--border-light);
  transition: border-color var(--transition-fast);
  margin-bottom: 8px;
}

.sn-card:last-child {
  margin-bottom: 0;
}

.sn-card:hover {
  border-color: var(--primary);
}

.sn-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.sn-card-region {
  background: rgba(201, 21, 30, 0.1);
  color: var(--primary);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: bold;
}

.sn-card-name {
  font-weight: bold;
  color: var(--text-main);
  font-size: 14px;
}

.sn-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: left;
}

.sn-card-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.sn-card-row-inline {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sn-card-icon {
  width: 14px;
  height: 14px;
  color: var(--text-light);
  flex-shrink: 0;
  margin-top: 1px;
}

.sn-card-text {
  line-height: 1.5;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .gkxxplist-data-table {
    width: auto;
  }

  .gkxxplist-data-table th {
    min-width: 80px;
  }

  .gkxxplist-data-table td {
    min-width: 80px;
  }
}
