body {
  background: #0d0d0d;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  padding: 20px;
  padding-bottom: 90px; /* space for bottom nav */
}

h1, h2, h3 {
  margin: 10px 0;
}

p {
  color: #ccc;
}

a {
  color: inherit;
}

.btn {
  display: inline-block;
  padding: 14px 20px;
  background: #4da6ff;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  margin-top: 12px;
  text-decoration: none;
}

.btn-secondary {
  background: #333;
}

.card {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.card img {
  width: 100%;
  border-radius: 10px;
}

.card small {
  color: #888;
}

input,
select {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  border: none;
  margin-bottom: 14px;
  background: #111;
  color: #fff;
  font-size: 16px;
}

label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #bbb;
}

/* Camera */
.video-wrapper {
  width: 100%;
  margin-top: 10px;
}

video {
  width: 100%;
  border-radius: 14px;
  border: 2px solid #222;
}

#preview-img {
  width: 100%;
  border-radius: 14px;
  margin-top: 10px;
  display: none;
}

/* Bottom nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 62px;
  background: #111;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 50;
}

.bottom-nav a {
  color: #bbb;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
}

.bottom-nav a span {
  display: block;
  font-size: 20px;
}

.bottom-nav a.active {
  color: #4da6ff;
}

/* Floating scan button */
.fab {
  width: 66px;
  height: 66px;
  background: #4da6ff;
  border-radius: 50%;
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Small helper */
.text-center {
  text-align: center;
}
