/* Estilos para módulos ágiles: Corte, Apertura, Armado, Asignación, POS, CallCenter */

/* Resaltar montos y totales */
.agile-amount,
[id^="total"],
.denom-subtotal,
.total-fondo,
.pos-cart-totals .total-row.main span,
.total-card h3,
.kanban-column-count,
.armado-clock-time {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
}

/* Subtítulos y etiquetas para denominaciones */
.denom-label,
.denom-input,
.denom-subtotal {
    font-size: 1.05rem !important;
}

/* Destacar el total principal */
#totalGeneral,
#totalEfectivoFisico,
#totalEfectivo,
#totalPOS,
#totalRecoger,
#totalLiquidaciones,
#totalFondo,
#totalFondo, .total-fondo {
    background: linear-gradient(90deg, #111827 0%, #667eea 100%);
    color: #fff !important;
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-block;
}

/* Alerts más visibles */
.alert {
    font-size: 1.05rem !important;
    padding: 0.9rem 1rem !important;
    border-width: 1px !important;
}
.alert i {
    font-size: 1.2rem;
    vertical-align: middle;
    margin-right: 8px;
}

/* Alertas tipo aviso grande */
.alert-large {
    font-size: 1.2rem;
    padding: 1rem 1.25rem;
}

/* Tarjetas de totales más grandes y limpias */
.total-card {
    padding: 18px !important;
}
.total-card h6 { font-size: 0.95rem !important; opacity: 0.9; }
.total-card h3 { font-size: 2rem !important; margin-top: 6px; }

/* Botones principales más claros y con íconos */
.btn-pos-primary, .btn-success, .btn-warning, .btn-danger {
    font-size: 1rem !important;
    padding: 10px 14px !important;
}

/* Kanban / Armado: cartas más legibles */
.kanban-cards .card, .pedido-card {
    font-size: 0.98rem;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Mejor contraste para estados */
.status-ready { background: #e6ffed; color: #155724; }
.status-pending { background: #fffbe6; color: #856404; }
.status-critical { background: #fff1f2; color: #8b0f0f; }

/* Colores por tipo de total */
#totalPOS, .total-card.pos { background: linear-gradient(90deg, #10b981 0%, #059669 100%); color: #fff; }
#totalRecoger, .total-card.recoger { background: linear-gradient(90deg, #0ea5e9 0%, #0369a1 100%); color: #fff; }
#totalLiquidaciones, .total-card.liquidaciones { background: linear-gradient(90deg, #f59e0b 0%, #b45309 100%); color: #111827; }

/* Botón de acción principal distintivo */
.btn-pos-primary {
    background: linear-gradient(90deg,#4f46e5,#06b6d4) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 6px 18px rgba(79,70,229,0.18);
}

/* Aumentar visibilidad de alerts por tipo */
.alert-info { background: linear-gradient(90deg,#e0f2fe,#bae6fd); border-color: #7dd3fc; color: #075985; }
.alert-success { background: linear-gradient(90deg,#ecfccb,#bbf7d0); border-color: #86efac; color: #14532d; }
.alert-danger { background: linear-gradient(90deg,#ffe4e6,#fecaca); border-color: #fda4af; color: #8b0f0f; }

/* Tablas: resaltar montos en filas */
.table .agile-amount { font-weight: 800; font-size: 1.05rem; }
.table-hover tbody tr:hover { background: rgba(99,102,241,0.04); }

/* Armado: acciones grandes */
.action-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; border-radius: 10px; background: #ffffff; border: 1px solid #e6e9ef; }
.action-btn .action-btn-icon { font-size: 2.2rem; }
.action-btn .action-btn-text { margin-top: 8px; font-weight: 700; font-size: 1.03rem; }

/* Emojis coloreados dentro de botones */
.msg-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.1rem;
    margin-right: 8px;
}
.emoji-green { background: #ecfdf5; color: #065f46; }
.emoji-blue { background: #eff6ff; color: #1e3a8a; }
.emoji-yellow { background: #fff7ed; color: #92400e; }
.emoji-gray { background: #f8fafc; color: #374151; }

/* Header y títulos más grandes en Armado */
.armado-header .armado-title h1 { font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.armado-header .armado-title i { font-size: 1.8rem; }

/* Kanban / tarjetas: texto clave más grande */
.kanban-cards .card, .pedido-card {
    font-size: 1.05rem;
    border-radius: 8px;
    padding: 12px;
}
.pedido-card .pedido-title { font-size: 1.05rem; font-weight: 700; }
.pedido-card .pedido-meta { font-size: 0.98rem; color: #374151; }
.pedido-card .pedido-amount { font-size: 1.15rem; font-weight: 800; color: #0f172a; }

/* Aumentar legibilidad de líneas pequeñas en tarjetas */
.kanban-cards .small { font-size: 0.95rem; }


/* Kanban headers */
.kanban-column-header { background: linear-gradient(90deg,#f8fafc,#eef2ff); padding: 10px; border-radius: 6px; margin-bottom: 8px; }

/* Modal headers más prominentes */
.modal-header .modal-title { font-size: 1.15rem; font-weight: 700; }


/* Accesibilidad: inputs y labels más grandes */
input[type="number"], input[type="text"], textarea, select {
    font-size: 1rem !important;
}

/* Ligeros ajustes para pantallas operativas */
@media (min-width: 992px) {
    .agile-amount { font-size: 1.8rem !important; }
}

/* Pequeño helper para iconos/emojis en mensajes */
.msg-emoji { font-size: 1.4rem; margin-right: 8px; }
