/* Card style for each comment */
.timeline-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  padding: 16px 20px;
  transition: box-shadow 0.2s;
  border: 1px solid #eee;
}

.timeline-card .cui-comment-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.timeline-card .cui-post-author {
  font-weight: bold;
  color: #3d9a62;
  margin-right: 8px;
}

.timeline-card .cui-post-status {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 8px;
  color: #473025;
}

.timeline-card .cui-post-status:not(:contains("Hadir")) {
  background: #fdbcbc;
  color: #d90a11;
}

.timeline-card .cui-comment-text {
  font-size: 15px;
  color: #444;
  margin-top: 6px;
  white-space: pre-line;
}

.timeline-pagination {
  text-align: center;
  margin: 20px 0 10px 0;
}

.timeline-pagination button {
  background: #473025;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 6px 12px;
  margin: 0 2px;
  cursor: pointer;
  font-size: 8px;
  transition: background 0.2s;
}

.timeline-pagination button.active,
.timeline-pagination button:hover {
  background: #c39870;
  color: #473025;
}

.popup-alert {
  display: none; /* default hidden */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}
.popup-box {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 300px;
}
.popup-box button {
  margin-top: 12px;
  padding: 6px 16px;
}
