* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0b1220;
  color: #e5e7eb;
}

.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px;
  border-right: 1px solid #1f2937;
  background: #0f172a;
}

.sidebar h1 {
  margin: 0;
  font-size: 24px;
}

.sidebar p {
  margin: 6px 0 20px;
  color: #94a3b8;
}

.sidebar input {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #374151;
  background: #1f2937;
  color: white;
  margin-bottom: 18px;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar nav a {
  text-decoration: none;
  color: #e5e7eb;
  padding: 10px 12px;
  border-radius: 10px;
}

.sidebar nav a:hover {
  background: #1f2937;
}

.main {
  padding: 24px;
}

.category {
  margin-bottom: 40px;
}

.category h2 {
  margin-bottom: 16px;
  color: #93c5fd;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.wide-card {
  grid-column: span 2;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

textarea,
input[type="text"],
input[type="number"],
select {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #374151;
  background: #1f2937;
  color: white;
  font-size: 14px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 8px;
}

button:hover {
  opacity: 0.92;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  margin-bottom: 8px;
}

.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
}

.options label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qr-box {
  margin-top: 10px;
  text-align: center;
}

@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #1f2937;
  }

  .wide-card {
    grid-column: span 1;
  }
}
