/* Additional app styles */

/* Line clamp utilities for blog posts */
.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;
}

/* Sticky sidebar */
.sticky {
  position: sticky;
}

/* Toast animation */
.toast-enter {
  transform: translateY(100%);
  opacity: 0;
}

.toast-enter-active {
  transform: translateY(0);
  opacity: 1;
  transition: all 0.3s ease;
}

/* Modal animations */
.modal-enter {
  transform: scale(0.95);
  opacity: 0;
}

.modal-enter-active {
  transform: scale(1);
  opacity: 1;
  transition: all 0.3s ease;
}

/* Feature card hover effects */
.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Custom scrollbar for blog sidebar */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Blog prose styles */
.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

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

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

.prose ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

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

.prose img {
  border-radius: 0.75rem;
  margin: 1.5rem 0;
}

.prose blockquote {
  border-left: 4px solid #3b82f6;
  padding-left: 1rem;
  font-style: italic;
  color: #6b7280;
  margin: 1.5rem 0;
}

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

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

/* Tab active states */
.tab-btn.active {
  border-bottom-color: #2563eb;
  color: #2563eb;
}

/* Widget type badges */
.widget-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.widget-badge.search {
  background-color: #dbeafe;
  color: #1e40af;
}

.widget-badge.categories {
  background-color: #dcfce7;
  color: #166534;
}

.widget-badge.tags {
  background-color: #f3e8ff;
  color: #7c3aed;
}

.widget-badge.featured_post {
  background-color: #fef3c7;
  color: #92400e;
}

.widget-badge.banner {
  background-color: #fee2e2;
  color: #991b1b;
}

.widget-badge.custom_script {
  background-color: #ffedd5;
  color: #9a3412;
}
