.recent-section {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.recent-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recent-clear-all {
  font-size: 10px;
  color: var(--text3);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  transition: color 0.15s;
  padding: 0;
}

.recent-clear-all:hover { color: var(--text2); }

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recent-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: var(--recent-item-bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.recent-item:hover { border-color: var(--border2); background: var(--bg3); }

.recent-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.recent-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  gap: 8px;
}

.recent-courier {
  font-size: 12px;
  color: var(--text2);
  font-family: var(--mono);
  line-height: 1;
  white-space: nowrap;
}

.recent-awb {
  font-size: 12px;
  color: var(--text);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-delete {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
  transition: opacity 0.15s, background 0.15s, border-color 0.15s;
  flex-shrink: 0;
}

.recent-delete:hover { opacity: 1; background: var(--bg3); border-color: var(--border); }
.recent-delete.pin-active { opacity: 1; }

.pinned-badge {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--accent-color);
  border: 1px solid var(--tag-border);
  background-color: var(--tag-bg);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 4px;
  vertical-align: middle;
}
