/* ============================================================
   trash.css — Trash App Window Interior
   macOS Desktop Website
   ============================================================ */

#window-trash .window-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  background: #f9f9f9;
  user-select: none;
  -webkit-user-select: none;
}

/* ── Empty state ─────────────────────────────────────────────── */

.trash-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.trash-window-icon {
  opacity: 0.55;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.trash-window-label {
  font-family: var(--font-system);
  font-size: 16px;
  color: #aaa;
  letter-spacing: 0.01em;
}

/* ── Filled state ────────────────────────────────────────────── */

.trash-filled-state {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.trash-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.trash-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  transition: background 0.1s ease;
}

.trash-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.trash-item-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trash-item-icon svg {
  width: 32px;
  height: auto;
}

.trash-item-label {
  flex: 1;
  font-family: var(--font-system);
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trash-item-putback {
  flex-shrink: 0;
  font-family: var(--font-system);
  font-size: 11px;
  color: #555;
  background: rgba(0, 0, 0, 0.07);
  border: none;
  border-radius: 5px;
  padding: 4px 9px;
  cursor: pointer;
  transition: background 0.1s ease;
}

.trash-item-putback:hover {
  background: rgba(0, 0, 0, 0.14);
}

/* ── Footer ──────────────────────────────────────────────────── */

.trash-footer {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding: 10px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(246, 246, 246, 0.9);
}

.trash-empty-btn {
  font-family: var(--font-system);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: #e03030;
  border: none;
  border-radius: 6px;
  padding: 6px 18px;
  cursor: pointer;
  transition: background 0.1s ease, transform 0.08s ease;
  min-height: 28px;
}

.trash-empty-btn:hover {
  background: #c72020;
}

.trash-empty-btn:active {
  transform: scale(0.97);
}
