* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  background: #f5f6fa;
  color: #222;
}

.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.version-badge {
  font-size: 0.75rem;
  color: #666;
  background: #f0f0f0;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 500;
}

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

.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

button {
  padding: 10px 16px;
  border: none;
  background: #2b7cff;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

button.secondary {
  background: #5f6b7a;
}

button.danger {
  background: #d64545;
}

button.small {
  margin-top: 8px;
  padding: 6px 10px;
  font-size: 12px;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 16px;
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 240px;
  justify-content: center;
  border: 1px dashed #ccc;
  border-radius: 10px;
  padding: 10px;
}

.qr-box img {
  max-width: 220px;
  margin-bottom: 10px;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.hidden {
  display: none;
}

.error {
  color: #d64545;
}

.info {
  color: #2b7cff;
}

.status-note {
  background: #fff3cd;
  color: #7a5d00;
  border: 1px solid #ffeeba;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 13px;
}
