/* AvisaYa - Custom Styles */
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
[x-cloak] { display: none !important; }

/* Spinner */
.spinner { width: 36px; height: 36px; border: 3px solid #e5e7eb; border-top-color: #4f46e5; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sidebar active */
.sidebar-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0.75rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 500; color: #6b7280; transition: all 0.15s; }
.sidebar-link:hover { background: #f3f4f6; color: #111827; }
.sidebar-link.active { background: #eef2ff; color: #4f46e5; }

/* Toast */
.toast { position: fixed; top: 1.5rem; right: 1.5rem; z-index: 100; animation: slideIn 0.3s ease-out; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Smooth transitions */
.fade-in { animation: fadeIn 0.3s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Channel badges */
.badge-sms { background: #dbeafe; color: #1d4ed8; }
.badge-email { background: #ede9fe; color: #6d28d9; }
.badge-call { background: #d1fae5; color: #047857; }

/* Status badges */
.badge-sent, .badge-delivered { background: #d1fae5; color: #047857; }
.badge-failed { background: #fee2e2; color: #b91c1c; }
.badge-pending, .badge-sending { background: #fef3c7; color: #92400e; }
.badge-draft { background: #f3f4f6; color: #4b5563; }
.badge-completed { background: #d1fae5; color: #047857; }
