:root {
  --bg: #0f0f0f;
  --card: #171717;
  --text: #e5e5e5;
  --subtext: #a3a3a3;
  --border: #2a2a2a;
}

.light {
  --bg: #ffffff;
  --card: #f5f5f5;
  --text: #111;
  --subtext: #555;
  --border: #ddd;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
}

#themeToggle {
  background: none;
  border: none;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  display: flex;
  gap: 60px;
  background: var(--card);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  width: 250px;
}

button {
  padding: 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: var(--text);
  color: var(--bg);
  font-weight: 500;
}

.right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

#qrBox {
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px dashed var(--border);
  border-radius: 12px;
}

.placeholder {
  text-align: center;
  color: var(--subtext);
}

.qrIcon {
  font-size: 30px;
  margin-bottom: 10px;
}

footer {
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: var(--subtext);
}

footer a {
  color: var(--text);
  text-decoration: none;
}
