/* ============================================
   风险提示页面样式
   ============================================ */

/* 表格通用样式 */
.bxxx-list-update-time {
  text-align: right;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.bxxx-list-table-wrap {
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  overflow: hidden;
}

.bxxx-list-data-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
  table-layout: fixed;
}

.bxxx-list-data-table thead {
  background: #fdf3e9;
  color: var(--text-muted);
}

.bxxx-list-data-table th,
.bxxx-list-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;
}

.bxxx-list-data-table th:nth-child(2),
.bxxx-list-data-table td:nth-child(2) {
  text-align: left;
}

.bxxx-list-data-table tbody tr:hover {
  background: var(--bg-gray-light);
}

.bxxx-list-data-table td:first-child,
.bxxx-list-data-table th:first-child {
  width: 50px;
}

.bxxx-list-data-table .col-link {
  width: 80px;
  white-space: nowrap;
}

/* 表格中的链接样式 */
.bxxx-list-data-table a {
  color: #2b579a;
  text-decoration: none;
}

.bxxx-list-data-table a:hover {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 991px) {
  .bxxx-list-data-table {
    width: auto;
  }

  .bxxx-list-data-table th {
    min-width: 80px;
  }

  .bxxx-list-data-table td {
    min-width: 80px;
  }

  .bxxx-list-table-wrap {
    overflow-x: auto;
  }
}

/* Banner */
.fxtx-banner {
  position: relative;
  height: 168px;
  background: var(--bg-gray-light);
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  .fxtx-banner {
    height: 280px;
  }
}

.fxtx-banner__img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fxtx-banner__content {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  /* padding: 0 16px; */
  animation: fadeInUp 0.6s ease-out;
}

.fxtx-banner__title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
}

@media (max-width: 992px) {
  .fxtx-banner__content {
    padding: 0 16px;

  }
}

@media (min-width: 992px) {
  .fxtx-banner__title {
    font-size: 48px;
  }
}

.fxtx-banner__title span:first-child {
  color: var(--text-main);
}

.fxtx-banner__title span:last-child {
  color: var(--primary);
}

.fxtx-banner__desc {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

@media (min-width: 992px) {
  .fxtx-banner__desc {
    font-size: 18px;
  }
}

/* Main Content */
.fxtx-main {
  max-width: var(--max-width);
  margin: 0 auto;
  /* padding: 0 16px; */
  margin-top: -42px;
  position: relative;
  z-index: 10;
  padding-bottom: 80px;
}

@media (min-width: 992px) {
  .fxtx-main {
    margin-top: -56px;
  }
}

.fxtx-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.fxtx-filter {
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .fxtx-filter {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Tabs & Search are now handled by shared .section-tabs / .section-tab */

.fxtx-search {
  position: relative;
  width: 100%;
  padding: 12px 16px;
}

@media (min-width: 992px) {
  .fxtx-search {
    width: 256px;
    padding: 0 16px 0 0;
  }
}

.fxtx-search__input {
  width: 100%;
  height: 36px;
  padding: 0 16px 0 40px;
  background: var(--bg-gray-light);
  border: 1px solid var(--border-default);
  border-radius: 9999px;
  font-size: 14px;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.fxtx-search__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 21, 30, 0.1);
}

.fxtx-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-light);
  pointer-events: none;
}

/* List Content */
.fxtx-content {
  padding: 32px 40px;
  min-height: 500px;
}

@media (max-width: 991px) {
  .fxtx-content {
    padding: 32px 16px;
  }
}

/* Risk List */
.fxtx-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 400px;
}

.fxtx-item {
  display: block;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  animation: fadeInUp 0.4s ease-out both;
}

.fxtx-item:hover {
  border-color: rgba(201, 21, 30, 0.3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.fxtx-item__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fxtx-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
}

.fxtx-item:hover .fxtx-item__dot {
  opacity: 1;
}

.fxtx-item__title {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition-fast);
}

.fxtx-item:hover .fxtx-item__title {
  color: var(--primary);
}

.fxtx-item__date {
  font-size: 14px;
  color: var(--text-light);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.fxtx-item:hover .fxtx-item__date {
  color: var(--primary);
}

.fxtx-item__arrow {
  width: 16px;
  height: 16px;
  color: var(--text-light);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.fxtx-item:hover .fxtx-item__arrow {
  color: var(--primary);
  transform: translateX(4px);
}

/* Pagination */
.fxtx-pagination {
  margin-top: 40px;
}

.fxtx-pagination__btn {
  /* 继承 .pagination__btn 公共样式 */
}

/* Empty State */
.fxtx-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  color: var(--text-light);
}

.fxtx-empty i {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}