/* ======================================================
   DCN Race Journal – Core styles (RESULT PAGE – UNCHANGED)
   ====================================================== */

.dcn-rj-wrap {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}

.dcn-rj-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.dcn-rj-private {
  font-weight: 500;
  opacity: 0.7;
  margin-left: 8px;
}

.dcn-rj-note {
  width: 100%;
  min-height: 120px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  resize: vertical;
}

.dcn-rj-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.dcn-rj-btn {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  cursor: pointer;
}

.dcn-rj-status {
  font-size: 14px;
  opacity: 0.85;
}

.dcn-rj-toggle-result {
  margin-top: 10px;
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 600;
  cursor: pointer;
}

.dcn-rj-race-result {
  margin-top: 15px;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f9fafb;
}


/* ======================================================
   MY RACE NOTES PAGE – CLEAN, SCOPED, PROFESSIONAL
   ====================================================== */

.dcn-rj-journal-list {
  max-width: 820px;
  margin: 0 auto;
}

.dcn-rj-journal-item {
  padding: 16px 0;
  border-bottom: 1px solid #e6e6e6;
}

.dcn-rj-journal-item:last-child {
  border-bottom: none;
}

.dcn-rj-journal-meta {
  margin-bottom: 6px;
}

.dcn-rj-journal-meta .dcn-rj-title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  color: #0b1c3f;
  margin: 0;
}

.dcn-rj-journal-meta .dcn-rj-meta {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.dcn-rj-journal-note {
  margin: 10px 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #1f2937;
}

.dcn-rj-journal-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dcn-rj-journal-link a {
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
}

.dcn-rj-journal-link a:hover {
  text-decoration: underline;
}

/* Delete button – journal page only */
.dcn-rj-journal-item .dcn-rj-delete-note {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.dcn-rj-journal-item .dcn-rj-delete-note:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

/* Empty state */
.dcn-rj-empty {
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  color: #6b7280;
}
