/* ============================================
   SELLER TOOLS HUB - OPTIMIZED CUSTOM STYLES
   Consolidated & cleaned CSS - No duplicates
   ============================================ */

/* Line clamp utilities (not in Tailwind by default) */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Prose styles for content */
.prose {
  line-height: 1.75;
}

.prose p {
  margin-bottom: 1rem;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose ul, .prose ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: #2563EB;
  text-decoration: underline;
}

.prose a:hover {
  color: #1d4ed8;
}

/* Tool logo placeholder */
.tool-logo-placeholder {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

/* Coupon code highlight */
.coupon-code {
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 10px,
    #f59e0b10 10px,
    #f59e0b10 20px
  );
  border: 2px dashed #f59e0b;
}

/* Rating stars colors */
.star-rating {
  color: #fbbf24;
}

.star-rating-empty {
  color: #e5e7eb;
}

/* Comparison table styles */
.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
}

.comparison-table tr:nth-child(even) {
  background-color: #f9fafb;
}

/* Deal badge animation */
@keyframes deal-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.deal-badge {
  animation: deal-pulse 2s ease-in-out infinite;
}

/* Alpine.js cloak */
[x-cloak] {
  display: none !important;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  header, footer, .no-print {
    display: none !important;
  }
  body {
    font-size: 12pt;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
