/* assets/css/message-list.css */
/* メッセージ一覧のスタイル */

.message-list {
  /* メッセージリストコンテナ */
}

.message-item {
  margin-bottom: 1em;
  padding: 1em;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
}

.message-header {
  cursor: pointer;
}

.message-header:hover {
  opacity: 0.8;
}

.message-title {
  font-weight: bold;
}

.toggle-icon {
  float: right;
  font-weight: bold;
}

.message-content {
  display: none;
  margin-top: 1em;
  padding-top: 1em;
  border-top: 1px solid #e5e7eb;
}

.message-content.show {
  display: block;
}

.message-list .filter-section {
  margin-bottom: 1em;
}

.message-list .filter-section label {
  margin-right: 0.5em;
}

.message-list .filter-section select {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}

.message-list .delete-button {
  background: #dc2626;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
}

.message-list .delete-button:hover {
  background: #b91c1c;
}

.message-list .pagination {
  margin-top: 2em;
  text-align: center;
}

.message-list .pagination a {
  margin: 0 0.25em;
  padding: 0.5rem 1rem;
  border: 1px solid #ec4899;
  color: #ec4899;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
}

.message-list .pagination a:hover {
  background: #ec4899;
  color: white;
}

.message-list .pagination a.active {
  background: #ec4899;
  color: white;
}

.message-list .pagination a.prev,
.message-list .pagination a.next {
  margin-right: 1em;
  margin-left: 1em;
}

