/* ===== PaperLeak India — Custom Styles ===== */

/* Hero */
.hero-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Detail page labels */
.detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6c757d;
  font-weight: 600;
}

.detail-value {
  font-size: 1rem;
  color: #212529;
}

/* Section headings */
.section-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
  border-left: 4px solid #e63946;
  padding-left: 0.75rem;
}

/* Article rich text */
.article-content {
  line-height: 1.8;
  font-size: 1.05rem;
  color: #333;
}

.article-content h1,
.article-content h2,
.article-content h3 {
  margin-top: 1.5rem;
  font-weight: 700;
}

.article-content blockquote {
  border-left: 4px solid #dee2e6;
  padding-left: 1rem;
  color: #6c757d;
}

/* Accused status badge colours */
.accused-badge {
  background-color: #6c757d;
  color: white;
}

tr:has(.accused-badge) .accused-badge[data-status*="Convicted"],
.accused-badge:contains("Convicted") {
  background-color: #dc3545 !important;
}

/* Fallback: use JS to colour badges */

/* Quill editor container */
.ql-container {
  font-size: 1rem;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.ql-toolbar {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  background-color: #f8f9fa;
}

/* Section block */
.section-block {
  background: #fff;
  transition: box-shadow 0.2s;
}

.section-block:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Spinner overlay for uploads */
.upload-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid #6c757d;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Table enhancements */
.table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Navbar brand */
.navbar-brand {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

/* Register button — override Bootstrap navbar-dark color cascade */
.navbar-register-btn {
  background-color: #ffc107 !important;
  border-color: #ffc107 !important;
  color: #000 !important;
}

.navbar-register-btn:hover,
.navbar-register-btn:focus {
  background-color: #ffca2c !important;
  border-color: #ffc107 !important;
  color: #000 !important;
}

/* Profile avatar placeholder */
.avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #495057;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
