/* LeaseMatrix Transactions Page — LeasingHub 風格成交列表 */

.lmt-page {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 0 48px;
  color: #4a5568;
}

.lmt-page-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #2d3748;
  letter-spacing: 0.01em;
}

.lmt-page-tabs {
  margin-bottom: 24px;
}

.lmt-page-toolbar {
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(96, 116, 128, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}

.lmt-filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
}

.lmt-filter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.lmt-filter-item--dates {
  grid-column: span 1;
}

.lmt-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: #607480;
}

.lmt-filter-select,
.lmt-filter-input {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(96, 116, 128, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #2d3748;
  font-size: 14px;
  line-height: 1.4;
}

.lmt-filter-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lmt-filter-inline .lmt-filter-input {
  flex: 1 1 0;
}

.lmt-filter-sep {
  color: #718096;
  flex: 0 0 auto;
}

.lmt-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(96, 116, 128, 0.25);
}

.lmt-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lmt-btn-primary {
  background: #2f80c8;
  color: #fff;
}

.lmt-btn-primary:hover {
  background: #256aa5;
}

.lmt-btn-ghost {
  background: transparent;
  border-color: rgba(96, 116, 128, 0.35);
  color: #607480;
}

.lmt-btn-ghost:hover {
  border-color: #2f80c8;
  color: #2f80c8;
}

.lmt-page-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: #718096;
  font-size: 14px;
}

.lmt-page-table-wrap.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.lmt-page-pagination {
  margin-top: 24px;
}

.lmt-page-pagination .lmt-pagination {
  margin-top: 0;
}

.lmt-page-pagination .page-numbers {
  cursor: pointer;
}

@media (max-width: 992px) {
  .lmt-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .lmt-page-title {
    font-size: 24px;
  }

  .lmt-filter-bar {
    grid-template-columns: 1fr;
  }

  .lmt-filter-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .lmt-filter-sep {
    display: none;
  }

  .lmt-filter-actions {
    justify-content: stretch;
  }

  .lmt-filter-actions .lmt-btn {
    flex: 1 1 0;
  }
}
