ul.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.event-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}
.event-thumb img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}
.placeholder-thumb {
  width: 80px;
  height: 80px;
  background: #eee;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border-radius: 6px;
}
.event-info {
  flex: 1;
}
.event-date {
  font-size: 0.85rem;
  color: #555;
}
.event-title {
  font-weight: bold;
  margin: 0.2rem 0;
}
.event-status {
  font-size: 0.8rem;
  margin-top: 0.3rem;
}
.status-attending { color: green; }
.status-declined { color: red; }
.status-undecided { color: #999; }

button#delete-event-btn {
    display: block;
    margin: 10px auto;
}
.event-meta {
  display: flex;
  gap: 1em;
  font-size: 0.9em;
  color: #555;
  margin-bottom: 0.4em;
}
.event-category {
  font-weight: bold;
}
form .btn {
  margin: 1px auto 1px auto;
}

/* 管理者タブボタン */
.admin-tabs {
  display: flex;
  gap: 3px;
  margin-bottom: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 3px;
  background: #f8f9fa;
  border-radius: 5px;
}

.tab-btn {
  padding: 8px 12px;
  border: none;
  background: #f0f0f0;
  cursor: pointer;
  border-radius: 3px;
  font-size: 14px;
  color: #666;
  flex: 1;
  min-width: 80px;
  text-align: center;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: #e9ecef;
}

.tab-btn.active {
  background: #28a745;
  color: white;
}

@media (max-width: 768px) {
  .admin-tabs {
    gap: 2px;
    margin-bottom: 8px;
    padding: 2px;
  }
  
  .tab-btn {
    padding: 6px 8px;
    font-size: 13px;
    min-width: 70px;
  }
}

/* タブパネル */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* 管理者モード全体の背景スタイル */
.admin_section {
  background-color: #f8f8f8; /* 薄いグレー */
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5em;
  margin-top: 2em;
}

/* 追加スタイル: 質問ブロックのカード風レイアウト */
.option-block {
  border: 1px solid #ddd;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1em;
  margin-bottom: 1.5em;
}
.option-block label {
  display: inline-block;
  margin-right: 1em;
}
.required {
  color: red;
  font-weight: normal;
  font-size: 0.95em;
}
/* 予約編集モードのリンク風ボタン */
.link-style {
  border: none;
  background: none;
  color: #007bff;
  padding: 0;
  cursor: pointer;
  font-size: 1em;
  text-decoration: underline;
}