/* pages/withdraw-records/withdraw-records.wxss */

/* 页面容器 */
.page {
  min-height: 100vh;
  background: linear-gradient(180deg, #F8F5FF 0%, #FFFFFF 100%);
}

/* 固定导航栏容器 */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(242, 237, 255, 0.6);
  backdrop-filter: blur(10px);
}

/* 状态栏 */
.status-bar {
  background: transparent;
}

/* 导航栏 */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32rpx;
  background: transparent;
  position: relative;
}

.nav-back {
  position: absolute;
  left: 32rpx;
  top: 50%;
  transform: translateY(-50%);
  width: 80rpx;
  height: 80rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.back-icon {
  width: 48rpx;
  height: 48rpx;
}

.nav-title {
  font-size: 36rpx;
  font-weight: 700;
  color: #1F2937;
  line-height: 1;
}

/* 内容滚动区域 */
.content-scroll {
  height: 100vh;
  box-sizing: border-box;
}

/* 状态筛选栏 */
.filter-bar {
  display: flex;
  align-items: center;
  padding: 24rpx 32rpx;
  background: #FFFFFF;
  margin: 24rpx 32rpx;
  border-radius: 16rpx;
  box-shadow: 0 4rpx 12rpx rgba(176, 106, 179, 0.08);
}

.filter-item {
  flex: 1;
  text-align: center;
  padding: 16rpx 0;
  font-size: 28rpx;
  color: #6B7280;
  border-radius: 12rpx;
  transition: all 0.3s;
}

.filter-item.active {
  background: linear-gradient(135deg, #B06AB3 0%, #9B4D9E 100%);
  color: #FFFFFF;
  font-weight: 600;
}

/* 提现记录列表 */
.records-list {
  padding: 0 32rpx;
}

.record-card {
  background: #FFFFFF;
  border-radius: 20rpx;
  padding: 32rpx;
  margin-bottom: 24rpx;
  box-shadow: 0 4rpx 16rpx rgba(176, 106, 179, 0.1);
}

/* 记录头部 */
.record-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24rpx;
  padding-bottom: 24rpx;
  border-bottom: 1rpx solid #F3F4F6;
}

.order-no {
  font-size: 26rpx;
  color: #6B7280;
}

.status {
  padding: 8rpx 20rpx;
  border-radius: 20rpx;
  font-size: 24rpx;
  font-weight: 600;
}

.status-pending {
  background: #FEF3C7;
  color: #D97706;
}

.status-approved {
  background: #D1FAE5;
  color: #059669;
}

.status-rejected {
  background: #FEE2E2;
  color: #DC2626;
}

/* 金额信息 */
.amount-section {
  margin-bottom: 24rpx;
}

.amount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16rpx;
}

.amount-row:last-child {
  margin-bottom: 0;
}

.amount-row.highlight {
  padding-top: 16rpx;
  border-top: 1rpx dashed #E5E7EB;
}

.amount-row .label {
  font-size: 28rpx;
  color: #6B7280;
}

.amount-row .value {
  font-size: 28rpx;
  color: #1F2937;
  font-weight: 600;
}

.amount-row .value.primary {
  font-size: 36rpx;
  color: #B06AB3;
  font-weight: 700;
}

/* 时间信息 */
.time-section {
  padding-top: 24rpx;
  border-top: 1rpx solid #F3F4F6;
}

.time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12rpx;
}

.time-row:last-child {
  margin-bottom: 0;
}

.time-row .label {
  font-size: 26rpx;
  color: #9CA3AF;
}

.time-row .value {
  font-size: 26rpx;
  color: #6B7280;
}

/* 拒绝原因 */
.reject-reason {
  margin-top: 24rpx;
  padding: 20rpx;
  background: #FEF2F2;
  border-radius: 12rpx;
  border-left: 4rpx solid #DC2626;
}

.reason-label {
  font-size: 26rpx;
  color: #DC2626;
  font-weight: 600;
  margin-bottom: 8rpx;
}

.reason-text {
  font-size: 26rpx;
  color: #991B1B;
  line-height: 1.6;
}

/* 到账说明 */
.arrival-tip {
  margin-top: 24rpx;
  padding: 20rpx;
  background: #F0FDF4;
  border-radius: 12rpx;
  display: flex;
  align-items: center;
}

.tip-icon {
  font-size: 32rpx;
  margin-right: 12rpx;
}

.tip-text {
  font-size: 26rpx;
  color: #059669;
}

/* 空状态 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120rpx 32rpx;
}

.empty-icon {
  width: 240rpx;
  height: 240rpx;
  margin-bottom: 32rpx;
  opacity: 0.6;
}

.empty-text {
  font-size: 32rpx;
  color: #6B7280;
  font-weight: 600;
  margin-bottom: 16rpx;
}

.empty-tip {
  font-size: 26rpx;
  color: #9CA3AF;
}

/* 加载状态 */
.loading-more {
  text-align: center;
  padding: 40rpx 0;
}

.loading-text {
  font-size: 26rpx;
  color: #9CA3AF;
}

/* 没有更多 */
.no-more {
  text-align: center;
  padding: 40rpx 0;
}

.no-more-text {
  font-size: 26rpx;
  color: #D1D5DB;
}

/* 底部占位 */
.bottom-placeholder {
  height: 40rpx;
}
