/* ================= STORIES STYLE ================= */
body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  background: #f9f9fb;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Container chính */
.stories-list-group {
  margin-top: 16px;
}

/* Bài viết */
.stories-post {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stories-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Nội dung bài viết */
.stories-message {
  display: block;
  font-size: 15px;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.6; /* vừa đủ để chữ không dính */
  
}


/* Ngày tháng */
.stories-date,
.stories-post p {
  font-size: 13px;
  color: #888;
  text-align: right;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

/* Form thêm bài viết */
.stories-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 15px;
  resize: vertical;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

.stories-form button {
  background: #007bff;
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.stories-form button:hover {
  background: #0056b3;
}

/* Liên kết sửa/xóa */
.stories-post a {
  font-size: 13px;
  color: #007bff;
  margin-right: 8px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.stories-post a:hover {
  text-decoration: underline;
  color: #0056b3;
}

/* Phân trang */
.pagination {
  text-align: center;
  margin-top: 20px;
}

.pagination a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 0 3px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.pagination a:hover {
  background: #007bff;
  color: #fff;
}

.pagination a.current {
  background: #007bff;
  color: white;
  border-color: #007bff;
  pointer-events: none;
}
