:root {
  /* Color Palette */
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --text-color: #1f2937;
  --bg-color: #eeeeeec9;
  --card-bg: #f9fafbf0;
  --border-color: #dadcdf;
  --heading-color: #1f2937;
  --logo-color: #ef852a;
  --dark: #111827;
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --navigation: #f9fafbf0;
  --title-bg: #dccab8;
  --title-color: #080400b1;
  --title-detail-color: #3C4A3E;
  
  /* UI Components */
  --back-btn-bg: #f8f9fa;
  --back-btn-color: #333;
  --back-btn-border: transparent;
  --back-btn-hover-bg: #e9ecef;
  --back-btn-shadow: rgba(0, 0, 0, 0.1);
  
  /* Effects */
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

[data-theme="dark"] {
  /* Dark Mode Colors */
  --primary-color: #8a9bff;
  --secondary-color: #6b7bff;
  --text-color: #f9fafb;
  --bg-color: #111827;
  --card-bg: #1f2937;
  --border-color: #374151;
  --heading-color: #ffffff;
  --navigation: #1f2937e5;
  --dark: #f9fafb;
  --primary: #8a9bff;
  --primary-light: #a5b4fc;
  --title-bg: #374151;
  --title-color: #f9fafb;
  --title-detail-color: #f9fafb;
  
  /* Dark Mode UI Components */
  --back-btn-bg: #2d3748;
  --back-btn-color: #e2e8f0;
  --back-btn-border: #4a5568;
  --back-btn-hover-bg: #4a5568;
  --back-btn-shadow: rgba(0, 0, 0, 0.3);
  
  /* Dark Mode Effects */
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* ===== CONTAINERS ===== */
.container-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 0.8rem;
}

/* ===== ARTICLE DETAIL PAGE ===== */
.article-detail {
  max-width: 680px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  font-family: 'Inter', 'SF Pro Text', -apple-system, sans-serif;
}

/* ===== ARTICLE HEADER ===== */
.article-header {
  text-align: center;
  position: relative;
}

.article-title-detail {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
  background-size: 200% auto;
  background-clip: text;
  color: var(--title-detail-color);
  margin-bottom: 2rem;
  padding: 0 1rem;
  position: relative;
  text-wrap: balance;
  font-family: 'Playfair Display', serif;
}

.article-title-detail::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--text-color);
  border-radius: 3px;
  opacity: 0.8;
}

@media (max-width: 768px) {
    .article-detail {
        padding: 0 1rem;
    }
    }

.article-title-detail:hover::after {
  width: 120px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ARTICLE META ===== */
.article-meta-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  margin-bottom: 2.2rem;
  padding: 0 1rem;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.article-meta-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.article-date,
.article-reading-time {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 500;
}

.article-date i,
.article-reading-time i,.fa-clock {
  font-size: 1.1rem;
  opacity: 0.9;
  border: #10b981!important;
}
.saacad {
  font-size: 1.1rem;
  opacity: 0.9;
  font-family: 'Merriweather';
}

.article-reading-time i {
  color: var(--secondary-color);
}

.fa-clock {
  margin: 5px;
}

.article-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(94, 114, 228, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(94, 114, 228, 0.2);
  min-height: 32px; /* Consistent height */
  min-width: 80px; /* Minimum width to prevent shift */
  visibility: visible; /* Ensure it's visible immediately */
}

.article-category-badge i {
  font-size: 0.9rem;
}

/* ===== ARTICLE META DETAIL (with border bottom) ===== */
.article-meta-detail {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(1rem, 4vw, 3rem);
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--title-detail-color);
  margin-bottom: 1.5rem;
  width: 100%;
}

.article-category {
  white-space: nowrap;
}

.article-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  color: var(--text-color);
  opacity: 0.8;
}

/* ===== TOOLTIP STYLES (from HTML) ===== */
[title] {
  position: relative;
  cursor: help;
}

[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
}

/* ===== RELATIVE TIME (from HTML) ===== */
.relative-time {
  transition: opacity 0.3s ease;
  font-size: 0.8rem;
  opacity: 0.7;
}

.date-updated:hover .relative-time {
  opacity: 1;
}

/* ===== ARTICLE IMAGE ===== */
.article-image-detail {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 1px;
  display: block;
  margin: 0 auto 2rem;
  aspect-ratio: 16/9; 
  background-color: var(--border-color); 
}

/* ===== READING PROGRESS ===== */
.reading-time-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.reading-progress {
  width: 100%;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--primary-color);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 2px;
}

/* ===== ARTICLE AUTHOR ===== */
.article-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  aspect-ratio: 1/1; /* ADDED - prevents avatar shift */
  background-color: var(--border-color); /* ADDED - placeholder while loading */
  flex-shrink: 0; /* ADDED - prevents shrinking */
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.2rem;
}

.author-role {
  font-size: 0.85rem;
  color: var(--text-color);
  opacity: 0.7;
}

/* ===== ARTICLE SOCIAL ===== */
.article-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.social-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-share:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.social-share i {
  font-size: 1.1rem;
}

/* ===== FULL ARTICLE CONTENT ===== */
.full-article-content {
  line-height: 1.8;
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 100%;
  overflow-wrap: break-word;
}

.full-article-content p {
  margin-bottom: 1.8rem;
  text-align: justify;
}

/* Headings */
.full-article-content h2 {
  color: var(--heading-color, #1a202c);
  margin: 3rem 0 2rem 0;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--title-detail-color);
  display: block;
  position: relative;
}

.full-article-content h3 {
  color: var(--heading-color, #2d3748);
  margin: 3rem 0 1.5rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  opacity: 0.95;
  line-height: 1.4;
  position: relative;
  padding-left: 15px;
}

.full-article-content h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  height: 1rem;
  width: 4px;
  background: var(--primary-color);
  border-radius: 2px
}

.full-article-content h4 {
  color: var(--heading-color, #4a5568);
  margin: 2.5rem 0 1rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.9;
  font-style: italic;
}

/* Lists */
.full-article-content ul,
.full-article-content ol {
  margin: 2rem 0;
  padding-left: 2rem;
}

.full-article-content ul {
  list-style: none;
}

.full-article-content ol {
  list-style: decimal;
  color: var(--text-color);
}

.full-article-content li {
  position: relative;
  padding-left: 0.8rem;
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.full-article-content ul li::before {
  content: "›";
  position: absolute;
  left: -1.2rem;
  font-weight: bold;
  font-size: 1.2rem;
  opacity: 0.8;
  top: 0.1rem;
}

.full-article-content ol li {
  padding-left: 0.5rem;
}

/* Blockquotes */
.full-article-content blockquote {
  padding: 2rem;
  margin: 3rem 0;
  color: var(--text-color);
  opacity: 0.9;
  font-style: italic;
  background: linear-gradient(90deg, rgba(94, 114, 228, 0.05) 0%, rgba(94, 114, 228, 0.01) 100%);
  border-radius: 0 12px 12px 0;
  position: relative;
  font-size: 1.15rem;
  
}

/* Code Blocks */
.full-article-content code {
  background: rgba(0, 0, 0, 0.05);
  padding: 0.25rem 0.5rem;
  font-family: 'Fira Code', 'Monaco', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.9em;
  color: var(--code-color, #e53e3e);
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.full-article-content pre {
  background: #1a1c25;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.full-article-content pre code {
  background: none;
  padding: 0;
  border: none;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Links */
.full-article-content a {
  color: var(--text-color) !important;
  text-decoration: none;
  position: relative;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0 2px;
}

.full-article-content a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  opacity: 0.3;
  transition: all 0.3s ease;
  transform-origin: left;
  transform: scaleX(0.8);
}

.full-article-content a:hover {
  color: var(--primary-dark, #2d5bff);
}

.full-article-content a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Images */
.full-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.full-article-content figure {
  margin: 2.5rem 0;
  text-align: center;
}

.full-article-content figcaption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-light, #718096);
  font-style: italic;
  text-align: center;
}

/* Tables */
.full-article-content table {
  width: 100%;
  margin: 2.5rem 0;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.full-article-content th {
  background: rgba(94, 114, 228, 0.1);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid rgba(94, 114, 228, 0.2);
}

.full-article-content td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.full-article-content tr:last-child td {
  border-bottom: none;
}

.full-article-content tr:hover {
  background: rgba(94, 114, 228, 0.03);
}

/* ===== ARTICLE FOOTER (from HTML) ===== */
.article-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* ===== RATING COMPONENTS ===== */
.rating-container {
  margin: 2rem 0;
  padding: 1.5rem;
  text-align: center;
}

.rating-container h5 {
  margin-bottom: 1rem;
  color: var(--text-color);
  font-size: 1rem;
}

.stars {
  display: inline-flex;
  gap: 2px;
  font-size: 1.2rem;
  color: var(--border-color);
  min-height: 1.8rem; 
  align-items: center; 
}

.star {
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  width: 1.2rem; 
  height: 1.2rem; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
}

.star:hover {
  transform: scale(1.2);
}

.star.active {
  color: var(--secondary-color);
}

.rating-feedback {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: var(--text-color);
  opacity: 0;
  transition: opacity 0.8s ease;
  min-height: 1.5rem; /* ADDED - prevents shift when appearing */
}

.rating-feedback.fade-in {
  opacity: 1;
}

.rating-feedback.fade-out {
  opacity: 0;
}

.rating-number {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  min-width: 2rem;
}

/* ===== RATING MODAL ===== */
.rating-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.rating-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rating-modal.active .modal-content {
  transform: translateY(0);
}

.modal-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.modal-stars {
  font-size: 2rem;
  color: var(--secondary-color);
  margin: 1rem 0;
  letter-spacing: 5px;
}

.modal-content p {
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.modal-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modal-confirm {
  background: var(--primary-color);
  color: white;
}

.modal-confirm:hover {
  background: var(--secondary-color);
}

.modal-cancel {
  background: var(--border-color);
  color: var(--text-color);
}

.modal-cancel:hover {
  background: var(--text-color);
  color: white;
}

/* ===== SHARE MODAL ===== */
.share-trigger-wrapper {
  text-align: center;
  margin: 2rem 0;
  min-height: 3rem; 
}

.share-trigger-minimal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: var(--title-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px; 
  justify-content: center; 
}

.share-trigger-minimal:hover {
  background: #e1ccb7c2;
  color: rgb(27, 26, 26);
}

.share-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.share-modal-overlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
}

.share-content-minimal {
  position: relative;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  padding-bottom: 4rem;
  border: 1px solid var(--border-color);
  max-width: 450px;
  width: 90%;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  will-change: transform;
  contain: content;
}

.share-modal-overlay.show .share-content-minimal {
  transform: translateY(0);
}

.share-header-minimal {
  position: relative;
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.share-close-btn {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.share-close-btn:hover {
  opacity: 1;
}

.share-title-minimal {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.3rem;
}

.share-subtitle-minimal {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
}

.share-options-minimal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.share-option-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  cursor: pointer;
  color: var(--text-color);
}

.share-option-minimal:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.share-option-minimal i {
  font-size: 1.5rem;
}

.share-trigger-minimal {
  border-color: var(--border-color);
}

.share-option-minimal {
  background: var(--card-bg);
}

.share-option-minimal:hover {
  background: var(--primary-color);
}

.notification-minimal {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(52, 211, 153, 0.1);
  color: #10b981;
  border-radius: 6px;
  font-size: 0.85rem;
  min-width: 200px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  border: 1px solid rgba(52, 211, 153, 0.2);
  pointer-events: none;
}

.notification-minimal.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ===== BACK BUTTONS ===== */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  color: var(--back-btn-color);
  text-decoration: none;
  border-radius: 30px;
  margin: 20px 0;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  font-weight: 500;
  min-height: 44px;
}

.back-btn:hover {
  background: #ef852a;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px var(--back-btn-shadow);
}

.back-to-articles {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.back-to-articles:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* ===== RELATED ARTICLES ===== */
.related-articles {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.related-heading {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  min-height: 120px; 
}

.related-item {
  display: flex;
  align-items: center;
  padding: 0.8rem;
  background: var(--card-bg);
  border-radius: 6px;
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
  min-height: 3rem; 
}

.related-item:hover {
  background: var(--bg-color);
  transform: translateX(5px);
}

.related-link {
  display: flex;
  align-items: center;
  color: black !important;
  text-decoration: none;
  font-weight: 500;
  gap: 0.5rem;
}

.related-link i {
  flex-shrink: 0; 
}

.related-link:hover {
  color: var(--primary-color);
}

/* ===== DARK MODE ENHANCEMENTS ===== */
[data-theme="dark"] .article-category {
  background: rgba(94, 114, 228, 0.15);
  border-color: rgba(94, 114, 228, 0.3);
}

[data-theme="dark"] .article-author {
  background: var(--card-bg);
  border-color: var(--border-color);
}

[data-theme="dark"] .share-trigger-minimal {
  border-color: var(--border-color);
}

[data-theme="dark"] .share-option-minimal {
  background: var(--card-bg);
}

[data-theme="dark"] .share-option-minimal:hover {
  background: var(--primary-color);
}

[data-theme="dark"] .full-article-content code {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .full-article-content blockquote {
  background: rgba(94, 114, 228, 0.1);
}

[data-theme="dark"] .full-article-content pre::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .full-article-content pre::-webkit-scrollbar-thumb {
  background: var(--border-color);
}

[data-theme="dark"] .rating-modal .modal-content {
  background: var(--card-bg);
}

/* ===== PRINT STYLES ===== */
@media print {
  /* Hide interactive elements that aren't needed in print */
  .navbar,
  .mobile-menu-toggle,
  .theme-toggle,
  .back-btn,
  .back-to-articles,
  .back-to-top,
  .share-trigger-wrapper,
  .share-modal-overlay,
  .rating-container,
  .rating-modal,
  .related-articles,
  .reading-progress,
  .article-social,
  .article-author,
  .footer {
    display: none !important;
  }

  /* Reset colors for printing */
  * {
    color: #000 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  /* Page margins and sizing */
  @page {
    margin: 2cm;
    size: A4;
  }
   }
