/* 交易记录页 */
.trans-record-page[data-v-44d199da] {
  width: 100%;
  min-height: 100vh;
  background: #f1f1f1;
  padding-bottom: 24px;
  box-sizing: border-box;
}

.trans-record-page[data-v-44d199da] .trans-record-main {
  width: 92%;
  max-width: 480px;
  margin: 12px auto 0;
  background: #fff;
  border-radius: 12px;
  box-sizing: border-box;
  padding: 14px 12px 20px;
  min-height: calc(100vh - 70px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 筛选区 */
.trans-record-page[data-v-44d199da] .trans-record-filter-wrap {
  position: relative;
  margin-bottom: 8px;
  z-index: 20;
}

.trans-record-page[data-v-44d199da] .saibox {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.trans-record-page[data-v-44d199da] .trans-filter-trigger {
  flex: 1;
  min-width: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #3d3428 !important;
  line-height: 1.35;
  padding: 10px 4px !important;
  text-align: center;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.trans-record-page[data-v-44d199da] .trans-filter-trigger-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trans-record-page[data-v-44d199da] .trans-filter-arrow {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #8a7a68;
  transition: transform 0.2s;
}

.trans-record-page[data-v-44d199da] .trans-filter-trigger.is-open {
  color: #cf9e56 !important;
}

.trans-record-page[data-v-44d199da] .trans-filter-trigger.is-open .trans-filter-arrow {
  transform: rotate(180deg);
  border-top-color: #cf9e56;
}

/* 下拉菜单 */
.trans-record-page[data-v-44d199da] .trans-filter-dropdown-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  background: #fff;
  border: 1px solid #e6cbb0;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.trans-record-page[data-v-44d199da] .trans-filter-dropdown-list {
  max-height: 260px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.trans-record-page[data-v-44d199da] .trans-filter-dropdown-platform {
  max-height: 280px;
}

.trans-record-page[data-v-44d199da] .trans-filter-option {
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  line-height: 1.4;
  border-bottom: 1px solid #f5f0ea;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.trans-record-page[data-v-44d199da] .trans-filter-option:last-child {
  border-bottom: none;
}

.trans-record-page[data-v-44d199da] .trans-filter-option:active {
  background: #fffaf3;
}

.trans-record-page[data-v-44d199da] .trans-filter-option.is-active {
  color: #cf9e56;
  font-weight: 600;
  background: #fffaf5;
}

/* 筛选与订单列表间距 */
.trans-record-page[data-v-44d199da] .trans-record-list-wrap {
  margin-top: 12px;
  padding-top: 0;
}

.trans-record-page[data-v-44d199da] .trans-record-list {
  padding-bottom: 80px;
}

.trans-record-page[data-v-44d199da] .trans-record-list .van-list__finished-text,
.trans-record-page[data-v-44d199da] .trans-record-list .van-list__loading {
  font-size: 13px;
  color: #999;
  padding: 16px 0;
}

.trans-record-page[data-v-44d199da] .trans-record-item {
  padding: 14px 12px;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #fff 0%, #faf8f6 100%);
  border: 1px solid #ede9e7;
  border-radius: 10px;
  box-sizing: border-box;
}

.trans-record-page[data-v-44d199da] .trans-record-order {
  font-size: 12px;
  color: #8a7a68;
  line-height: 1.5;
  margin-bottom: 8px;
  word-break: break-all;
}

.trans-record-page[data-v-44d199da] .trans-record-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.trans-record-page[data-v-44d199da] .trans-record-amount {
  font-size: 17px;
  font-weight: 700;
  color: #3d3428;
  line-height: 1.3;
  flex-shrink: 0;
}

.trans-record-page[data-v-44d199da] .trans-record-payway {
  font-size: 13px;
  font-weight: 500;
  color: #5c5248;
  line-height: 1.3;
  text-align: center;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trans-record-page[data-v-44d199da] .trans-record-state {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  background: #f5f0ea;
  color: #8a7a68;
}

.trans-record-page[data-v-44d199da] .trans-record-state.is-pending {
  background: #fff8ee;
  color: #cf9e56;
}

.trans-record-page[data-v-44d199da] .trans-record-state.is-success {
  background: #eef8f0;
  color: #2a9d4b;
}

.trans-record-page[data-v-44d199da] .trans-record-state.is-fail {
  background: #fef0f0;
  color: #e05050;
}

.trans-record-page[data-v-44d199da] .trans-record-state.is-warn {
  background: #fff5eb;
  color: #d48806;
}

.trans-record-page[data-v-44d199da] .trans-record-time {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
  line-height: 1.4;
}

.trans-record-page[data-v-44d199da] .trans-record-empty {
  margin-top: 48px;
  padding: 24px 16px 40px;
  text-align: center;
}

.trans-record-page[data-v-44d199da] .trans-record-empty img {
  width: 42%;
  max-width: 160px;
  opacity: 0.85;
}

.trans-record-page[data-v-44d199da] .trans-record-empty-text {
  margin: 16px 0 0;
  font-size: 14px;
  color: #999;
  line-height: 1.5;
}
