/* Two-image background replacement page. Loaded after styles.css. */

.slot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.slot:hover {
  border-color: rgba(167, 93, 69, 0.45);
  background: var(--surface-3);
}

.slot.has-file {
  border-style: solid;
  border-color: rgba(167, 93, 69, 0.32);
  background: var(--surface);
}

.slot.is-dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.slot-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.slot-empty svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.slot-thumb {
  width: 96px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-3);
  flex: none;
}

.slot-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.slot-name {
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-size {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.slot-clear {
  flex: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted-strong);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  cursor: pointer;
}

.slot-clear:hover {
  color: var(--danger);
  border-color: rgba(162, 62, 53, 0.35);
}

.slot-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.slot-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
