/* --- KuentasProm Estilos Globales --- */
body { font-family: 'Outfit', sans-serif; }

/* Animaciones */
.slide-in { animation: slideIn 0.3s ease-out; }
@keyframes slideIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.fade-in { animation: fadeIn 0.5s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Acordeón (Cuentas Madre) */
.accordion-content { transition: all 0.3s ease; max-height: 0; opacity: 0; overflow: hidden; }
.accordion-open { max-height: 2000px; opacity: 1; }

/* Scrollbars Personalizados */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 20px; }

/* Loader de Carga */
.loader { border: 3px solid rgba(255,255,255,0.1); border-left-color: white; border-radius: 50%; width: 20px; height: 20px; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Notificaciones Flotantes (Toast) */
#toast { visibility: hidden; min-width: 250px; background-color: #333; color: #fff; text-align: center; border-radius: 8px; padding: 16px; position: fixed; z-index: 999; left: 50%; bottom: 30px; transform: translateX(-50%); font-size: 14px; }
#toast.show { visibility: visible; animation: fadein 0.5s, fadeout 0.5s 2.5s; }
@keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} }
@keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }

/* NUEVO: Estilos para Filtros y Edición */
.filter-btn.active { background-color: #2563eb; color: white; border-color: #2563eb; }
.dark .filter-btn.active { background-color: #3b82f6; color: white; border-color: #3b82f6; }
.cursor-pointer-card { cursor: pointer; transition: transform 0.2s; }
.cursor-pointer-card:active { transform: scale(0.98); }
.brand-editable:hover { text-decoration: underline; opacity: 0.8; }
/* Estilo para items seleccionados en Combos */
.combo-item-selected { border-color: #3b82f6 !important; background-color: rgba(59, 130, 246, 0.1) !important; }