/* Estilos específicos para el Dashboard de Comandas */

.kanban-board {
    display: flex;
    gap: 1.5rem;
    /* Altura dinámica perfecta con flexbox */
    flex: 1;
    min-height: 0;
    overflow-x: auto;
}

.kanban-column {
    flex: 1;
    min-width: 360px; /* Más anchas como pidió el usuario */
    background: rgba(255, 255, 255, 0.45);
    border-radius: 20px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    box-shadow: inset 2px 2px 5px rgba(255,255,255,0.8), inset -2px -2px 5px rgba(0,0,0,0.03);
    border: 1px solid rgba(255,255,255,0.6);
    height: 100%;
}

.kanban-cards-container {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}
/* Custom Scrollbar para las columnas */
.kanban-cards-container::-webkit-scrollbar {
    width: 6px;
}
.kanban-cards-container::-webkit-scrollbar-track {
    background: transparent;
}
.kanban-cards-container::-webkit-scrollbar-thumb {
    background-color: rgba(43, 24, 18, 0.2);
    border-radius: 10px;
}

/* ... skipped unmodified parts ... */

/* Estilo de la Tarjeta (Ticket) - Tema Oscuro inspirado en la referencia */
.ticket-card {
    background: #251B17; /* Tono muy oscuro del café */
    color: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-top: 5px solid var(--color-espresso);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 0.5rem;
}

.ticket-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.ticket-table {
    font-weight: 700;
    font-size: 1.2rem;
}

.ticket-time {
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 12px;
}

.ticket-items {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ticket-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.item-qty {
    font-weight: 700;
    margin-right: 5px;
}

.ticket-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.ticket-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-action {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s, background-color 0.2s;
    font-family: inherit;
    font-size: 0.95rem;
}

.btn-action:active {
    transform: scale(0.96);
}

.btn-primary-action {
    background: #E74C3C; /* Rojo como en la imagen de referencia para 'Aceptar' */
    color: white;
}

.btn-primary-action:hover {
    background: #C0392B;
}

.btn-secondary-action {
    background: rgba(255,255,255,0.1);
    color: white;
    flex: 0.3; /* Botón secundario más pequeño */
}

.btn-secondary-action:hover {
    background: rgba(255,255,255,0.2);
}

/* Colores específicos de borde superior según el estado */
.border-nuevo { border-top-color: #E74C3C; }
.border-prep { border-top-color: #F39C12; }
.border-listo { border-top-color: #2ECC71; }
