:root {
  --bg: #0c0c0e;
  --card: #141416;
  --text: #ffffff;
  --muted: #9a9a9a;
  --border: #1f1f22;
  --purple: #7b3fe4;
  --green: #3ddc84;
}

* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
}

body {
  margin: 0;
  background: black;
  color: var(--text);
}

.app {
  max-width: 420px;
  margin: auto;
  height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  padding: 16px;
}

header h1 {
  margin: 0;
  font-size: 22px;
}

.btn {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 20px;
}

/* SEARCH */
.search-box {
  display: flex;
  align-items: center;
  background: var(--card);
  margin: 0 16px;
  border-radius: 12px;
  padding: 10px;
}

.search-box input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  outline: none;
}

.icon {
  margin: 0 6px;
  opacity: .7;
}

/* LIST */
.list {
  flex: 1;
  overflow-y: auto;
  margin-top: 12px;
}

.list::-webkit-scrollbar {
  display: none;
}

.item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.icon.red { background: #c62828; }
.icon.purple { background: var(--purple); }
.icon.gray { background: #444; }
.icon.blue { background: #1e88e5; }

.item .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-weight: bold;
}

.info {
  flex: 1;
}

.title {
  font-size: 15px;
}

.subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.amount {
  font-weight: 600;
}

.amount.green {
  color: var(--green);
}

/* NAV */
nav {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--border);
  padding: 10px 0;
  background: var(--bg);
}

nav div {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

nav .active {
  color: var(--purple);
}

.scan {
  background: var(--purple);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
}
