/* タイトル */
.title {
  font-size: 26px;
  margin-bottom: 10px;
  text-align: center;
}
/* 固定ヘッダー */
.appHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #ffffff;
  border-bottom: 2px solid #ddd;
  display: flex;
  align-items: center;
  padding: 0 30px;
  z-index: 9999;
}

/* ロゴ */
.headerLogo {
  height: 80px;
  width: auto;
  margin-right: 15px;
}

/* タイトル */
.headerTitle {
  font-size: 26px;
  font-weight: bold;
  color: #333;
}

/* ヘッダー分だけ下に余白を作る */
body {
  padding-top: 100px;
}

/* テーブル */
.itemTable {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.itemTable th, .itemTable td {
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 20px;
}

/* 品名（大きく・広く） */
td.itemName {
  font-size: 30px;
  width: 65%;
}

/* 数量表示（div） */
.qtyDisplay {
  width: 80px;
  height: 45px;
  font-size: 25px;
  font-weight: bold;
  justify-content: center; /* ← 横方向センター（必要なら） */
  text-align: right;
  padding-right: 10px;
  border: 1px solid #888;
  border-radius: 6px;
  background: #fff;
}

/* 数量ボタン（＋／−） */
.qtyBox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qtyBtn {
  width: 45px;
  height: 45px;
  font-size: 28px;
  border-radius: 8px;
  border: 1px solid #888;
  background: #f0f0f0;
}

/* 数量が入った行の色 */
.row-filled {
  background-color: #ffecec;
}

/* ▼ プルダウンテンキー ▼ */
/* テンキー全体 */
.keypad {
  position: absolute;
  width: 200px;
  background: #e6e6e6;        /* ← 少し濃いグレーで一体感 */
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  z-index: 9999;
}

/* 電卓の表示窓（テンキーと一体化） */
.keypadDisplay {
  grid-column: span 3;        /* ← 3列ぶち抜きで重ならない */
  background: #fdfdfd;        /* ← 数量欄と違う白系（少し黄み） */
  border: 2px solid #ccc;     /* ← 枠を太くして“窓”感を出す */
  border-radius: 6px;
  padding: 10px;
  font-size: 22px;
  text-align: right;
}

/* 数字キー・←・✓ */
.key {
  background: #007bff;
  color: white;
  font-size: 24px;
  text-align: center;
  padding: 18px 0;
  border-radius: 10px;
}

/* ✓キー（Enter） */
.enterKey {
  background: #28a745; /* 緑 */
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ボタンを中央に配置するための共通ラッパ */
.centerWrap {
  text-align: center;
  margin: 15px 0;
}

/* 送信内容の確認（薄いグレー・文字幅） */
.btnConfirm {
  background: #e0e0e0;
  color: #333;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  display: inline-block; /* 文字幅 */
}

/* この内容で送信する（オレンジ・全幅） */
.btnSendFinal {
  background: orange;
  color: white;
  padding: 15px 0;
  border: none;
  border-radius: 10px;
  font-size: 25px;
  font-weight: bold;
  width: 100%; /* 全幅 */
  margin-top: 20px;
}

/* 戻る（ピンク・文字幅） */
.btnBack {
  background: #f7b5d1;
  color: #333;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  width: 100%; /* 全幅 */
  margin-top: 20px;
}


.sendBtn:active {
  background-color: #0056c7;
}

.tabContainer {
  display: flex;
  border-bottom: 2px solid #ccc;
  margin-top: 10px;
}

.tabBtn {
  flex: 1;
  padding: 12px 0;
  text-align: center;
  background: #e0e0e0;
  border: none;
  border-radius: 8px 8px 0 0;
  font-size: 18px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-bottom: none;
  transition: all 0.2s ease;
}

/* ★ 選択中タブだけ線を太くして前に出す */
.tabBtn.active {
  background: #ffffff;
  font-weight: bold;
  border-bottom: 8px solid #ffffff;
  box-shadow: 0 2px 0 #007bff inset;

  font-size: 25px;   /* ← ★選択中だけ文字を大きくする */
}
.tabBtn {
  font-size: 18px;   /* ← 非選択タブの標準サイズ */
}





