/* Base Reset and Theme Defaults */
:root {
  --bg: #121212;
  --text: #ffffff;
  --accent: #00d1b2;
  --card-bg: #1e1e1e;
  --border: #333;
  --poor: #ff6b6b;
  --average: #f0ad4e;
  --rich: #1dd1a1;
}

body.light-theme {
  --bg: #ffffff;
  --text: #111111;
  --accent: #007bff;
  --card-bg: #f9f9f9;
  --border: #ccc;
  --poor: #ff6b6b;
  --average: #f0ad4e;
  --rich: #1dd1a1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 2rem;
  transition: background-color 0.3s, color 0.3s;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

header h1 {
  width: 50%;

  font-size: 2rem;
}

header button {
  background-color: var(--accent);
  color: #fff;
  border: none;
  width: 250px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

header button:hover {
  background-color: #00796b;
}

/* Main Sections */
main {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

section {
  flex: 1;
  max-height: 900px;
  min-width: 300px;
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: background-color 0.3s;
}

section h2 {
  margin-bottom: 1rem;
}

/* Form Elements */
input, select, button {
  display: block;
  width: 100%;
  padding: 0.6rem;
  margin: 0.5rem 0 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background-color: var(--bg);
  color: var(--text);
  transition: border-color 0.3s;
}

button {
  background-color: var(--accent);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background-color: #009688;
}

ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding-left: 0;
}

li {
  width: 100%;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.status {
  width: 100%;
  margin-top: 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  padding: 1rem;
  border-radius: 6px;
}

.status-poor {
  background-color: var(--poor);
  color: white;
}

.status-average {
  background-color: var(--average);
  color: white;
}

.status-rich {
  background-color: var(--rich);
  color: white;
}

#walletList{
  gap: 30px;
}

@media (max-width: 768px) {
  main {
    flex-direction: column;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
