.repost-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.repost-modal-overlay.active {
  display: flex;
}

.repost-modal {
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.repost-modal h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
}

.repost-modal p {
  color: #555;
  line-height: 1.4;
}

.repost-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.repost-modal-actions button {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}

#cancelRepostBtn {
  background: #ececec;
  color: #444;
}

#cancelRepostBtn:hover {
  background: #dddddd;
}

#confirmRepostBtn {
  background: #4f857a;
  color: #ffffff;
}

#confirmRepostBtn:hover {
  background: #5b9488;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 133, 122, 0.25);
}