/* Modernized Clubhouse Message Board (talk_smack) page. Scoped under .modernClubhousePage so it never affects
   other pages. The message list stays an HTML table (border-collapse: separate + border-spacing gives each row
   its own "card" look without changing markup), and the sortable/pagination JS and remove/edit/delete links are
   left untouched -- only colors/spacing/borders change. */

.modernClubhousePage #pageTitle {
  margin-bottom: 16px;
}

.modernClubhousePage .form-group {
  max-width: 850px;
}

.modernClubhousePage textarea.form-control {
  width: 100%;
  max-width: 100%;
  min-height: 90px;
  border: 1px solid #cfd4e0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  box-sizing: border-box;
}

.modernClubhousePage textarea.form-control:focus {
  outline: none;
  border-color: #1c5bc4;
  box-shadow: 0 0 0 3px rgba(28, 91, 196, 0.15);
}

.modernClubhousePage #smack_submit {
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(11, 26, 103, 0.2);
  padding: 6px 18px;
}

.modernClubhousePage #smackCharsRemaining {
  margin-left: 12px;
  font-size: 12px;
  color: #6b7280;
}

.modernClubhousePage #smackCharsRemaining input {
  border: 1px solid #cfd4e0;
  border-radius: 4px;
  padding: 3px 4px;
  width: 44px;
  box-sizing: border-box;
}

.modernClubhousePage .smackEditCancelLink {
  margin-top: 14px;
}

/* The visible <hr> divider between the post form and the message list was a thick baby-blue bar with a fixed
   700px width -- replace with a plain, full-width, unobtrusive rule. */
.modernClubhousePage .talkSmackHr hr,
.modernClubhousePage .smack hr {
  width: 100%;
  height: 1px;
  background-color: #e2e6f2;
  border: none;
  margin: 18px 0 12px;
}

.modernClubhousePage .smackTip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eaf2fc;
  border-left: 4px solid #1c5bc4;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 12px;
  font-style: normal;
  color: #1c3f66;
  margin-bottom: 14px;
  max-width: 850px;
  box-sizing: border-box;
}

.modernClubhousePage .smackTipIcon {
  font-size: 16px;
  line-height: 1;
}

.modernClubhousePage .smackMessageTable {
  width: 100%;
  margin: 0;
  border: none;
}

.modernClubhousePage #smackMessageInnerTable {
  width: 100%;
  max-width: 850px;
  border: none;
  border-collapse: separate;
  border-spacing: 0 10px;
  empty-cells: show;
}

.modernClubhousePage .smackMessageAuthor,
.modernClubhousePage .smackMessageContent {
  border-style: solid;
  border-color: #e2e6f2;
  margin: 0;
}

.modernClubhousePage .smackMessageAuthor {
  border-width: 1px 0 1px 1px;
  border-radius: 10px 0 0 10px;
  padding: 10px 12px;
  width: 160px;
  font-size: 11px;
}

.modernClubhousePage .smackMessageContent {
  border-width: 1px 1px 1px 0;
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
}

.modernClubhousePage .smackMessageAuthorRow {
  margin-bottom: 4px;
  margin-left: 0;
}

.modernClubhousePage .smackAuthorName {
  font-weight: 700;
  color: #0b1a67;
  font-size: 12px;
}

.modernClubhousePage .smackMessageRowEven td {
  background: #fff;
}

.modernClubhousePage .smackMessageRowOdd td {
  background: #f8f9fc;
}

.modernClubhousePage .highlightRow td {
  background-color: #ddc5f7;
}

.modernClubhousePage .smackMessageRemoveLink a,
.modernClubhousePage .smackMessageEditLink a,
.modernClubhousePage .smackMessageDeleteLink a {
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  margin-right: 6px;
}

.modernClubhousePage .smackMessageRemoveLink a:hover,
.modernClubhousePage .smackMessageEditLink a:hover,
.modernClubhousePage .smackMessageDeleteLink a:hover {
  text-decoration: underline;
}

.modernClubhousePage .digg_pagination {
  margin: 16px 0 0;
  background: transparent;
}

.modernClubhousePage .pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 4px;
}

.modernClubhousePage .page-link {
  display: inline-block;
  border: 1px solid #e2e6f2;
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 13px;
  color: #0b1a67;
  text-decoration: none;
}

.modernClubhousePage .page-link:hover {
  background: #f4f6fb;
}

.modernClubhousePage .page-item.active .page-link {
  background: #0b1a67;
  border-color: #0b1a67;
  color: #fff;
}

.modernClubhousePage .page-item.disabled .page-link {
  color: #b7bdca;
}
