:root {
  --primary: #0066ff;
  --primary-dark: #0052cc;
  --background: #ffffff;
  --text: #333333;
  --text-muted: #666666;
  --border: #dddddd;
  --shadow: rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #66a3ff;
    --primary-dark: #80b3ff;
    --background: #1a1a1a;
    --text: #ffffff;
    --text-muted: #cccccc;
    --border: #404040;
    --shadow: rgba(0, 0, 0, 0.3);
  }

  input {
    color-scheme: dark;
  }
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.5;
  margin: 0;
  padding: 24px 0;
}

form {
  max-width: 400px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  background: var(--background);
}

div {
  margin-bottom: 24px;
}

div:last-of-type {
  margin-bottom: 32px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--background);
  color: var(--text);
  font-family: inherit;
  box-sizing: border-box;
}

input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102, 163, 255, 0.1);
}

button {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-family: inherit;
  font-size: 16px;
}

button:hover {
  background: var(--primary-dark);
}

.search-results {
  max-width: 400px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  background: var(--background);
}

h1 {
  margin: 0 0 24px 0;
  font-size: 24px;
  font-weight: 600;
}

.result-item {
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
}

.label {
  font-weight: 500;
}

a {
  color: var(--text-muted);
  text-decoration: underline;
}
