/* 全体 */


/* カード */
.container {
  background: #ffffff;
  width: 600px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* タイトル */
h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
}

/* 入力エリア */
.form-group {
  margin-bottom: 15px;
}

/* サイズ入力（スライダー＋数値） */
.size-control {
  display: flex;
  gap: 10px;
  align-items: center;
}

.size-control input[type="range"] {
  margin: 0;
  padding: 0;
  width: 100%;
}

/* WebKit系（Chrome, Safari, Edge） */
.size-control input[type="range"]::-webkit-slider-runnable-track {
  margin: 0;
  padding: 0;
}

/* Firefox */
.size-control input[type="range"]::-moz-range-track {
  margin: 0;
  padding: 0;
}

.size-control input[type="number"] {
  width: 80px;
}

label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 5px;
}

input,
select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

input:focus,
select:focus {
  outline: none;
  border-color: #4a90e2;
}

/* ボタン */
.generate-btn {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: #4a90e2;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.generate-btn:hover {
  background: #357bd8;
}

/* QRコード表示 */
#qrcode {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* サブボタン */
.button-group {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.secondary-btn {
  flex: 1;
  padding: 8px;
  background: #f0f2f5;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.secondary-btn:hover {
  background: #e4e6eb;
}