/* Donmedialogs - Luxury Modern Theme & Refined Full-Screen Design */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Donmedialogs Primary Brand Palette (#65a313) */
  --primary-lime: #65a313;
  --primary-lime-hover: #558b0f;
  --primary-lime-glow: #76bc19;
  --primary-lime-soft: rgba(101, 163, 19, 0.12);
  --primary-lime-dark: #4b7a0d;
  
  /* Luxury Dark Obsidian */
  --surface-dark: #090E0A;
  --surface-dark-card: #0F1610;
  --surface-dark-elevated: #162017;
  --surface-dark-border: #1E2E20;
  
  --text-dark: #080D08;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --bg-page: #F8FAFC;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: #0F172A;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

/* Courier New Specific Class requested by User */
.font-courier {
  font-family: 'Courier New', Courier, monospace !important;
  letter-spacing: -0.02em;
}

/* Minimalist global scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-lime-dark);
}

/* Hide scrollbar utility */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Refined Stroke Icons */
.lucide, [data-lucide] {
  stroke-width: 1.85px;
  vertical-align: middle;
}

/* Sidebar Nav Items: Clean, No Borders or Outlines */
.sidebar-nav-item {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-nav-item.active,
.sidebar-nav-item[data-active="true"] {
  background-color: rgba(101, 163, 19, 0.14) !important;
  color: #65a313 !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Sidebar Collapsed State */
#sidebar.collapsed {
  width: 5.25rem !important;
}
#sidebar.collapsed .sidebar-label,
#sidebar.collapsed .sidebar-section-title,
#sidebar.collapsed .sidebar-user-details {
  display: none !important;
}
#sidebar.collapsed .sidebar-nav-item {
  justify-content: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#sidebar.collapsed .sidebar-avatar-wrap {
  justify-content: center !important;
  margin: 0 auto;
}

/* Glow effects */
.lime-glow {
  box-shadow: 0 0 25px rgba(101, 163, 19, 0.45);
}
.lime-glow-sm {
  box-shadow: 0 0 12px rgba(101, 163, 19, 0.25);
}

/* Card Elevate Animation */
.card-hover {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08), 0 4px 8px -4px rgba(15, 23, 42, 0.04);
}

/* Floating WhatsApp Pulse */
@keyframes whatsapp-ring {
  0% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(101, 163, 19, 0.65);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 14px rgba(101, 163, 19, 0);
  }
  100% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(101, 163, 19, 0);
  }
}
.whatsapp-pulse {
  animation: whatsapp-ring 2.4s infinite;
}

/* ================= SOCIAL MEDIA FLOATING ANIMATIONS ================= */
@keyframes float-gentle-1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}

@keyframes float-gentle-2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-26px) rotate(-8deg); }
}

@keyframes float-gentle-3 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(10deg); }
}

@keyframes float-gentle-4 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(-6deg); }
}

.animate-float-1 {
  animation: float-gentle-1 5s ease-in-out infinite;
}
.animate-float-2 {
  animation: float-gentle-2 6.5s ease-in-out infinite;
}
.animate-float-3 {
  animation: float-gentle-3 5.8s ease-in-out infinite;
}
.animate-float-4 {
  animation: float-gentle-4 7s ease-in-out infinite;
}

/* Watermark Background Texture */
.watermark-overlay {
  pointer-events: none;
  background-image: radial-gradient(rgba(101, 163, 19, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Elegant Tag Badges */
.badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  font-size: 0.725rem;
  font-weight: 500;
  background-color: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
  transition: all 0.15s ease;
}
.badge-tag:hover {
  background-color: #E2E8F0;
  color: #1E293B;
}

/* Animations */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in {
  animation: fadeInSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Primary Button Styling - White Text as requested */
.btn-primary-lime {
  background-color: var(--primary-lime);
  color: #FFFFFF !important;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(101, 163, 19, 0.35);
}
.btn-primary-lime:hover {
  background-color: var(--primary-lime-hover);
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(101, 163, 19, 0.5);
  transform: translateY(-1px);
}
.btn-primary-lime:active {
  transform: scale(0.98);
}

/* ================= INFINITE CATEGORY MARQUEE SCROLL ================= */
@keyframes marquee-scroll-left {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.animate-marquee-left {
  display: flex;
  width: max-content;
  animation: marquee-scroll-left 25s linear infinite;
}

.animate-marquee-right {
  display: flex;
  width: max-content;
  animation: marquee-scroll-right 25s linear infinite;
}

.marquee-container:hover .animate-marquee-left,
.marquee-container:hover .animate-marquee-right,
.marquee-container:active .animate-marquee-left,
.marquee-container:active .animate-marquee-right {
  animation-play-state: paused;
}

/* Category Card Styling */
.category-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.15rem;
  padding: 0.65rem 1.1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

.category-card:hover {
  border-color: #65a313;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(101, 163, 19, 0.22), 0 2px 6px -2px rgba(15, 23, 42, 0.05);
}
