﻿/* gamification.css - Styles for gamification features */

/* Achievement Popup */
.achievement-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  text-align: center;
  min-width: 300px;
  max-width: 90vw;
}

.achievement-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.achievement-icon {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  animation: bounce 0.6s ease-in-out;
}

.achievement-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.achievement-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.25rem 0;
}

.achievement-desc {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0.5rem 0;
}

.achievement-points {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Confetti Animation */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  top: -10px;
  z-index: 9999;
  animation: confetti-fall 3s linear forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Gamification Dashboard Grid */
.gamification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.gamification-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .gamification-card {
  background: #1f2937;
  color: #f3f4f6;
}

.gamification-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Stats Card */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.dark .stat-label {
  color: #9ca3af;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: #667eea;
}

/* Streak Card */
.streak-display {
  text-align: center;
  margin: 1rem 0;
}

.streak-number {
  font-size: 3rem;
  font-weight: 700;
  color: #ff6b6b;
}

.streak-label {
  font-size: 1.125rem;
  color: #6b7280;
}

.dark .streak-label {
  color: #9ca3af;
}

.streak-record {
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

/* Challenges Card */
.challenge-item {
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f3f4f6;
  border-radius: 0.5rem;
}

.dark .challenge-item {
  background: #374151;
}

.challenge-item.completed {
  opacity: 0.7;
  border-left: 4px solid #10b981;
}

.challenge-desc {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.challenge-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.dark .progress-bar {
  background: #4b5563;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.875rem;
  color: #6b7280;
  min-width: 50px;
  text-align: right;
}

.dark .progress-text {
  color: #9ca3af;
}

.challenge-badge {
  margin-top: 0.5rem;
  color: #10b981;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Achievements Grid */
.achievement-count {
  text-align: center;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: #6b7280;
}

.dark .achievement-count {
  color: #9ca3af;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.achievement-badge {
  text-align: center;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: transform 0.2s;
}

.achievement-badge.earned {
  background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
}

.achievement-badge.locked {
  opacity: 0.4;
  filter: grayscale(100%);
}

.achievement-badge:hover {
  transform: scale(1.05);
}

.achievement-badge-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.achievement-badge-name {
  font-size: 0.75rem;
  font-weight: 600;
}

/* Subject Progress */
.subject-progress-item {
  margin-bottom: 1rem;
}

.subject-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subject-mastery {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  background: #667eea;
  color: white;
  border-radius: 0.25rem;
}

.progress-percent {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: right;
  margin-top: 0.25rem;
}

.dark .progress-percent {
  color: #9ca3af;
}

/* Header Streak Counter */
#streak-counter {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 1rem;
  margin-left: 0.5rem;
}

.dark #streak-counter {
  background: rgba(255, 107, 107, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .gamification-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .achievement-popup {
    min-width: 280px;
    padding: 1.5rem;
  }

  .achievement-icon {
    font-size: 3rem;
  }

  .achievement-name {
    font-size: 1.25rem;
  }
}
/* leaderboard.css - Enhanced Leaderboard Styling */

/* ========================================
   LEADERBOARD CONTAINER
   ======================================== */

.leaderboard-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e5e7eb;
  overflow-x: auto;
}

.dark .category-tabs {
  border-bottom-color: #374151;
}

.category-tab {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.category-tab:hover {
  color: #6366f1;
}

.category-tab.active {
  color: #6366f1;
  border-bottom-color: #6366f1;
}

.dark .category-tab {
  color: #9ca3af;
}

.dark .category-tab.active {
  color: #8b5cf6;
  border-bottom-color: #8b5cf6;
}

/* Subject Filter */
.subject-filter {
  margin-bottom: 1.5rem;
}

.subject-select {
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  color: #111827;
  cursor: pointer;
  min-width: 200px;
}

.dark .subject-select {
  background: #1f2937;
  border-color: #374151;
  color: white;
}

/* ========================================
   LEADERBOARD TABLE
   ======================================== */

.leaderboard-table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  transition: all 0.2s ease;
}

.dark .leaderboard-row {
  background: #1f2937;
  border-color: #374151;
}

.leaderboard-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dark .leaderboard-row:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Podium Positions */
.leaderboard-row.podium {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  border-color: #f59e0b;
  font-weight: 600;
}

.leaderboard-row.rank-1 {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.leaderboard-row.rank-2 {
  background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
  color: #111827;
}

.leaderboard-row.rank-3 {
  background: linear-gradient(135deg, #fb923c 0%, #d97706 100%);
}

/* Current User Highlight */
.leaderboard-row.current-user {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 3px solid #6366f1;
  font-weight: 700;
}

.dark .leaderboard-row.current-user {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
  border-color: #8b5cf6;
}

/* Rank Cell */
.rank-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.rank-number {
  min-width: 3ch;
}

.podium-icon {
  font-size: 1.5rem;
}

/* User Cell */
.user-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.username {
  font-weight: 600;
  font-size: 1rem;
}

/* Rank Badges */
.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.rank-badge.platinum {
  background: linear-gradient(135deg, #e5e7eb 0%, #cbd5e1 100%);
  color: #111827;
}

.rank-badge.gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
}

.rank-badge.silver {
  background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
  color: #111827;
}

.rank-badge.bronze {
  background: linear-gradient(135deg, #fb923c 0%, #d97706 100%);
  color: white;
}

.tier-icon {
  font-size: 0.875rem;
}

/* Stats Cell */
.stats-cell {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.stat-value {
  font-size: 1.125rem;
  font-weight: bold;
}

.stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
}

.dark .stat-label {
  color: #9ca3af;
}

/* Podium row stat labels */
.leaderboard-row.podium .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   LEADERBOARD STATS
   ======================================== */

.leaderboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
}

.dark .stat-card {
  background: #1f2937;
  border-color: #374151;
}

.stat-card .stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: #6366f1;
}

.dark .stat-card .stat-value {
  color: #8b5cf6;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .leaderboard-row {
    grid-template-columns: 60px 1fr;
    gap: 0.75rem;
  }
  
  .stats-cell {
    grid-column: 1 / -1;
    justify-content: space-around;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .dark .stats-cell {
    border-top-color: rgba(255, 255, 255, 0.1);
  }
  
  .category-tabs {
    overflow-x: auto;
  }
}
/* feedback.css - Interactive Feedback Animations */

/* Confetti Particles */
.confetti-particle {
  position: fixed;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 9999;
  animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Success Flash Overlay */
.success-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(34, 197, 94, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 9998;
  animation: flash-success 0.6s ease-out;
}

@keyframes flash-success {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* Error Shake Animation */
.error-shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}

/* Error Flash Overlay */
.error-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(239, 68, 68, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 9998;
  animation: flash-error 0.4s ease-out;
}

@keyframes flash-error {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* Level Up Notification Modal */
.level-up-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  text-align: center;
  animation: level-up-appear 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.level-up-modal.dark {
  background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 100%);
}

@keyframes level-up-appear {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.level-up-modal h2 {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 0.5rem 0;
}

.level-up-modal .level-number {
  font-size: 4rem;
  font-weight: bold;
  margin: 1rem 0;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.level-up-modal p {
  font-size: 1.1rem;
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
}

/* Animated Reaction Icons */
.reaction-icon {
  position: fixed;
  font-size: 4rem;
  pointer-events: none;
  z-index: 9999;
}

.reaction-thumbs-up {
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  animation: thumbs-up-bounce 1.2s ease-out forwards;
}

@keyframes thumbs-up-bounce {
  0% {
    bottom: -100px;
    transform: translateX(-50%) scale(0);
    opacity: 0;
  }
  40% {
    bottom: 50%;
    transform: translateX(-50%) scale(1.2);
    opacity: 1;
  }
  60% {
    transform: translateX(-50%) scale(0.9);
  }
  70% {
    transform: translateX(-50%) scale(1);
  }
  100% {
    bottom: 50%;
    transform: translateX(-50%) scale(1);
    opacity: 0;
  }
}

.reaction-star-burst {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: star-burst 1s ease-out forwards;
}

@keyframes star-burst {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    opacity: 0;
  }
  30% {
    transform: translate(-50%, -50%) scale(1.5) rotate(180deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2) rotate(360deg);
    opacity: 0;
  }
}

/* Sound Toggle Button (for settings) */
.sound-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sound-toggle:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
}

.sound-toggle.active {
  background: rgba(99, 102, 241, 0.3);
  border-color: rgb(99, 102, 241);
}

.sound-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.sound-toggle:hover .sound-icon {
  transform: scale(1.1);
}

/* Pulse animation for correct answer */
.pulse-success {
  animation: pulse-green 0.6s ease-out;
}

@keyframes pulse-green {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(34, 197, 94, 0.4);
  }
}

/* Backdrop for level-up modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  animation: fade-in 0.3s ease-out;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Sparkle effect on achievements */
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  animation: sparkle-twinkle 1s ease-out forwards;
}

@keyframes sparkle-twinkle {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1) translate(var(--tx), var(--ty));
    opacity: 0;
  }
}
/* social.css - Social Features Styles */

/* Social Modal */
.social-modal {
  position: relative;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modal-slide-up 0.3s ease-out;
}

.dark .social-modal {
  background: #1f2937;
  color: white;
}

@keyframes modal-slide-up {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Share Buttons */
.share-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn.twitter {
  background: #1DA1F2;
  color: white;
}

.share-btn.facebook {
  background: #4267B2;
  color: white;
}

.share-btn.whatsapp {
  background: #25D366;
  color: white;
}

.share-btn.linkedin {
  background: #0077B5;
  color: white;
}

.share-btn.challenge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

/* Community Feed */
.community-feed-container {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.dark .community-feed-container {
  background: #111827;
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.feed-header h2 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #111827;
}

.dark .feed-header h2 {
  color: white;
}

.feed-item {
  transition: all 0.2s ease;
}

.feed-item:hover {
  transform: translateX(4px);
}

/* Challenge Cards */
.challenge-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

.dark .challenge-card {
  background: #1f2937;
  border-color: #374151;
}

.challenge-card:hover {
  border-color: #8b5cf6;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.challenge-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.challenge-badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.challenge-badge.completed {
  background: #d1fae5;
  color: #065f46;
}

.challenge-badge.won {
  background: #dbeafe;
  color: #1e40af;
}

.challenge-badge.lost {
  background: #fee2e2;
  color: #991b1b;
}

.dark .challenge-badge.pending {
  background: #78350f;
  color: #fef3c7;
}

.dark .challenge-badge.completed {
  background: #064e3b;
  color: #d1fae5;
}

/* Study Group Cards */
.group-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.group-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.group-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.group-members-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.9;
}

.group-invite-code {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: monospace;
  font-weight: bold;
  margin-top: 1rem;
  display: inline-block;
}

/* Privacy Toggle */
.privacy-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  margin: 0.5rem 0;
}

.dark .privacy-toggle {
  background: #111827;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 24px;
  background: #d1d5db;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: #8b5cf6;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.toggle-switch.active::after {
  transform: translateX(24px);
}

/* Load More Button */
.load-more-btn {
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  color: #6b7280;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.load-more-btn:hover {
  border-color: #8b5cf6;
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.05);
}

.dark .load-more-btn {
  border-color: #374151;
  color: #9ca3af;
}

.dark .load-more-btn:hover {
  border-color: #8b5cf6;
  color: #a78bfa;
}
