/* ============================================
   红利实现率页面样式
   ============================================ */

/* Banner */
.hllsxl-banner {
  position: relative;
  height: 168px;
  background: var(--bg-gray-light);
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  .hllsxl-banner {
    height: 280px;
  }
}

.hllsxl-banner__img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hllsxl-banner__content {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease-out;
}

@media (max-width: 992px) {
  .hllsxl-banner__content {
    padding: 0 16px;
  }
}

.hllsxl-banner__title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
}

@media (min-width: 992px) {
  .hllsxl-banner__title {
    font-size: 48px;
  }
}

.hllsxl-banner__title span:first-child {
  color: var(--text-main);
}

.hllsxl-banner__title span:last-child {
  color: var(--primary);
}

.hllsxl-banner__desc {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

@media (min-width: 992px) {
  .hllsxl-banner__desc {
    font-size: 18px;
  }
}

/* Main Content */
.hllsxl-main {
  max-width: var(--max-width);
  margin: 0 auto;
  margin-top: -42px;
  position: relative;
  z-index: 10;
  padding-bottom: 80px;
}

@media (min-width: 992px) {
  .hllsxl-main {
    margin-top: -56px;
  }
}

/* Content */
.hllsxl-content {
  padding: 32px 40px;
  min-height: 500px;
}

@media (max-width: 991px) {
  .hllsxl-content {
    padding: 32px 16px;
  }
}

/* 更新时间 */
.hllsxl-update-time {
  text-align: right;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

/* 提示信息 */
.hllsxl-notes {
  margin-top: 24px;
  padding: 16px;
  background: #f8f8f8;
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.hllsxl-notes__title {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
}

.hllsxl-notes__list {
  margin: 0;
  padding-left: 20px;
}

.hllsxl-notes__list li {
  margin-bottom: 4px;
}

/* 下拉框样式 */
.hllsxl-select-wrap {
  margin-bottom: 16px;
}

.hllsxl-select {
  width: 100%;
  max-width: 320px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-main);
  background: var(--bg-white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  transition: border-color var(--transition-fast);
}

.hllsxl-select:focus {
  outline: none;
  border-color: var(--primary);
}

@media (max-width: 640px) {
  .hllsxl-select {
    max-width: 100%;
  }
}

/* 表格 */
.hllsxl-table-wrap {
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
}

.hllsxl-data-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
  table-layout: fixed;
}

.hllsxl-data-table thead {
  background: #fdf3e9;
  color: var(--text-muted);
}

.hllsxl-data-table th,
.hllsxl-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;
}

.hllsxl-data-table tbody tr:hover {
  background: var(--bg-gray-light);
}

/* 表格中的链接样式 */
.hllsxl-data-table a {
  color: #2b579a;
  text-decoration: none;
}

.hllsxl-data-table a:hover {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 991px) {
  .hllsxl-data-table {
    width: auto;
  }

  .hllsxl-data-table th {
    min-width: 80px;
  }

  .hllsxl-data-table td {
    min-width: 80px;
  }

  .hllsxl-table-wrap {
    overflow-x: auto;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}