* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: #111;
  color: #fff;
}

.centered {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.card {
  background: #1a1a1a;
  padding: 32px;
  border-radius: 16px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
}

h1 {
  margin: 0;
  font-size: 28px;
}

.subtitle {
  opacity: .7;
  margin-bottom: 24px;
}

input {
  width: 100%;
  padding: 14px;
  font-size: 18px;
  border-radius: 10px;
  border: none;
  margin-bottom: 16px;
  text-align: center;
}

button {
  width: 100%;
  padding: 14px;
  font-size: 18px;
  border-radius: 10px;
  border: none;
  background: #c62828;
  color: #fff;
  cursor: pointer;
}

button:active {
  transform: scale(.98);
}

.error {
  color: #ff5252;
  margin-top: 12px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #000;
}

.status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  background: #333;
  margin-left: 8px;
}

.container {
  padding: 16px;
}

.row {
  display: flex;
  gap: 8px;
}

#itemsBoard {
  margin-top: 24px;
}

.location-block {
  margin-bottom: 24px;
}

.location-block h4 {
  margin-bottom: 8px;
}

.item {
  background: #1a1a1a;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 14px;
}

.extra {
  border-left: 4px solid #ff9800;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

input[type="date"] {
  padding: 8px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
}

.grid-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

th, td {
  border: 1px solid #222;
  padding: 8px;
  text-align: center;
}

th {
  background: #000;
  font-size: 14px;
}

td {
  background: #151515;
}

.cell {
  display: flex;
  gap: 4px;
}

.cell input {
  width: 60%;
  padding: 6px;
  font-size: 14px;
  border-radius: 6px;
  border: none;
}

.cell select {
  width: 40%;
  padding: 6px;
  font-size: 12px;
  border-radius: 6px;
  border: none;
}
