/* LocalLead CRM — Estilos complementarios a Tailwind */

/* Scrollbar personalizado */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d4d4d8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #a1a1aa; }

/* Prose del chat */
.chat-prose h1, .chat-prose h2, .chat-prose h3 { font-weight: 600; margin: 0.5rem 0 0.25rem; }
.chat-prose ul { list-style: disc; padding-left: 1.25rem; margin: 0.25rem 0; }
.chat-prose ol { list-style: decimal; padding-left: 1.25rem; margin: 0.25rem 0; }
.chat-prose p { margin: 0.25rem 0; line-height: 1.5; }
.chat-prose strong { font-weight: 600; }
.chat-prose code { background: #f4f4f5; padding: 0.1em 0.3em; border-radius: 3px; font-family: 'JetBrains Mono', monospace; font-size: 0.85em; }

/* Transiciones de pantalla */
.screen-fade { animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Badge de nivel */
.badge-cold     { background: #e0f2fe; color: #0369a1; }
.badge-warm     { background: #fef9c3; color: #854d0e; }
.badge-hot      { background: #ffedd5; color: #9a3412; }
.badge-customer { background: #dcfce7; color: #166534; }

/* Cards hover */
.prospect-card { transition: box-shadow 0.15s ease, transform 0.15s ease; }
.prospect-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

/* Skeleton loader */
.skeleton { background: linear-gradient(90deg, #f4f4f5 25%, #e4e4e7 50%, #f4f4f5 75%); background-size: 200% 100%; animation: skeleton-loading 1.5s infinite; border-radius: 8px; }
@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Spinner */
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }
.spinner-dark { border-color: rgba(63,63,70,0.2); border-top-color: #3f3f46; }
@keyframes spin { to { transform: rotate(360deg); } }
