/* Relocation History Card Styles */

.reloc-history-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(4,40,56,.03);
  transition: all 0.2s ease;
  cursor: pointer;
}

.reloc-history-card:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(4,40,56,.08);
}

/* Card Header */
.reloc-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.reloc-history-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Courier New', monospace;
  letter-spacing: -0.3px;
}

.reloc-history-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  border: 1.5px solid transparent;
}

.reloc-history-status.status-new {
  background: color-mix(in srgb, var(--blue) 15%, transparent);
  color: var(--blue);
  border-color: color-mix(in srgb, var(--blue) 40%, transparent);
}

.reloc-history-status.status-in_progress,
.reloc-history-status.status-processing {
  background: color-mix(in srgb, var(--orange) 15%, transparent);
  color: var(--orange);
  border-color: color-mix(in srgb, var(--orange) 40%, transparent);
}

.reloc-history-status.status-completed {
  background: color-mix(in srgb, var(--green) 15%, transparent);
  color: var(--green);
  border-color: color-mix(in srgb, var(--green) 40%, transparent);
}

.reloc-history-status.status-cancelled {
  background: color-mix(in srgb, var(--red) 15%, transparent);
  color: var(--red);
  border-color: color-mix(in srgb, var(--red) 40%, transparent);
}

/* Route Information */
.reloc-history-route {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.reloc-history-location {
  flex: 1;
  min-width: 0;
}

.reloc-history-city {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reloc-history-country {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reloc-history-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--muted);
}

/* Amount Information */
.reloc-history-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.reloc-history-money {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.reloc-history-currency {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-600);
  margin-left: 4px;
}

.reloc-history-date {
  font-size: 12px;
  color: var(--muted);
}
