* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
}

/* 全体 */
body {
    background: #cfcfcf;
}

/* ヘッダー */
.header {
    background: #3f3f3f;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 12px 20px;
}

.logo {
    height: 80px;
    margin-right: 20px;
}

.header-nav a {
    color: #fff;
    text-decoration: none;
    margin-right: 18px;
    font-size: 14px;
}

/* ===== 共通 ===== */
.page-title{
    text-align: center;
    padding: 30px 0;
    font-size: 32px;
    color:#fff;
    background: #bdbdbd;
    letter-spacing: 4px;
    margin-bottom: 2rem;
}

/* =========================
   月フィルター
   ========================= */
.month-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.month-filter input[type="month"] {
  padding: 6px 10px;
  font-size: 14px;
}

.month-filter button {
  padding: 6px 14px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  background: #1976d2;
  color: #fff;
  cursor: pointer;
}

.month-filter button:hover {
  opacity: 0.9;
}

/* =========================
   パネル
   ========================= */
.panel {
  width: 700px;  
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  margin-left: 17.5rem;
}

/* =========================
   リスト全体
   ========================= */
.request-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 空メッセージ */
.empty-message {
  text-align: center;
  color: #777;
  padding: 30px 0;
}

/* =========================
   1行（カード）
   ========================= */
.request-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
}

/* 左情報 */
.request-row .info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.request-row .date {
  font-size: 13px;
  color: #666;
  min-width: 80px;
}

.request-row .text {
  font-size: 15px;
}

/* =========================
   右エリア
   ========================= */
.right-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================
   ステータス
   ========================= */
.status {
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 12px;
  font-weight: bold;
  white-space: nowrap;
}

.status.unconfirmed {
  background: #ffebee;
  color: #c62828;
}

.status.confirmed {
  background: #e8f5e9;
  color: #2e7d32;
}

/* =========================
   詳細ボタン
   ========================= */
.detail-btn {
  padding: 6px 12px;
  font-size: 13px;
  border: none;
  border-radius: 4px;
  background: #eeeeee;
  cursor: pointer;
}

.detail-btn:hover {
  background: #e0e0e0;
}

/* =========================
   ゴミ箱ボタン
   ========================= */
.trash-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.trash-btn img {
  width: 50px;
  height: 50px;
  opacity: 0.8;
}

.trash-btn:hover img {
  opacity: 1;
}


/* =========================
   下部アクションボタン
   ========================= */


.action-buttons {
  display: flex;
  justify-content: center; /* 左右中央 */
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 2rem;
}

/* 既存：ゴミ箱を見る */
.go-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #424242;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
}

.go-btn:hover {
  opacity: 0.9;
}


/* ===== 削除ダイアログ全体 ===== */
/* =========================
   削除ダイアログ本体
========================= */
.dialog {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.dialog.hidden {
  display: none;
}

.dialog-box.delete {
  width: 360px;
  background: #bfbfbf;
  border-radius: 26px;
  padding: 26px 24px 22px;
  border: 3px solid #0b2c3a;
  text-align: center;
}

/* メッセージ */
.dialog-box.delete p {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 22px; /* ← メッセージとボタンの間隔 */
}

/* =========================
   削除ダイアログのボタン
========================= */
.dialog-box.delete .dialog-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.dialog-box.delete .dialog-actions .btn {
  width: 120px;
  padding: 10px 0;
  border-radius: 10px;
  border: 2px solid #0b2c3a;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

/* はい */
.dialog-box.delete .btn.yes {
  background: #4a90e2;
  color: #ffffff;
}

/* いいえ */
.dialog-box.delete .btn.no {
  background: #e0e0e0;
  color: #333333;
}
.trash-actions-bottom {
  text-align: center;
  margin: 30px 0;
}

.trash-actions-bottom .btn.back {
  padding: 12px 28px;
  border-radius: 12px;
  border: 3px solid #0b2c3a;
  background: #5da9df;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.trash-actions-bottom .btn.back:hover {
  opacity: 0.85;
}

.restore-btn {
  padding: 6px 12px;
  border-radius: 6px;
  border: 2px solid #0b2c3a;
  background:#0067C0;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.delete-btn {
  padding: 6px 12px;
  border-radius: 6px;
  border: 2px solid #0b2c3a;
  background: #c0392b;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}