/* ==========================================================================
   NAEEM MD - LEGAL & ARTICLE EDITORIAL STYLESHEET
   Brand: Naeem MD (https://naeem-md.site/)
   ========================================================================== */

:root {
  --bg-primary: #070a0e;
  --bg-card: rgba(14, 20, 28, 0.78);
  --accent-emerald: #10b981;
  --accent-cyan: #06b6d4;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(16, 185, 129, 0.35);
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  padding: 40px 20px 80px;
}

.legal-container {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(25px);
}

.legal-nav-top {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-nav-top a {
  color: var(--accent-emerald);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.legal-nav-top a:hover {
  text-decoration: underline;
}

.legal-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(6, 182, 212, 0.25);
  text-transform: uppercase;
}

h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  line-height: 1.25;
}

.legal-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  display: block;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--text-primary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--accent-emerald);
}

p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

ul, ol {
  margin: 0 0 20px 24px;
  color: var(--text-secondary);
  font-size: 14.5px;
}

li {
  margin-bottom: 8px;
}

strong, b {
  color: var(--text-primary);
}

/* User Verification / Action Box */
.user-verification-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1.5px dashed #f59e0b;
  border-radius: 14px;
  padding: 16px 20px;
  margin: 20px 0;
  color: #fde68a;
  font-size: 13.5px;
  line-height: 1.5;
}

.user-verification-box strong {
  color: #fbbf24;
  display: block;
  margin-bottom: 4px;
}

/* Author / Editorial Box */
.editorial-author-box {
  margin-top: 40px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #070a0e;
  font-weight: 800;
  flex-shrink: 0;
}

.author-details h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.author-details p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .legal-container {
    padding: 24px;
  }
  h1 {
    font-size: 26px;
  }
}

@media (max-width: 360px) {
  .legal-container {
    padding: 18px;
    border-radius: 16px;
  }
  h1 {
    font-size: 22px;
  }
}
