/* ============================================================
   Статичен Tailwind CSS (замества cdn.tailwindcss.com)
   ============================================================ */

/* Base */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
a { color: inherit; text-decoration: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }

/* Layout */
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-50 { z-index: 50; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-span-full { grid-column: 1 / -1; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Spacing */
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.pb-2 { padding-bottom: 0.5rem; }

/* Sizing */
.w-full { width: 100%; }
.w-10 { width: 2.5rem; }
.w-96 { width: 24rem; }
.h-1 { height: 0.25rem; }
.h-10 { height: 2.5rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.max-w-full { max-width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-h-96 { max-height: 24rem; }
.min-h-screen { min-height: 100vh; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.object-cover { object-fit: cover; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-left { text-align: left; }
.text-center { text-align: center; }

/* Colors - text */
.text-white { color: #fff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-purple-600 { color: #dc2626; }
.text-purple-700 { color: #b91c1c; }
.text-blue-600 { color: #2563eb; }
.text-blue-800 { color: #1e40af; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.text-green-800 { color: #166534; }
.text-red-500 { color: #ef4444; }
.text-red-700 { color: #b91c1c; }
.text-red-800 { color: #991b1b; }
.text-yellow-600 { color: #ca8a04; }
.text-yellow-800 { color: #854d0e; }

/* Colors - background */
.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-300 { background-color: #d1d5db; }
.bg-gray-900 { background-color: #111827; }
.bg-purple-100 { background-color: #fee2e2; }
.bg-purple-600 { background-color: #dc2626; }
.bg-purple-800 { background-color: #991b1b; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-600 { background-color: #2563eb; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-500 { background-color: #22c55e; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-500 { background-color: #ef4444; }
.bg-yellow-50 { background-color: #fefce8; }
.bg-yellow-100 { background-color: #fef9c3; }
.bg-yellow-500 { background-color: #eab308; }
.opacity-90 { opacity: 0.9; }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-l-4 { border-left-width: 4px; }
.border-white { border-color: #fff; }
.border-purple-600 { border-color: #dc2626; }
.border-blue-600 { border-color: #2563eb; }
.border-green-400 { border-color: #4ade80; }
.border-green-600 { border-color: #16a34a; }
.border-red-400 { border-color: #f87171; }
.border-red-500 { border-color: #ef4444; }
.border-yellow-300 { border-color: #fde047; }
.border-yellow-400 { border-color: #facc15; }
.border-yellow-600 { border-color: #ca8a04; }

/* Effects */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }

/* Transitions */
.transition { transition-property: color, background-color, border-color, opacity, box-shadow, transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-500 { transition-duration: 500ms; }

/* Hover */
.hover\:bg-white:hover { background-color: #fff; }
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:bg-gray-400:hover { background-color: #9ca3af; }
.hover\:bg-purple-600:hover { background-color: #dc2626; }
.hover\:bg-purple-700:hover { background-color: #b91c1c; }
.hover\:bg-blue-600:hover { background-color: #2563eb; }
.hover\:bg-green-600:hover { background-color: #16a34a; }
.hover\:bg-red-600:hover { background-color: #dc2626; }
.hover\:bg-yellow-600:hover { background-color: #ca8a04; }
.hover\:text-purple-600:hover { color: #dc2626; }
.hover\:text-purple-700:hover { color: #b91c1c; }
.hover\:text-gray-700:hover { color: #374151; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); }
.hover\:scale-110:hover { transform: scale(1.1); }

/* Focus */
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.4); }
.focus\:ring-purple-500:focus { box-shadow: 0 0 0 2px #ef4444; }

/* Responsive: md (≥768px) */
@media (min-width: 768px) {
    .md\:flex-row { flex-direction: row; }
    .md\:items-center { align-items: center; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-left { text-align: left; }
    .md\:justify-start { justify-content: flex-start; }
}

/* Responsive: lg (≥1024px) */
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Допълнителни utility */
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.underline { text-decoration: underline; }
.uppercase { text-transform: uppercase; }
.bg-indigo-500 { background-color: #ef4444; }
.hover\:bg-indigo-600:hover { background-color: #dc2626; }
.bg-orange-500 { background-color: #f97316; }
.hover\:bg-orange-600:hover { background-color: #ea580c; }
.border-b-2 { border-bottom-width: 2px; }
.border-t { border-top-width: 1px; }
.border-gray-400 { border-color: #9ca3af; }
.mt-12 { margin-top: 3rem; }
.mt-8 { margin-top: 2rem; }
.ml-2 { margin-left: 0.5rem; }
.gap-8 { gap: 2rem; }
.pt-2 { padding-top: 0.5rem; }
.leading-relaxed { line-height: 1.625; }

/* Slate / Teal */
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-teal-400 { color: #f87171; }
.text-teal-600 { color: #dc2626; }
.text-teal-700 { color: #b91c1c; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.hover\:text-teal-400:hover { color: #f87171; }
.hover\:text-slate-900:hover { color: #0f172a; }
.border-slate-700 { border-color: #334155; }
.border-slate-800 { border-color: #1e293b; }
.bg-teal-500 { background-color: #ef4444; }
.w-20 { width: 5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.leading-tight { line-height: 1.25; }
.text-9xl { font-size: 8rem; line-height: 1; }
.gap-10 { gap: 2.5rem; }
.bg-red-600 { background-color: #dc2626; }
.bg-red-700 { background-color: #b91c1c; }
.hover\:bg-red-700:hover { background-color: #b91c1c; }
.bg-blue-700 { background-color: #1d4ed8; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.text-slate-700 { color: #334155; }
.border-slate-300 { border-color: #cbd5e1; }
.hover\:bg-slate-100:hover { background-color: #f1f5f9; }
.bg-slate-600 { background-color: #475569; }
.hover\:bg-slate-700:hover { background-color: #334155; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.w-40 { width: 10rem; }
.text-red-600 { color: #dc2626; }
.hover\:text-red-600:hover { color: #dc2626; }
.h-16 { height: 4rem; }
.w-16 { width: 4rem; }

/* Допълнителни помощни класове */
.cursor-pointer { cursor: pointer; }
.text-right { text-align: right; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pt-3 { padding-top: 0.75rem; }

/* Допълнителни цветове за бутони (emerald/amber) */
.bg-emerald-600 { background-color: #059669; }
.hover\:bg-emerald-700:hover { background-color: #047857; }
.bg-amber-600 { background-color: #d97706; }
.hover\:bg-amber-700:hover { background-color: #b45309; }
.bg-orange-100 { background-color: #ffedd5; }
.text-orange-800 { color: #9a3412; }


